Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05014/0.05014, allocations: 8.039 MB / 23.31 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007083/0.0007083, allocations: 90.55 kB / 25.88 MB, free: 3.359 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009364/0.0009367, allocations: 195 kB / 28.57 MB, free: 0.7227 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 223.3 MB / 254.4 MB, free: 3.859 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01135/0.01135, allocations: 3.116 MB / 310.4 MB, free: 0.5352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003999/0.0004002, allocations: 15.08 kB / 375.5 MB, free: 53.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08311/0.08353, allocations: 52.98 MB / 428.4 MB, free: 19.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.006421/0.08999, allocations: 8.547 MB / 437 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003888/0.09392, allocations: 2.577 MB / 439.6 MB, free: 8.742 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007371/0.09468, allocations: 43.81 kB / 439.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007886/0.09548, allocations: 385.6 kB / 440 MB, free: 8.32 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001181/0.09667, allocations: 0.5788 MB / 440.5 MB, free: 7.738 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.09742, allocations: 450.9 kB / 441 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001779/0.09921, allocations: 2.765 MB / 443.8 MB, free: 4.527 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.1006, allocations: 1.736 MB / 445.5 MB, free: 2.727 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008274/0.1015, allocations: 0.8168 MB / 446.3 MB, free: 1.906 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009237/0.1024, allocations: 1.112 MB / 447.4 MB, free: 0.7891 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001713/0.1026, allocations: 120 kB / 447.5 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004451/0.103, allocations: 227.8 kB / 447.8 MB, free: 460 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.1035, allocations: 0.5878 MB / 448.3 MB, free: 15.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009763/0.1045, allocations: 1.086 MB / 449.4 MB, free: 14.76 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.1073, allocations: 3.476 MB / 452.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1073, allocations: 0 / 452.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1073, allocations: 0 / 452.9 MB, free: 11.27 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.115e-05/0.1074, allocations: 0 / 452.9 MB, free: 11.27 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.004623/0.112, allocations: 2.327 MB / 455.2 MB, free: 8.879 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.112, allocations: 12.03 kB / 455.2 MB, free: 8.867 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.1128, allocations: 270 kB / 455.5 MB, free: 8.602 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.1148, allocations: 1.29 MB / 456.8 MB, free: 7.266 MB / 318.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002612/0.115, allocations: 227.4 kB / 457 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000307/0.1153, allocations: 215.8 kB / 457.2 MB, free: 6.816 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004476/0.1198, allocations: 2.738 MB / 460 MB, free: 3.984 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.069e-05/0.1199, allocations: 4 kB / 460 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001812/0.1201, allocations: 87.97 kB / 460.1 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001128/0.1202, allocations: 96.03 kB / 460.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003932/0.1241, allocations: 2.272 MB / 462.4 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01227/0.1364, allocations: 8.079 MB / 470.5 MB, free: 9.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/0.1393, allocations: 1.666 MB / 472.2 MB, free: 7.453 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001763/0.1411, allocations: 0.9868 MB / 473.2 MB, free: 6.469 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.1413, allocations: 122.1 kB / 473.3 MB, free: 6.332 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/0.1427, allocations: 0.7967 MB / 474.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.917e-06/0.1427, allocations: 4 kB / 474.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01452/0.1572, allocations: 6.821 MB / 480.9 MB, free: 14.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001327/0.1574, allocations: 248.3 kB / 481.1 MB, free: 14.23 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001733/0.1591, allocations: 1.208 MB / 482.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.921e-05/0.1592, allocations: 49.7 kB / 482.4 MB, free: 12.96 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007444/0.16, allocations: 0.9271 MB / 483.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003381/0.1603, allocations: 410.1 kB / 483.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.1605, allocations: 121.6 kB / 483.8 MB, free: 11.49 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.1606, allocations: 361.9 kB / 484.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.1619, allocations: 0.73 MB / 484.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.1634, allocations: 1.119 MB / 486 MB, free: 9.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008868/0.1723, allocations: 3.665 MB / 489.7 MB, free: 5.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/0.1724, allocations: 4 kB / 489.7 MB, free: 5.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004494/0.1769, allocations: 2.568 MB / 492.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003258/0.1772, allocations: 418.2 kB / 492.7 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.1773, allocations: 16 kB / 492.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001233/0.1785, allocations: 0.5037 MB / 493.2 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001126/0.1796, allocations: 303.5 kB / 493.5 MB, free: 1.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007722/0.1874, allocations: 8.086 MB / 0.4898 GB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.1889, allocations: 155.9 kB / 0.49 GB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002091/0.1891, allocations: 59.98 kB / 0.49 GB, free: 8.465 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.1891, allocations: 4 kB / 0.49 GB, free: 8.461 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004271/0.1934, allocations: 2.38 MB / 0.4924 GB, free: 6.039 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.624e-05/0.1935, allocations: 8 kB / 0.4924 GB, free: 6.031 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.1946, allocations: 0.5039 MB / 0.4929 GB, free: 5.516 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001063/0.1957, allocations: 303.4 kB / 0.4932 GB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007713/0.2034, allocations: 8.08 MB / 0.5011 GB, free: 12.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/0.2049, allocations: 131.9 kB / 0.5012 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.2052, allocations: 59.98 kB / 0.5012 GB, free: 12.41 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001473/0.2067, allocations: 0.7189 MB / 0.5019 GB, free: 11.69 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003841/0.207, allocations: 142.3 kB / 0.5021 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.2112, allocations: 2.238 MB / 0.5043 GB, free: 9.258 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.418e-05/0.2113, allocations: 15.94 kB / 0.5043 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.2113, allocations: 7.984 kB / 0.5043 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/0.2113, allocations: 7.969 kB / 0.5043 GB, free: 9.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008656/0.22, allocations: 4.678 MB / 0.5089 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.775e-06/0.22, allocations: 0 / 0.5089 GB, free: 4.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008706/0.2209, allocations: 207.7 kB / 0.5091 GB, free: 4.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001367/0.2223, allocations: 0.5258 MB / 0.5096 GB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.2224, allocations: 39.97 kB / 0.5096 GB, free: 3.641 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1949/0.4173, allocations: 7.907 MB / 0.5173 GB, free: 80.5 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4174, allocations: 4.25 kB / 0.5173 GB, free: 80.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005346/0.4227, allocations: 3.311 MB / 0.5206 GB, free: 79.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006591/0.4234, allocations: 365.6 kB / 0.5209 GB, free: 79.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/0.4236, allocations: 38.03 kB / 0.521 GB, free: 79.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009721/0.4246, allocations: 123.1 kB / 0.5211 GB, free: 79.53 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4249, allocations: 110 kB / 0.5212 GB, free: 79.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.393e-05/0.425, allocations: 39.02 kB / 0.5212 GB, free: 79.5 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001126/0.4261, allocations: 0.8015 MB / 0.522 GB, free: 79.17 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4261, allocations: 0 / 0.522 GB, free: 79.17 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002294/0.4284, allocations: 0.7482 MB / 0.5227 GB, free: 79.1 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003195/0.4288, allocations: 197.7 kB / 0.5229 GB, free: 78.99 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008703/0.4375, allocations: 6.759 MB / 0.5295 GB, free: 74.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/0.4375, allocations: 6.156 kB / 0.5295 GB, free: 74.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003513/0.441, allocations: 2.87 MB / 0.5323 GB, free: 72.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.4433, allocations: 362.6 kB / 0.5327 GB, free: 72.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.4489, allocations: 5.285 MB / 0.5378 GB, free: 69.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009457/0.4499, allocations: 1.752 MB / 0.5395 GB, free: 68.14 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001075/0.451, allocations: 412.5 kB / 0.5399 GB, free: 67.86 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002489/0.4512, allocations: 95.28 kB / 0.54 GB, free: 67.77 MB / 382.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4512, allocations: 0 / 0.54 GB, free: 67.77 MB / 382.1 MB Notification: Performance of Templates: time 0.03687/0.4881, allocations: 29.65 MB / 0.569 GB, free: 38.6 MB / 382.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.makefile (rm -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.sim & ./EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)