Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05862/0.05862, allocations: 8.032 MB / 23.67 MB, free: 196 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.00114/0.00114, allocations: 108.6 kB / 26.25 MB, free: 3.164 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.001452/0.001452, allocations: 194.5 kB / 28.95 MB, free: 496 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.435/1.435, allocations: 222.9 MB / 254.4 MB, free: 4.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01266/0.01266, allocations: 3.124 MB / 309.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00165/0.00165, allocations: 87.84 kB / 426.9 MB, free: 17.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1119, allocations: 51.97 MB / 478.9 MB, free: 13.52 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.01171/0.1236, allocations: 9.065 MB / 487.9 MB, free: 4.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006025/0.1297, allocations: 2.563 MB / 490.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001614/0.1314, allocations: 47.81 kB / 490.5 MB, free: 1.797 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.1328, allocations: 472.7 kB / 491 MB, free: 1.332 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002239/0.1351, allocations: 0.6755 MB / 491.7 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.1362, allocations: 0.5025 MB / 492.2 MB, free: 156 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.00309/0.1393, allocations: 2.474 MB / 494.7 MB, free: 13.67 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002384/0.1417, allocations: 2.041 MB / 496.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001838/0.1436, allocations: 1.102 MB / 497.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001727/0.1453, allocations: 1.319 MB / 499.1 MB, free: 9.129 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003997/0.1457, allocations: 303.9 kB / 499.4 MB, free: 8.832 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006971/0.1464, allocations: 387.8 kB / 499.8 MB, free: 8.453 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007267/0.1472, allocations: 0.7831 MB / 0.4888 GB, free: 7.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.1485, allocations: 1.279 MB / 0.4901 GB, free: 6.383 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.1523, allocations: 3.741 MB / 0.4937 GB, free: 2.629 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1523, allocations: 0 / 0.4937 GB, free: 2.629 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1523, allocations: 0 / 0.4937 GB, free: 2.629 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.833e-05/0.1524, allocations: 0 / 0.4937 GB, free: 2.629 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.006302/0.1587, allocations: 2.763 MB / 0.4964 GB, free: 15.79 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.1588, allocations: 11.97 kB / 0.4965 GB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009332/0.1597, allocations: 275.4 kB / 0.4967 GB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.1624, allocations: 1.328 MB / 0.498 GB, free: 14.14 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.0002891/0.1627, allocations: 223.4 kB / 0.4982 GB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.1631, allocations: 208 kB / 0.4984 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004707/0.1678, allocations: 2.698 MB / 0.5011 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.693e-05/0.1679, allocations: 4 kB / 0.5011 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/0.1681, allocations: 83.98 kB / 0.5011 GB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001031/0.1682, allocations: 95.98 kB / 0.5012 GB, free: 10.73 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004139/0.1724, allocations: 2.213 MB / 0.5034 GB, free: 8.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.1855, allocations: 7.886 MB / 0.5111 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2208/0.4064, allocations: 1.577 MB / 0.5126 GB, free: 39.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001993/0.4084, allocations: 0.9443 MB / 0.5136 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002331/0.4087, allocations: 123 kB / 0.5137 GB, free: 39.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/0.41, allocations: 0.7653 MB / 0.5144 GB, free: 39.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.705e-06/0.41, allocations: 1 kB / 0.5144 GB, free: 39.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01634/0.4264, allocations: 6.667 MB / 0.5209 GB, free: 36.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.4265, allocations: 246.8 kB / 0.5212 GB, free: 36.46 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.00238/0.4289, allocations: 1.17 MB / 0.5223 GB, free: 35.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002865/0.4292, allocations: 49.66 kB / 0.5224 GB, free: 35.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001033/0.4303, allocations: 0.9395 MB / 0.5233 GB, free: 35.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005111/0.4308, allocations: 429.6 kB / 0.5237 GB, free: 35.06 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004827/0.4313, allocations: 251.2 kB / 0.5239 GB, free: 34.94 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4314, allocations: 360.9 kB / 0.5243 GB, free: 34.61 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001361/0.4328, allocations: 0.7034 MB / 0.525 GB, free: 34.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.4343, allocations: 1.096 MB / 0.526 GB, free: 33.65 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008582/0.4429, allocations: 3.548 MB / 0.5295 GB, free: 32.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/0.4429, allocations: 2.75 kB / 0.5295 GB, free: 32.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004305/0.4473, allocations: 2.525 MB / 0.532 GB, free: 31.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.749e-05/0.4473, allocations: 37.48 kB / 0.532 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.4473, allocations: 11.78 kB / 0.532 GB, free: 31.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009863/0.4483, allocations: 0.4925 MB / 0.5325 GB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009498/0.4493, allocations: 293.6 kB / 0.5328 GB, free: 30.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005945/0.4552, allocations: 8.804 MB / 0.5414 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/0.4567, allocations: 130.5 kB / 0.5415 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4568, allocations: 63.3 kB / 0.5416 GB, free: 23.14 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.001882/0.4587, allocations: 1.23 MB / 0.5428 GB, free: 22.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001054/0.4598, allocations: 1.072 MB / 0.5438 GB, free: 21.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007085/0.4668, allocations: 3.481 MB / 0.5472 GB, free: 17.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.816e-06/0.4669, allocations: 4 kB / 0.5472 GB, free: 17.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003521/0.4704, allocations: 2.469 MB / 0.5496 GB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.4705, allocations: 41.77 kB / 0.5497 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.4705, allocations: 8 kB / 0.5497 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/0.4714, allocations: 0.5122 MB / 0.5502 GB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.4723, allocations: 279.6 kB / 0.5504 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/0.4779, allocations: 8.804 MB / 0.559 GB, free: 5.102 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/0.4795, allocations: 135.9 kB / 0.5592 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.726e-05/0.4796, allocations: 55.92 kB / 0.5592 GB, free: 4.914 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.0004611/0.4801, allocations: 296.4 kB / 0.5595 GB, free: 4.621 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.4804, allocations: 143.1 kB / 0.5596 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003326/0.4837, allocations: 2.199 MB / 0.5618 GB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.4837, allocations: 12 kB / 0.5618 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.4838, allocations: 4 kB / 0.5618 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.4838, allocations: 7.984 kB / 0.5618 GB, free: 2.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007043/0.4908, allocations: 4.592 MB / 0.5663 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.4909, allocations: 4 kB / 0.5663 GB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008264/0.4917, allocations: 195.7 kB / 0.5665 GB, free: 13.33 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.493, allocations: 0.5124 MB / 0.567 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.461e-05/0.4931, allocations: 39.98 kB / 0.567 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00785/0.501, allocations: 8.628 MB / 0.5754 GB, free: 3.594 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/0.501, allocations: 4 kB / 0.5754 GB, free: 3.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005431/0.5064, allocations: 3.228 MB / 0.5786 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009354/0.5074, allocations: 364.1 kB / 0.5789 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/0.5076, allocations: 32 kB / 0.579 GB, free: 15.86 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009571/0.5086, allocations: 107.9 kB / 0.5791 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/0.5089, allocations: 104.7 kB / 0.5792 GB, free: 15.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.509, allocations: 43.97 kB / 0.5792 GB, free: 15.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001158/0.5101, allocations: 0.8018 MB / 0.58 GB, free: 14.8 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5102, allocations: 0 / 0.58 GB, free: 14.8 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002666/0.5128, allocations: 0.7422 MB / 0.5807 GB, free: 14.06 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.0004137/0.5133, allocations: 194.5 kB / 0.5809 GB, free: 13.87 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/0.5236, allocations: 6.686 MB / 0.5874 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.5236, allocations: 0 / 0.5874 GB, free: 6.945 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004379/0.528, allocations: 2.837 MB / 0.5902 GB, free: 4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002077/0.5301, allocations: 377.9 kB / 0.5906 GB, free: 3.637 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006978/0.5371, allocations: 4.249 MB / 0.5947 GB, free: 15.31 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/0.5387, allocations: 1.73 MB / 0.5964 GB, free: 13.55 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001414/0.5401, allocations: 423.6 kB / 0.5968 GB, free: 13.13 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/0.5404, allocations: 95.42 kB / 0.5969 GB, free: 13.04 MB / 430.1 MB Notification: Performance of SimCode: time 7.41e-07/0.5404, allocations: 0 / 0.5969 GB, free: 13.04 MB / 430.1 MB Notification: Performance of Templates: time 0.05658/0.597, allocations: 31.67 MB / 0.6278 GB, free: 13.67 MB / 462.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & ./EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)