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.03125/0.03125, allocations: 6.476 MB / 26.57 MB, free: 3.426 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.000861/0.000861, allocations: 83.08 kB / 31.84 MB, free: 4.758 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.001372/0.001372, allocations: 165.7 kB / 37.19 MB, free: 7.344 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.9649/0.9649, allocations: 177.2 MB / 219.6 MB, free: 13.46 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.009506/0.009506, allocations: 2.523 MB / 280.7 MB, free: 360 kB / 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.483e-06/1.483e-06, allocations: 3.938 kB / 354.4 MB, free: 5.621 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.208e-05, allocations: 2.312 kB / 354.4 MB, free: 5.617 MB / 266.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.007607/0.007629, allocations: 9.528 MB / 364 MB, free: 12.04 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004832/0.01246, allocations: 2.707 MB / 366.7 MB, free: 9.328 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001235/0.0137, allocations: 67.56 kB / 366.7 MB, free: 9.262 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000989/0.01469, allocations: 0.4963 MB / 367.2 MB, free: 8.762 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.01651, allocations: 0.733 MB / 368 MB, free: 8.023 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009382/0.01745, allocations: 0.5499 MB / 368.5 MB, free: 7.473 MB / 282.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.002443/0.01989, allocations: 2.759 MB / 371.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001508/0.0214, allocations: 1.285 MB / 372.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002141/0.02354, allocations: 1.817 MB / 374.4 MB, free: 1.531 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.02549, allocations: 1.321 MB / 375.7 MB, free: 212 kB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006232/0.02611, allocations: 336 kB / 376 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001905/0.02802, allocations: 435.6 kB / 376.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009342/0.02895, allocations: 0.9076 MB / 377.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001566/0.03052, allocations: 0.9939 MB / 378.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003581/0.0341, allocations: 2.313 MB / 380.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.03411, allocations: 0 / 380.7 MB, free: 11.23 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03411, allocations: 4 kB / 380.7 MB, free: 11.22 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.448e-05/0.03419, allocations: 0 / 380.7 MB, free: 11.22 MB / 298.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.005067/0.03926, allocations: 3.028 MB / 383.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.0393, allocations: 8.031 kB / 383.7 MB, free: 8.125 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008081/0.04011, allocations: 0.4913 MB / 384.2 MB, free: 7.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.04189, allocations: 1.401 MB / 385.6 MB, free: 6.199 MB / 298.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.0001952/0.04208, allocations: 288 kB / 385.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.04232, allocations: 244.1 kB / 386.1 MB, free: 5.652 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002503/0.04483, allocations: 1.947 MB / 388.1 MB, free: 3.562 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.141e-05/0.04488, allocations: 3.938 kB / 388.1 MB, free: 3.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001425/0.04502, allocations: 92 kB / 388.1 MB, free: 3.469 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.001e-05/0.04511, allocations: 108.5 kB / 388.3 MB, free: 3.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001653/0.04676, allocations: 0.8345 MB / 389.1 MB, free: 2.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008314/0.05508, allocations: 7.308 MB / 396.4 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001126/0.0562, allocations: 0.7057 MB / 397.1 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007582/0.05696, allocations: 0.509 MB / 397.6 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001545/0.05711, allocations: 44.97 kB / 397.7 MB, free: 9.668 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006084/0.05772, allocations: 0.5679 MB / 398.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.395e-06/0.05772, allocations: 0 / 398.2 MB, free: 9.035 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.006545/0.06427, allocations: 3.695 MB / 401.9 MB, free: 5.285 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.969e-05/0.06437, allocations: 252.3 kB / 402.2 MB, free: 4.984 MB / 314.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.0009899/0.06536, allocations: 0.9433 MB / 403.1 MB, free: 4.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.235e-05/0.06543, allocations: 45.7 kB / 403.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009665/0.0664, allocations: 1.1 MB / 404.3 MB, free: 2.855 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00028/0.06668, allocations: 440.3 kB / 404.7 MB, free: 2.422 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.06697, allocations: 265.2 kB / 404.9 MB, free: 2.152 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.06707, allocations: 480.7 kB / 405.4 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004638/0.06754, allocations: 285.2 kB / 405.7 MB, free: 1.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007196/0.06825, allocations: 0.974 MB / 406.7 MB, free: 144 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.06982, allocations: 1.402 MB / 408.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.06983, allocations: 8 kB / 408.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002086/0.07191, allocations: 1.451 MB / 409.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.07195, allocations: 33.7 kB / 409.6 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.07197, allocations: 12 kB / 409.6 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007127/0.07268, allocations: 301.1 kB / 409.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00088/0.07356, allocations: 291.5 kB / 410.1 MB, free: 12.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004794/0.07835, allocations: 8.432 MB / 418.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.07915, allocations: 123.9 kB / 418.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.879e-05/0.07924, allocations: 63.98 kB / 418.8 MB, free: 3.266 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.0009387/0.08018, allocations: 444.9 kB / 419.2 MB, free: 2.824 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007183/0.0809, allocations: 0.9702 MB / 420.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.137/0.2179, allocations: 1.4 MB / 421.6 MB, free: 72.3 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.796e-05/0.2179, allocations: 2.938 kB / 421.6 MB, free: 72.3 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002824/0.2207, allocations: 1.436 MB / 423 MB, free: 72.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.2208, allocations: 38.36 kB / 423 MB, free: 72.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.2208, allocations: 10.94 kB / 423.1 MB, free: 72.07 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007371/0.2215, allocations: 301 kB / 423.3 MB, free: 72.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006733/0.2222, allocations: 296.2 kB / 423.6 MB, free: 72 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007668/0.2299, allocations: 8.421 MB / 432.1 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.2309, allocations: 128.8 kB / 432.2 MB, free: 64.65 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.2311, allocations: 62.69 kB / 432.2 MB, free: 64.65 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%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.2314, allocations: 388.5 kB / 432.6 MB, free: 64.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/0.2318, allocations: 179.5 kB / 432.8 MB, free: 64.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005266/0.237, allocations: 1.115 MB / 433.9 MB, free: 64.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.659e-05/0.2371, allocations: 12.34 kB / 433.9 MB, free: 64.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.861e-05/0.2371, allocations: 8.125 kB / 433.9 MB, free: 64.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.731e-05/0.2371, allocations: 7.734 kB / 433.9 MB, free: 64.21 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008319/0.2454, allocations: 3.125 MB / 437.1 MB, free: 63.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.291e-06/0.2454, allocations: 0 / 437.1 MB, free: 63.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/0.249, allocations: 189.4 kB / 437.3 MB, free: 63.06 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009124/0.2499, allocations: 345.3 kB / 437.6 MB, free: 62.97 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.075e-05/0.25, allocations: 32.89 kB / 437.6 MB, free: 62.95 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006928/0.2569, allocations: 8.388 MB / 446 MB, free: 55.15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2569, allocations: 7.75 kB / 446 MB, free: 55.15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005641/0.2626, allocations: 1.682 MB / 447.7 MB, free: 54.41 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005406/0.2631, allocations: 258.4 kB / 448 MB, free: 54.33 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001665/0.2633, allocations: 35.75 kB / 448 MB, free: 54.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003601/0.2669, allocations: 88.62 kB / 448.1 MB, free: 54.29 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/0.2672, allocations: 116.8 kB / 448.2 MB, free: 54.26 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.809e-05/0.2672, allocations: 44.17 kB / 448.2 MB, free: 54.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006812/0.2679, allocations: 0.5527 MB / 448.8 MB, free: 54.01 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2679, allocations: 0 / 448.8 MB, free: 54.01 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.005268/0.2732, allocations: 0.7816 MB / 449.6 MB, free: 53.88 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%), (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.0003193/0.2735, allocations: 191.7 kB / 449.8 MB, free: 53.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005747/0.2792, allocations: 6.685 MB / 456.4 MB, free: 47.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.2793, allocations: 4 kB / 456.4 MB, free: 47.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001781/0.281, allocations: 3.002 MB / 459.4 MB, free: 44.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.2824, allocations: 345.7 kB / 459.8 MB, free: 43.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/0.2884, allocations: 3.896 MB / 463.7 MB, free: 39.71 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005303/0.289, allocations: 0.577 MB / 464.3 MB, free: 39.11 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0008714/0.2898, allocations: 338.8 kB / 464.6 MB, free: 38.78 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.2901, allocations: 96.48 kB / 464.7 MB, free: 38.68 MB / 330.7 MB Notification: Performance of SimCode: time 2.134e-06/0.2901, allocations: 0 / 464.7 MB, free: 38.68 MB / 330.7 MB Notification: Performance of Templates: time 0.03844/0.3285, allocations: 30.66 MB / 495.3 MB, free: 8.449 MB / 330.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.822461747098714]