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.07807/0.07807, allocations: 6.471 MB / 26.26 MB, free: 2.805 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.0008076/0.0008076, allocations: 87.03 kB / 31.62 MB, free: 4.402 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.0008733/0.0008733, allocations: 160.5 kB / 37.07 MB, free: 6.949 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.8825/0.8825, allocations: 177.1 MB / 219.6 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.009038/0.009038, allocations: 2.523 MB / 280.7 MB, free: 1.824 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.373e-06/1.373e-06, allocations: 0 / 355 MB, free: 7.449 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.527e-05/2.664e-05, allocations: 2.312 kB / 355 MB, free: 7.445 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.1372/0.1372, allocations: 9.379 MB / 364.4 MB, free: 75.52 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004958/0.1422, allocations: 2.714 MB / 367.1 MB, free: 75.12 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001294/0.1435, allocations: 70.22 kB / 367.1 MB, free: 75.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.1445, allocations: 492.1 kB / 367.6 MB, free: 74.87 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001846/0.1464, allocations: 0.7418 MB / 368.4 MB, free: 74.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1474, allocations: 0.5538 MB / 368.9 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.002842/0.1503, allocations: 2.746 MB / 371.7 MB, free: 72.76 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.152, allocations: 1.289 MB / 373 MB, free: 72.07 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003157/0.1552, allocations: 1.872 MB / 374.8 MB, free: 71.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.1573, allocations: 1.313 MB / 376.1 MB, free: 70.77 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001152/0.1585, allocations: 328.4 kB / 376.5 MB, free: 70.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.1597, allocations: 420.6 kB / 376.9 MB, free: 70.75 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009126/0.1607, allocations: 0.8799 MB / 377.8 MB, free: 70.22 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002326/0.163, allocations: 0.9896 MB / 378.7 MB, free: 69.73 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004391/0.1674, allocations: 2.295 MB / 381 MB, free: 68.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1674, allocations: 0 / 381 MB, free: 68.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1674, allocations: 1.656 kB / 381 MB, free: 68.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001369/0.1675, allocations: 2.125 kB / 381 MB, free: 68.26 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.005694/0.1732, allocations: 2.917 MB / 384 MB, free: 66.19 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1733, allocations: 11.5 kB / 384 MB, free: 66.19 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.1743, allocations: 0.4954 MB / 384.5 MB, free: 65.95 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.1765, allocations: 1.251 MB / 385.7 MB, free: 65.02 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.0002334/0.1767, allocations: 292.5 kB / 386 MB, free: 64.81 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003085/0.177, allocations: 235.3 kB / 386.2 MB, free: 64.73 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002921/0.1799, allocations: 1.808 MB / 388 MB, free: 62.79 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.18, allocations: 7.953 kB / 388 MB, free: 62.78 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001892/0.1802, allocations: 92.98 kB / 388.1 MB, free: 62.69 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001042/0.1803, allocations: 117.5 kB / 388.3 MB, free: 62.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00148/0.1818, allocations: 0.6592 MB / 388.9 MB, free: 61.88 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008843/0.1906, allocations: 7.174 MB / 396.1 MB, free: 54.49 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007844/0.1914, allocations: 0.6672 MB / 396.8 MB, free: 53.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.1919, allocations: 465.2 kB / 397.2 MB, free: 53.38 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001384/0.192, allocations: 52.06 kB / 397.3 MB, free: 53.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004417/0.1925, allocations: 0.5326 MB / 397.8 MB, free: 52.74 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.045e-06/0.1925, allocations: 4.5 kB / 397.8 MB, free: 52.73 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.004348/0.1968, allocations: 2.705 MB / 400.5 MB, free: 50.01 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.1969, allocations: 248.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.0006625/0.1975, allocations: 0.9229 MB / 401.7 MB, free: 48.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.722e-05/0.1976, allocations: 45.7 kB / 401.7 MB, free: 48.72 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/0.1981, allocations: 1.107 MB / 402.8 MB, free: 47.6 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001786/0.1983, allocations: 448.3 kB / 403.3 MB, free: 47.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.1985, allocations: 281 kB / 403.5 MB, free: 46.88 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.79e-05/0.1985, allocations: 476.8 kB / 404 MB, free: 46.41 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/0.1988, allocations: 225.2 kB / 404.2 MB, free: 46.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.1991, allocations: 0.9309 MB / 405.1 MB, free: 44.97 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008745/0.2, allocations: 1.264 MB / 406.4 MB, free: 43.5 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.2, allocations: 4 kB / 406.4 MB, free: 43.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.001355/0.2014, allocations: 1.318 MB / 407.7 MB, free: 42.13 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.2014, allocations: 33.7 kB / 407.8 MB, free: 42.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.2014, allocations: 12 kB / 407.8 MB, free: 42.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005173/0.2019, allocations: 285.1 kB / 408.1 MB, free: 41.79 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.2024, allocations: 271.5 kB / 408.3 MB, free: 41.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002773/0.2052, allocations: 8.144 MB / 416.5 MB, free: 32.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007927/0.206, allocations: 83.98 kB / 416.5 MB, free: 32.85 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.748e-05/0.2061, 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.0007659/0.2068, allocations: 377.8 kB / 417 MB, free: 32.43 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004048/0.2072, allocations: 0.9277 MB / 417.9 MB, free: 31.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008876/0.2081, allocations: 1.268 MB / 419.2 MB, free: 29.74 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.672e-06/0.2081, 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.001404/0.2095, allocations: 1.307 MB / 420.5 MB, free: 28.39 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.2096, allocations: 41.69 kB / 420.5 MB, free: 28.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.2096, allocations: 12 kB / 420.5 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004662/0.21, allocations: 286.9 kB / 420.8 MB, free: 28.04 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.2105, allocations: 256.2 kB / 421.1 MB, free: 27.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002701/0.2132, allocations: 8.145 MB / 429.2 MB, free: 19.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007524/0.214, allocations: 103.9 kB / 429.3 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-05/0.214, allocations: 44.88 kB / 429.3 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.0003485/0.2144, allocations: 383.6 kB / 429.7 MB, free: 18.68 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002197/0.2146, allocations: 175.1 kB / 429.9 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/0.2158, allocations: 1.016 MB / 430.9 MB, free: 17.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.2158, allocations: 12 kB / 430.9 MB, free: 17.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2158, allocations: 8.5 kB / 430.9 MB, free: 17.44 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.837e-06/0.2158, allocations: 3.984 kB / 430.9 MB, free: 17.43 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003154/0.219, allocations: 2.997 MB / 433.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.219, allocations: 7.938 kB / 433.9 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003681/0.2193, allocations: 172.2 kB / 434.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005588/0.2199, allocations: 311.4 kB / 434.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.844e-05/0.22, allocations: 39.97 kB / 434.4 MB, free: 13.77 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/0.2224, allocations: 8.131 MB / 442.6 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.2224, allocations: 6.344 kB / 442.6 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001493/0.2239, allocations: 1.529 MB / 444.1 MB, free: 3.562 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.2243, allocations: 239 kB / 444.3 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.652e-05/0.2244, allocations: 28 kB / 444.4 MB, free: 3.301 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/0.2248, allocations: 67.95 kB / 444.4 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.2249, allocations: 120.7 kB / 444.6 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.225, allocations: 35.92 kB / 444.6 MB, free: 3.078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000376/0.2254, allocations: 0.5213 MB / 445.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2254, allocations: 0 / 445.1 MB, free: 2.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001899/0.2273, 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.0002593/0.2275, allocations: 191.3 kB / 446.1 MB, free: 1.578 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004513/0.232, allocations: 6.448 MB / 452.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/0.232, allocations: 0.75 kB / 452.5 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.234, allocations: 2.92 MB / 455.4 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.2351, allocations: 355.4 kB / 455.8 MB, free: 7.531 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005411/0.2406, allocations: 3.831 MB / 459.6 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.2411, allocations: 0.5777 MB / 460.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006715/0.2418, allocations: 180.8 kB / 460.4 MB, free: 2.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005974/0.2424, allocations: 409.9 kB / 460.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of SimCode: time 1.393e-06/0.2424, allocations: 0 / 460.8 MB, free: 2.422 MB / 346.7 MB Notification: Performance of Templates: time 0.04/0.2824, allocations: 32.63 MB / 493.4 MB, free: 2.328 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.4931145310401917]