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 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.0366/0.0366, allocations: 6.471 MB / 26.26 MB, free: 2.801 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.0007965/0.0007965, allocations: 75.77 kB / 31.61 MB, free: 4.398 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.0008753/0.0008753, allocations: 159.8 kB / 37.07 MB, free: 6.941 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.841/0.841, allocations: 177.1 MB / 219.6 MB, free: 11.65 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.009046/0.009046, allocations: 2.51 MB / 280.7 MB, free: 1.84 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 3.938 kB / 355 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082e-05/1.21e-05, allocations: 6.25 kB / 355 MB, free: 7.441 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.1155/0.1155, allocations: 9.384 MB / 364.4 MB, free: 75.54 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.01639/0.1319, allocations: 2.709 MB / 367.1 MB, free: 75.15 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/0.1329, allocations: 65.62 kB / 367.1 MB, free: 75.12 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009841/0.1339, allocations: 494.9 kB / 367.6 MB, free: 74.89 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007526/0.1414, allocations: 0.7372 MB / 368.4 MB, free: 74.52 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008892/0.1423, allocations: 0.5558 MB / 368.9 MB, free: 74.19 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.008475/0.1508, allocations: 2.746 MB / 371.7 MB, free: 72.77 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005386/0.1562, allocations: 1.293 MB / 373 MB, free: 72.09 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.1585, allocations: 1.872 MB / 374.8 MB, free: 71.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007791/0.1663, allocations: 1.308 MB / 376.1 MB, free: 70.79 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006041/0.1669, allocations: 329.7 kB / 376.5 MB, free: 70.79 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007355/0.1677, allocations: 426.8 kB / 376.9 MB, free: 70.76 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003602/0.1713, allocations: 0.8769 MB / 377.8 MB, free: 70.23 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.1723, allocations: 0.9886 MB / 378.7 MB, free: 69.74 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.1744, allocations: 2.291 MB / 381 MB, free: 68.28 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1744, allocations: 0 / 381 MB, free: 68.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1744, allocations: 1.156 kB / 381 MB, free: 68.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.619e-05/0.1744, allocations: 0.6875 kB / 381 MB, free: 68.28 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.003244/0.1776, allocations: 2.925 MB / 384 MB, free: 66.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.1777, allocations: 9.719 kB / 384 MB, free: 66.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005532/0.1782, allocations: 0.4958 MB / 384.5 MB, free: 65.96 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001002/0.1792, allocations: 1.249 MB / 385.7 MB, free: 65.04 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.0001412/0.1794, allocations: 289.7 kB / 386 MB, free: 64.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001991/0.1796, allocations: 240.5 kB / 386.2 MB, free: 64.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.181, allocations: 1.802 MB / 388 MB, free: 62.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.759e-05/0.181, allocations: 11.89 kB / 388 MB, free: 62.77 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/0.1812, allocations: 98.77 kB / 388.1 MB, free: 62.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.1812, allocations: 116.5 kB / 388.3 MB, free: 62.56 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007256/0.1819, allocations: 0.6546 MB / 388.9 MB, free: 61.87 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004938/0.1869, allocations: 7.173 MB / 396.1 MB, free: 54.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006682/0.1876, allocations: 0.6698 MB / 396.8 MB, free: 53.82 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000467/0.188, allocations: 465.2 kB / 397.2 MB, free: 53.37 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.1881, allocations: 49.47 kB / 397.3 MB, free: 53.33 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.1885, allocations: 0.5326 MB / 397.8 MB, free: 52.73 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.214e-06/0.1885, allocations: 2.156 kB / 397.8 MB, free: 52.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.003574/0.1921, allocations: 2.704 MB / 400.5 MB, free: 50.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.742e-05/0.1921, allocations: 244.3 kB / 400.7 MB, free: 49.71 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.0005174/0.1926, allocations: 0.9272 MB / 401.7 MB, free: 48.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.081e-05/0.1927, allocations: 55.58 kB / 401.7 MB, free: 48.71 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00032/0.193, allocations: 1.103 MB / 402.8 MB, free: 47.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001589/0.1932, allocations: 448.2 kB / 403.3 MB, free: 47.15 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.1934, allocations: 273 kB / 403.5 MB, free: 46.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.532e-05/0.1934, allocations: 476.8 kB / 404 MB, free: 46.4 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002156/0.1936, allocations: 229.8 kB / 404.2 MB, free: 46.17 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003525/0.194, allocations: 0.9321 MB / 405.1 MB, free: 44.96 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008078/0.1948, allocations: 1.263 MB / 406.4 MB, free: 43.49 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.1948, allocations: 4 kB / 406.4 MB, free: 43.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001203/0.196, allocations: 1.317 MB / 407.7 MB, free: 42.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.196, allocations: 41.7 kB / 407.8 MB, free: 42.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.196, allocations: 12 kB / 407.8 MB, free: 42.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.1965, allocations: 272.1 kB / 408.1 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.197, allocations: 275.5 kB / 408.3 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.1992, allocations: 8.151 MB / 416.5 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/0.1996, allocations: 79.95 kB / 416.5 MB, free: 32.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.62e-05/0.1997, allocations: 51.98 kB / 416.6 MB, free: 32.8 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.0004289/0.2001, allocations: 379 kB / 417 MB, free: 32.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003413/0.2005, allocations: 0.9309 MB / 417.9 MB, free: 31.22 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007778/0.2013, allocations: 1.26 MB / 419.2 MB, free: 29.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.907e-06/0.2013, allocations: 4 kB / 419.2 MB, free: 29.74 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.001166/0.2024, allocations: 1.312 MB / 420.5 MB, free: 28.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.2024, allocations: 42.31 kB / 420.5 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/0.2024, allocations: 8 kB / 420.5 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004248/0.2029, allocations: 285.1 kB / 420.8 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000438/0.2033, allocations: 264.2 kB / 421.1 MB, free: 27.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/0.2054, allocations: 8.139 MB / 429.2 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004329/0.2059, allocations: 103.9 kB / 429.3 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-05/0.2059, allocations: 51.98 kB / 429.4 MB, free: 19.05 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.0001718/0.2061, allocations: 380.8 kB / 429.7 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.2062, allocations: 183.1 kB / 429.9 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001014/0.2073, allocations: 1.016 MB / 430.9 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2073, allocations: 12 kB / 430.9 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.2073, allocations: 7.938 kB / 430.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.2073, allocations: 7.969 kB / 430.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/0.2097, allocations: 2.987 MB / 433.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.2097, allocations: 7.938 kB / 433.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003497/0.2101, allocations: 176.2 kB / 434.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004992/0.2106, allocations: 313.3 kB / 434.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.2106, allocations: 31.98 kB / 434.5 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002117/0.2127, allocations: 8.131 MB / 442.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.2127, allocations: 4 kB / 442.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001257/0.214, allocations: 1.526 MB / 444.1 MB, free: 3.566 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.2142, allocations: 244.3 kB / 444.4 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.177e-05/0.2143, allocations: 35.98 kB / 444.4 MB, free: 3.293 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/0.2147, allocations: 59.95 kB / 444.4 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.2148, allocations: 124.7 kB / 444.6 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.38e-05/0.2148, allocations: 31.92 kB / 444.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002785/0.2151, allocations: 0.5213 MB / 445.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2151, allocations: 0 / 445.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001242/0.2164, allocations: 0.7734 MB / 445.9 MB, free: 1.773 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.0001854/0.2166, allocations: 188.8 kB / 446.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003882/0.2204, allocations: 6.444 MB / 452.5 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2204, allocations: 4.312 kB / 452.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001761/0.2222, allocations: 2.924 MB / 455.4 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000822/0.223, allocations: 341.7 kB / 455.8 MB, free: 7.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003748/0.2268, allocations: 3.84 MB / 459.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.2272, allocations: 0.5738 MB / 460.2 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004299/0.2276, allocations: 183.1 kB / 460.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005514/0.2281, allocations: 406 kB / 460.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.2281, allocations: 0 / 460.8 MB, free: 2.426 MB / 346.7 MB Notification: Performance of Templates: time 0.03248/0.2606, allocations: 32.63 MB / 493.4 MB, free: 2.324 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] (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=240 -lv LOG_STATS > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.372809228952974]