Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.06999/0.06999, allocations: 8.03 MB / 24.33 MB, free: 408 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.001975/0.001975, allocations: 103.8 kB / 26.91 MB, free: 3.129 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.002202/0.002202, allocations: 197.6 kB / 29.61 MB, free: 456 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 222.9 MB / 255.1 MB, free: 4.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01911/0.01911, allocations: 3.125 MB / 310.1 MB, free: 2.281 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002717/0.002717, allocations: 99.84 kB / 427.6 MB, free: 17.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1177, allocations: 51.97 MB / 479.6 MB, free: 13.62 MB / 350.1 MB [/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. [/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: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/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) 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: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: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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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: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. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01232/0.13, allocations: 9.084 MB / 488.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006263/0.1362, allocations: 2.567 MB / 491.2 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001792/0.138, allocations: 43.81 kB / 491.2 MB, free: 1.875 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001992/0.14, allocations: 480.6 kB / 491.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003346/0.1434, allocations: 0.6872 MB / 492.4 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.1448, allocations: 0.4905 MB / 492.9 MB, free: 228 kB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.004328/0.1491, allocations: 2.471 MB / 495.4 MB, free: 13.74 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002398/0.1515, allocations: 1.471 MB / 496.8 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002106/0.1536, allocations: 1.102 MB / 497.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.1558, allocations: 1.327 MB / 499.3 MB, free: 9.762 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005423/0.1563, allocations: 300 kB / 499.6 MB, free: 9.469 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008/0.1571, allocations: 383.8 kB / 499.9 MB, free: 9.094 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009578/0.1581, allocations: 0.7908 MB / 0.489 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00145/0.1595, allocations: 1.283 MB / 0.4902 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004634/0.1641, allocations: 3.741 MB / 0.4939 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1642, allocations: 0 / 0.4939 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1642, allocations: 0 / 0.4939 GB, free: 3.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.505e-05/0.1642, allocations: 0 / 0.4939 GB, free: 3.258 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.005744/0.17, allocations: 2.763 MB / 0.4966 GB, free: 436 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.17, allocations: 12.03 kB / 0.4966 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007269/0.1707, allocations: 279.4 kB / 0.4969 GB, free: 144 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/0.1732, allocations: 1.322 MB / 0.4982 GB, free: 14.77 MB / 382.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.0003059/0.1735, allocations: 219.4 kB / 0.4984 GB, free: 14.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.1738, allocations: 215.9 kB / 0.4986 GB, free: 14.33 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004693/0.1785, allocations: 2.691 MB / 0.5012 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.823e-05/0.1786, allocations: 11.89 kB / 0.5012 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001993/0.1788, allocations: 80 kB / 0.5013 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001147/0.1789, allocations: 99.97 kB / 0.5014 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004148/0.183, allocations: 2.206 MB / 0.5035 GB, free: 9.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01332/0.1964, allocations: 7.893 MB / 0.5113 GB, free: 1.047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2439/0.4403, allocations: 1.504 MB / 0.5127 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001954/0.4422, allocations: 0.875 MB / 0.5136 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002152/0.4425, allocations: 129.1 kB / 0.5137 GB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.4438, allocations: 0.769 MB / 0.5145 GB, free: 39.03 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.535e-06/0.4438, allocations: 0 / 0.5145 GB, free: 39.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01412/0.4579, allocations: 6.646 MB / 0.5209 GB, free: 36.78 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.987e-05/0.458, allocations: 249.3 kB / 0.5212 GB, free: 36.5 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.4598, allocations: 1.169 MB / 0.5223 GB, free: 36.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.46, allocations: 47.14 kB / 0.5224 GB, free: 35.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000673/0.4606, allocations: 0.9369 MB / 0.5233 GB, free: 35.38 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/0.4609, allocations: 429.2 kB / 0.5237 GB, free: 35.1 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003989/0.4613, allocations: 249.3 kB / 0.5239 GB, free: 34.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.473e-05/0.4614, allocations: 360.8 kB / 0.5243 GB, free: 34.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001229/0.4626, allocations: 0.707 MB / 0.525 GB, free: 34.4 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00135/0.464, allocations: 1.09 MB / 0.526 GB, free: 33.7 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008316/0.4723, allocations: 3.559 MB / 0.5295 GB, free: 32.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/0.4723, allocations: 2.344 kB / 0.5295 GB, free: 32.16 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004201/0.4765, allocations: 2.511 MB / 0.532 GB, free: 31.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.4766, allocations: 39.14 kB / 0.532 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4766, allocations: 10.09 kB / 0.532 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.4777, allocations: 0.4953 MB / 0.5325 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/0.4788, allocations: 288.1 kB / 0.5328 GB, free: 30.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/0.4848, allocations: 8.816 MB / 0.5414 GB, free: 23.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/0.4863, allocations: 123.3 kB / 0.5415 GB, free: 23.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/0.4864, allocations: 64.39 kB / 0.5416 GB, free: 23.34 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002062/0.4884, allocations: 1.229 MB / 0.5428 GB, free: 22.63 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001139/0.4896, allocations: 1.067 MB / 0.5438 GB, free: 21.8 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007534/0.4971, allocations: 3.482 MB / 0.5472 GB, free: 18.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.388e-06/0.4971, allocations: 4 kB / 0.5472 GB, free: 18.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003764/0.5009, allocations: 2.458 MB / 0.5496 GB, free: 16.03 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/0.5009, allocations: 41.75 kB / 0.5496 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/0.5009, allocations: 12 kB / 0.5496 GB, free: 15.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009681/0.5019, allocations: 0.4998 MB / 0.5501 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009851/0.5029, allocations: 283.5 kB / 0.5504 GB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/0.5087, allocations: 8.799 MB / 0.559 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.5102, allocations: 139.9 kB / 0.5591 GB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.804e-05/0.5103, allocations: 59.94 kB / 0.5592 GB, free: 5.66 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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (147): * Single equations (assignments): 140 * 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.0003917/0.5107, allocations: 298.9 kB / 0.5595 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.511, allocations: 143.1 kB / 0.5596 GB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.5144, allocations: 2.184 MB / 0.5617 GB, free: 3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.837e-06/0.5144, allocations: 18.8 kB / 0.5618 GB, free: 2.988 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.5144, allocations: 4 kB / 0.5618 GB, free: 2.984 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.045e-05/0.5144, allocations: 7.969 kB / 0.5618 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007184/0.5216, allocations: 4.588 MB / 0.5663 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.313e-06/0.5216, allocations: 4 kB / 0.5663 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000929/0.5225, allocations: 195.7 kB / 0.5664 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.524, allocations: 0.5148 MB / 0.5669 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000124/0.5241, allocations: 47.97 kB / 0.567 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/0.5335, allocations: 8.606 MB / 0.5754 GB, free: 4.363 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.936e-06/0.5335, allocations: 11.94 kB / 0.5754 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006083/0.5396, allocations: 3.217 MB / 0.5785 GB, free: 1.043 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009512/0.5405, allocations: 364.1 kB / 0.5789 GB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002083/0.5407, allocations: 35.98 kB / 0.5789 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.5417, allocations: 103.9 kB / 0.579 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/0.542, allocations: 108.7 kB / 0.5791 GB, free: 436 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.652e-05/0.5421, allocations: 39.98 kB / 0.5792 GB, free: 396 kB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001235/0.5434, allocations: 0.8093 MB / 0.58 GB, free: 15.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5434, allocations: 0 / 0.58 GB, free: 15.57 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002638/0.546, allocations: 0.746 MB / 0.5807 GB, free: 14.83 MB / 414.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,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (98): * Single equations (assignments): 90 * 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.0003844/0.5464, allocations: 180.4 kB / 0.5809 GB, free: 14.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01137/0.5578, allocations: 6.521 MB / 0.5872 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.5578, allocations: 0 / 0.5872 GB, free: 7.891 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004778/0.5625, allocations: 2.786 MB / 0.59 GB, free: 4.996 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0022/0.5647, allocations: 384.2 kB / 0.5903 GB, free: 4.625 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00789/0.5726, allocations: 4.244 MB / 0.5945 GB, free: 312 kB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001667/0.5743, allocations: 1.734 MB / 0.5962 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00134/0.5756, allocations: 419.6 kB / 0.5966 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003065/0.5759, allocations: 99.42 kB / 0.5967 GB, free: 14.03 MB / 430.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5759, allocations: 0 / 0.5967 GB, free: 14.03 MB / 430.1 MB Notification: Performance of Templates: time 0.06181/0.6378, allocations: 31.87 MB / 0.6278 GB, free: 14.48 MB / 462.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)