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-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.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-main/package.mo): time 0.06206/0.06206, allocations: 8.031 MB / 23.66 MB, free: 4.684 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000941/0.0009411, allocations: 109 kB / 26.26 MB, free: 2.992 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.001095/0.001095, allocations: 195.1 kB / 28.95 MB, free: 320 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.244/1.244, allocations: 222.9 MB / 254.4 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02457/0.02457, allocations: 3.13 MB / 309.4 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 95.86 kB / 426.9 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07386/0.07553, allocations: 51.97 MB / 478.9 MB, free: 13.54 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.009503/0.08506, allocations: 9.063 MB / 487.9 MB, free: 4.434 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004301/0.08938, allocations: 2.556 MB / 490.5 MB, free: 1.871 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009797/0.09038, allocations: 47.81 kB / 490.5 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.09155, allocations: 476.7 kB / 491 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.09341, allocations: 0.6833 MB / 491.7 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.09445, allocations: 490.4 kB / 492.2 MB, free: 196 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.00245/0.09691, allocations: 2.493 MB / 494.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002017/0.09895, allocations: 2.049 MB / 496.7 MB, free: 11.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.1002, allocations: 1.102 MB / 497.8 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001431/0.1016, allocations: 1.315 MB / 499.1 MB, free: 9.145 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003613/0.102, allocations: 304 kB / 499.4 MB, free: 8.848 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005909/0.1026, allocations: 387.8 kB / 499.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006582/0.1033, allocations: 0.7831 MB / 0.4889 GB, free: 7.684 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00122/0.1045, allocations: 1.283 MB / 0.4901 GB, free: 6.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003011/0.1075, allocations: 3.723 MB / 0.4937 GB, free: 2.66 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1075, allocations: 0 / 0.4937 GB, free: 2.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1076, allocations: 0 / 0.4937 GB, free: 2.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.989e-05/0.1076, allocations: 0 / 0.4937 GB, free: 2.66 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.004917/0.1125, allocations: 2.701 MB / 0.4964 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.1126, allocations: 8.031 kB / 0.4964 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006418/0.1132, allocations: 266 kB / 0.4966 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/0.1152, allocations: 1.329 MB / 0.4979 GB, free: 14.25 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.0002231/0.1154, allocations: 223.4 kB / 0.4981 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003019/0.1157, allocations: 211.9 kB / 0.4984 GB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004247/0.12, allocations: 2.687 MB / 0.501 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.3e-05/0.12, allocations: 8 kB / 0.501 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000196/0.1202, allocations: 80 kB / 0.5011 GB, free: 10.94 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.376e-05/0.1203, allocations: 104 kB / 0.5012 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003724/0.1241, allocations: 2.202 MB / 0.5033 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01105/0.1351, allocations: 7.863 MB / 0.511 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1676/0.3027, allocations: 1.582 MB / 0.5125 GB, free: 39.48 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001811/0.3046, allocations: 0.9324 MB / 0.5134 GB, free: 39.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002054/0.3048, allocations: 132.3 kB / 0.5136 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.306, allocations: 0.7683 MB / 0.5143 GB, free: 39.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.906e-06/0.306, allocations: 0 / 0.5143 GB, free: 39.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01337/0.3194, allocations: 6.608 MB / 0.5208 GB, free: 36.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.3195, allocations: 246.6 kB / 0.521 GB, free: 36.51 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.00167/0.3212, allocations: 1.169 MB / 0.5221 GB, free: 36.03 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001032/0.3213, allocations: 47.3 kB / 0.5222 GB, free: 35.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005526/0.3219, allocations: 0.923 MB / 0.5231 GB, free: 35.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002482/0.3221, allocations: 401.8 kB / 0.5235 GB, free: 34.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003692/0.3225, allocations: 250.7 kB / 0.5237 GB, free: 34.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.462e-05/0.3226, allocations: 364.8 kB / 0.5241 GB, free: 34.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.3237, allocations: 0.7063 MB / 0.5248 GB, free: 34.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.3251, allocations: 1.094 MB / 0.5258 GB, free: 33.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008013/0.3331, allocations: 3.548 MB / 0.5293 GB, free: 32.03 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.468e-06/0.3331, allocations: 3.781 kB / 0.5293 GB, free: 32.03 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00389/0.337, allocations: 2.519 MB / 0.5318 GB, free: 30.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/0.3371, allocations: 37.23 kB / 0.5318 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.3371, allocations: 7.812 kB / 0.5318 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00099/0.3381, allocations: 0.5032 MB / 0.5323 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.339, allocations: 292.8 kB / 0.5326 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005691/0.3448, allocations: 8.798 MB / 0.5412 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/0.3461, allocations: 132.6 kB / 0.5413 GB, free: 23.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001396/0.3463, allocations: 53.72 kB / 0.5413 GB, free: 23.11 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.001777/0.348, allocations: 1.224 MB / 0.5425 GB, free: 22.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001099/0.3491, allocations: 1.074 MB / 0.5436 GB, free: 21.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007191/0.3564, allocations: 3.484 MB / 0.547 GB, free: 17.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.513e-06/0.3564, allocations: 4 kB / 0.547 GB, free: 17.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.00344/0.3598, allocations: 2.469 MB / 0.5494 GB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.3599, allocations: 37.7 kB / 0.5494 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.3599, allocations: 15.66 kB / 0.5494 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009504/0.3608, allocations: 0.5074 MB / 0.5499 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009156/0.3618, allocations: 283.1 kB / 0.5502 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005517/0.3673, allocations: 8.787 MB / 0.5588 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.3686, allocations: 139.9 kB / 0.5589 GB, free: 5.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.3687, allocations: 63.92 kB / 0.559 GB, free: 5.012 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.000367/0.3691, allocations: 288.8 kB / 0.5593 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002656/0.3694, allocations: 138.3 kB / 0.5594 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003282/0.3727, allocations: 2.199 MB / 0.5615 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.3727, allocations: 8 kB / 0.5616 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/0.3727, allocations: 8 kB / 0.5616 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3727, allocations: 3.984 kB / 0.5616 GB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00668/0.3794, allocations: 4.586 MB / 0.566 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.986e-06/0.3795, allocations: 4 kB / 0.566 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008336/0.3803, allocations: 203.3 kB / 0.5662 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00126/0.3816, allocations: 0.5178 MB / 0.5667 GB, free: 12.91 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.713e-05/0.3817, allocations: 35.98 kB / 0.5668 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007303/0.389, allocations: 8.611 MB / 0.5752 GB, free: 3.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.389, allocations: 4 kB / 0.5752 GB, free: 3.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/0.3942, allocations: 3.227 MB / 0.5783 GB, free: 416 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006832/0.3949, allocations: 355.4 kB / 0.5787 GB, free: 40 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002937/0.3952, allocations: 31.98 kB / 0.5787 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001048/0.3962, allocations: 103.9 kB / 0.5788 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002653/0.3965, allocations: 115.4 kB / 0.5789 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.131e-05/0.3966, allocations: 39.98 kB / 0.579 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001135/0.3977, allocations: 0.8018 MB / 0.5797 GB, free: 14.95 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3978, allocations: 0 / 0.5797 GB, free: 14.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002461/0.4002, allocations: 0.7383 MB / 0.5805 GB, free: 14.21 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.0003399/0.4006, allocations: 189.5 kB / 0.5806 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009607/0.4102, allocations: 6.684 MB / 0.5872 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.4102, allocations: 0 / 0.5872 GB, free: 7.102 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004096/0.4143, allocations: 2.847 MB / 0.59 GB, free: 4.152 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.4162, allocations: 379.9 kB / 0.5903 GB, free: 3.789 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006356/0.4226, allocations: 4.171 MB / 0.5944 GB, free: 15.56 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.424, allocations: 1.741 MB / 0.5961 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00117/0.4252, allocations: 415.6 kB / 0.5965 GB, free: 13.38 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/0.4255, allocations: 99.42 kB / 0.5966 GB, free: 13.29 MB / 430.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4255, allocations: 0 / 0.5966 GB, free: 13.29 MB / 430.1 MB Notification: Performance of Templates: time 0.0462/0.4717, allocations: 31.67 MB / 0.6275 GB, free: 13.93 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 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)