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 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.02945/0.02945, allocations: 6.472 MB / 27.06 MB, free: 3.305 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008399/0.0008399, allocations: 83.03 kB / 32.4 MB, free: 4.551 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 167.3 kB / 37.86 MB, free: 7.207 MB / 24.77 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9268/0.9268, allocations: 177.1 MB / 220.4 MB, free: 11.62 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.009206/0.009206, allocations: 2.511 MB / 281.5 MB, free: 1.812 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.163e-06/1.163e-06, allocations: 0 / 355.8 MB, free: 7.434 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.565e-05/1.681e-05, allocations: 9.547 kB / 355.8 MB, free: 7.426 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1222/0.1222, allocations: 9.385 MB / 365.2 MB, free: 75.55 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003931/0.1262, allocations: 2.712 MB / 367.9 MB, free: 75.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007316/0.1269, allocations: 66.94 kB / 367.9 MB, free: 75.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008499/0.1277, allocations: 498.4 kB / 368.4 MB, free: 74.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001281/0.129, allocations: 0.7343 MB / 369.2 MB, free: 74.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007915/0.1298, allocations: 0.5497 MB / 369.7 MB, free: 74.18 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.002202/0.132, allocations: 2.755 MB / 372.5 MB, free: 72.75 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.1334, allocations: 1.29 MB / 373.7 MB, free: 72.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002214/0.1356, allocations: 1.875 MB / 375.6 MB, free: 71.21 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.137, allocations: 1.307 MB / 376.9 MB, free: 70.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004416/0.1375, allocations: 330 kB / 377.2 MB, free: 70.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005338/0.138, allocations: 426.6 kB / 377.7 MB, free: 70.73 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004819/0.1385, allocations: 0.8764 MB / 378.5 MB, free: 70.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.1393, allocations: 0.9877 MB / 379.5 MB, free: 69.72 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001619/0.1409, allocations: 2.297 MB / 381.8 MB, free: 68.24 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1409, allocations: 0 / 381.8 MB, free: 68.24 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.1409, allocations: 0 / 381.8 MB, free: 68.24 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.999e-05/0.141, allocations: 3.125 kB / 381.8 MB, free: 68.24 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.002882/0.1439, allocations: 2.922 MB / 384.8 MB, free: 66.17 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.85e-05/0.1439, allocations: 10.44 kB / 384.8 MB, free: 66.17 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005962/0.1445, allocations: 0.4947 MB / 385.3 MB, free: 65.93 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.1455, allocations: 1.248 MB / 386.5 MB, free: 65.01 MB / 330.7 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.0001322/0.1457, allocations: 292.9 kB / 386.8 MB, free: 64.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.1459, allocations: 233.2 kB / 387 MB, free: 64.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001476/0.1473, allocations: 1.804 MB / 388.8 MB, free: 62.77 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.554e-05/0.1474, allocations: 17.38 kB / 388.8 MB, free: 62.75 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000121/0.1475, allocations: 96.59 kB / 388.9 MB, free: 62.66 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.127e-05/0.1476, allocations: 109.1 kB / 389 MB, free: 62.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008119/0.1484, allocations: 0.6592 MB / 389.7 MB, free: 61.85 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005208/0.1536, allocations: 7.174 MB / 396.9 MB, free: 54.47 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007151/0.1543, allocations: 0.6713 MB / 397.5 MB, free: 53.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005065/0.1548, allocations: 462.6 kB / 398 MB, free: 53.35 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001101/0.1549, allocations: 50.98 kB / 398 MB, free: 53.3 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003809/0.1553, allocations: 0.5326 MB / 398.6 MB, free: 52.71 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.104e-06/0.1553, allocations: 1.312 kB / 398.6 MB, free: 52.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.003785/0.1591, allocations: 2.702 MB / 401.3 MB, free: 49.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.1591, allocations: 244.3 kB / 401.5 MB, free: 49.7 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.0005542/0.1597, allocations: 0.931 MB / 402.5 MB, free: 48.74 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.635e-05/0.1597, allocations: 49.7 kB / 402.5 MB, free: 48.69 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/0.1601, allocations: 1.107 MB / 403.6 MB, free: 47.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000178/0.1603, allocations: 440.3 kB / 404 MB, free: 47.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.1605, allocations: 280.9 kB / 404.3 MB, free: 46.85 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.206e-05/0.1605, allocations: 481.3 kB / 404.8 MB, free: 46.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002319/0.1608, allocations: 222.1 kB / 405 MB, free: 46.15 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000382/0.1611, allocations: 0.927 MB / 405.9 MB, free: 44.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008718/0.162, allocations: 1.268 MB / 407.2 MB, free: 43.47 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.162, allocations: 4 kB / 407.2 MB, free: 43.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001329/0.1634, allocations: 1.318 MB / 408.5 MB, free: 42.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.546e-05/0.1634, allocations: 41.7 kB / 408.6 MB, free: 42.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1634, allocations: 12 kB / 408.6 MB, free: 42.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004999/0.1639, allocations: 272 kB / 408.8 MB, free: 41.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005027/0.1644, allocations: 271.5 kB / 409.1 MB, free: 41.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.1669, allocations: 8.145 MB / 417.2 MB, free: 32.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.1674, allocations: 83.98 kB / 417.3 MB, free: 32.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.1675, allocations: 47.98 kB / 417.4 MB, free: 32.78 MB / 330.7 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.0004852/0.1679, allocations: 384.7 kB / 417.7 MB, free: 32.4 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004003/0.1683, allocations: 0.927 MB / 418.7 MB, free: 31.2 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009167/0.1693, allocations: 1.258 MB / 419.9 MB, free: 29.73 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.1693, allocations: 4 kB / 419.9 MB, free: 29.72 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00129/0.1706, allocations: 1.314 MB / 421.3 MB, free: 28.37 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.1706, allocations: 41.69 kB / 421.3 MB, free: 28.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1706, allocations: 8 kB / 421.3 MB, free: 28.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004591/0.171, allocations: 280.5 kB / 421.6 MB, free: 28.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.1715, allocations: 264.8 kB / 421.8 MB, free: 27.76 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002386/0.1739, allocations: 8.13 MB / 430 MB, free: 19.19 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.1744, allocations: 103.9 kB / 430.1 MB, free: 19.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.1745, allocations: 48.86 kB / 430.1 MB, free: 19.04 MB / 330.7 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: 49 * 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 (155): * Single equations (assignments): 148 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000218/0.1747, allocations: 384.3 kB / 430.5 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.1748, allocations: 175.1 kB / 430.7 MB, free: 18.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.1761, allocations: 1.025 MB / 431.7 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.1761, allocations: 12 kB / 431.7 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.1761, allocations: 8.5 kB / 431.7 MB, free: 17.42 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.1762, allocations: 5.297 kB / 431.7 MB, free: 17.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/0.1788, allocations: 2.999 MB / 434.7 MB, free: 14.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.1788, allocations: 7.938 kB / 434.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003786/0.1792, allocations: 168.2 kB / 434.9 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005556/0.1798, allocations: 310.3 kB / 435.2 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.301e-05/0.1798, allocations: 39.97 kB / 435.2 MB, free: 13.75 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/0.1822, allocations: 8.126 MB / 443.3 MB, free: 5.191 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.1822, allocations: 4 kB / 443.4 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001368/0.1836, allocations: 1.533 MB / 444.9 MB, free: 3.551 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.1838, allocations: 235 kB / 445.1 MB, free: 3.32 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.1839, allocations: 35.98 kB / 445.2 MB, free: 3.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.1843, allocations: 63.95 kB / 445.2 MB, free: 3.223 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.1845, allocations: 116.7 kB / 445.3 MB, free: 3.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.436e-05/0.1845, allocations: 35.97 kB / 445.4 MB, free: 3.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002878/0.1848, allocations: 0.5213 MB / 445.9 MB, free: 2.539 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1848, allocations: 4 kB / 445.9 MB, free: 2.535 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001442/0.1862, allocations: 0.7695 MB / 446.7 MB, free: 1.766 MB / 330.7 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 (102): * Single equations (assignments): 94 * 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002226/0.1865, allocations: 193.2 kB / 446.8 MB, free: 1.566 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004405/0.1909, allocations: 6.444 MB / 453.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.1909, allocations: 0.75 kB / 453.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001773/0.1926, allocations: 2.924 MB / 456.2 MB, free: 7.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009235/0.1936, allocations: 354.2 kB / 456.6 MB, free: 7.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/0.1978, allocations: 3.83 MB / 460.4 MB, free: 3.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1982, allocations: 0.5777 MB / 461 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.1987, allocations: 179.3 kB / 461.1 MB, free: 2.812 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00061/0.1993, allocations: 410 kB / 461.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of SimCode: time 8.22e-07/0.1993, allocations: 0 / 461.5 MB, free: 2.41 MB / 346.7 MB Notification: Performance of Templates: time 0.03621/0.2355, allocations: 33.26 MB / 494.8 MB, free: 1.648 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] (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=240 -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.58269286993891]