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.07586/0.07586, allocations: 8.534 MB / 28.02 MB, free: 2.883 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 109.6 kB / 33.23 MB, free: 1.59 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 200.5 kB / 38.57 MB, free: 3.055 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 225.6 MB / 269.3 MB, free: 7.828 MB / 206.1 MB " [Timeout remaining time 178] 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.02431/0.02431, allocations: 3.417 MB / 330 MB, free: 14.34 MB / 254.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 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 0.003505/0.003505, allocations: 104.1 kB / 457.4 MB, free: 50.93 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1025/0.106, allocations: 55.14 MB / 0.5005 GB, free: 6.773 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start=\"Y\") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01022/0.1162, allocations: 9.755 MB / 0.51 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006964/0.1232, allocations: 2.727 MB / 0.5127 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002088/0.1253, allocations: 63.62 kB / 0.5127 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001929/0.1272, allocations: 0.4964 MB / 0.5132 GB, free: 9.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.1303, allocations: 0.7142 MB / 0.5139 GB, free: 8.957 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001783/0.1321, allocations: 0.5571 MB / 0.5145 GB, free: 8.402 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.004376/0.1365, allocations: 2.67 MB / 0.5171 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002705/0.1392, allocations: 1.328 MB / 0.5184 GB, free: 4.328 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002238/0.1414, allocations: 1.227 MB / 0.5196 GB, free: 3.098 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002487/0.1439, allocations: 1.455 MB / 0.521 GB, free: 1.637 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005794/0.1445, allocations: 343.9 kB / 0.5213 GB, free: 1.301 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009031/0.1454, allocations: 419.9 kB / 0.5217 GB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009333/0.1463, allocations: 0.8687 MB / 0.5226 GB, free: 20 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001731/0.148, allocations: 1.416 MB / 0.5239 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005241/0.1533, allocations: 4.153 MB / 0.528 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1533, allocations: 4 kB / 0.528 GB, free: 10.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1533, allocations: 0 / 0.528 GB, free: 10.43 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001242/0.1534, allocations: 0 / 0.528 GB, free: 10.43 MB / 382.1 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.006854/0.1603, allocations: 2.901 MB / 0.5308 GB, free: 7.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1603, allocations: 8.031 kB / 0.5308 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007739/0.1611, allocations: 295.2 kB / 0.5311 GB, free: 7.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002573/0.1637, allocations: 1.371 MB / 0.5325 GB, free: 5.77 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002974/0.164, allocations: 239.9 kB / 0.5327 GB, free: 5.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003769/0.1643, allocations: 235.9 kB / 0.5329 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005459/0.1698, allocations: 2.965 MB / 0.5358 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.778e-05/0.1698, allocations: 4 kB / 0.5358 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002139/0.1701, allocations: 96 kB / 0.5359 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001249/0.1702, allocations: 108.5 kB / 0.536 GB, free: 2.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004492/0.1747, allocations: 2.376 MB / 0.5383 GB, free: 15.63 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.1895, allocations: 8.503 MB / 0.5466 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002684/0.1922, allocations: 1.332 MB / 0.5479 GB, free: 5.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001835/0.194, allocations: 0.9003 MB / 0.5488 GB, free: 4.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002304/0.1942, allocations: 48.94 kB / 0.5489 GB, free: 4.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001418/0.1957, allocations: 0.7811 MB / 0.5496 GB, free: 3.773 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.534e-06/0.1957, allocations: 0 / 0.5496 GB, free: 3.773 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.0156/0.2113, allocations: 6.473 MB / 0.556 GB, free: 13.26 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.2114, allocations: 252.3 kB / 0.5562 GB, free: 12.96 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001999/0.2134, allocations: 1.201 MB / 0.5574 GB, free: 11.75 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.2136, allocations: 49.7 kB / 0.5574 GB, free: 11.69 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001003/0.2146, allocations: 1.039 MB / 0.5584 GB, free: 10.64 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000431/0.215, allocations: 444.3 kB / 0.5589 GB, free: 10.2 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004534/0.2155, allocations: 259.5 kB / 0.5591 GB, free: 9.941 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2156, allocations: 305.1 kB / 0.5594 GB, free: 9.641 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001346/0.2169, allocations: 0.727 MB / 0.5601 GB, free: 8.91 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.2186, allocations: 1.13 MB / 0.5612 GB, free: 7.605 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00941/0.228, allocations: 3.597 MB / 0.5647 GB, free: 3.84 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/0.228, allocations: 4 kB / 0.5647 GB, free: 3.836 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004949/0.233, allocations: 2.493 MB / 0.5672 GB, free: 1.309 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/0.2331, allocations: 41.69 kB / 0.5672 GB, free: 1.262 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.2331, allocations: 12 kB / 0.5672 GB, free: 1.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.2344, allocations: 0.4924 MB / 0.5677 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/0.2356, allocations: 307.5 kB / 0.568 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009581/0.2451, allocations: 8.4 MB / 0.5762 GB, free: 7.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.2468, allocations: 131.8 kB / 0.5763 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.247, allocations: 63.98 kB / 0.5764 GB, free: 7.395 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002516/0.2495, allocations: 1.277 MB / 0.5776 GB, free: 6.113 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001749/0.2512, allocations: 1.111 MB / 0.5787 GB, free: 4.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008915/0.2602, allocations: 3.535 MB / 0.5822 GB, free: 1.133 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.279e-05/0.2602, allocations: 4 kB / 0.5822 GB, free: 1.129 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004687/0.2649, allocations: 2.443 MB / 0.5845 GB, free: 14.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.2649, allocations: 41.7 kB / 0.5846 GB, free: 14.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.559e-05/0.2649, allocations: 8.312 kB / 0.5846 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.2661, allocations: 0.5037 MB / 0.5851 GB, free: 14.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.2672, allocations: 287.6 kB / 0.5854 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008759/0.2759, allocations: 8.389 MB / 0.5936 GB, free: 4.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.2775, allocations: 131.9 kB / 0.5937 GB, free: 4.832 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001254/0.2776, allocations: 71.86 kB / 0.5937 GB, free: 4.762 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.0004747/0.2781, allocations: 292.7 kB / 0.594 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/0.2783, allocations: 151.1 kB / 0.5942 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004147/0.2825, allocations: 2.132 MB / 0.5963 GB, free: 2.164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.2825, allocations: 12 kB / 0.5963 GB, free: 2.152 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.2825, allocations: 8 kB / 0.5963 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.2825, allocations: 11.92 kB / 0.5963 GB, free: 2.133 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2364/0.5189, allocations: 4.615 MB / 0.6008 GB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.749e-06/0.5189, allocations: 6.969 kB / 0.6008 GB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008616/0.5198, allocations: 197.3 kB / 0.601 GB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.5211, allocations: 0.5161 MB / 0.6015 GB, free: 87.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000103/0.5212, allocations: 41.03 kB / 0.6015 GB, free: 87.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006509/0.5277, allocations: 8.205 MB / 0.6095 GB, free: 82.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/0.5277, allocations: 4.156 kB / 0.6095 GB, free: 82.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00535/0.5331, allocations: 3.187 MB / 0.6127 GB, free: 80.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008072/0.5339, allocations: 294.4 kB / 0.6129 GB, free: 80.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001987/0.5341, allocations: 40.95 kB / 0.613 GB, free: 80.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009231/0.535, allocations: 98.53 kB / 0.6131 GB, free: 80.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.5353, allocations: 119.5 kB / 0.6132 GB, free: 80.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.2e-05/0.5354, allocations: 39.95 kB / 0.6132 GB, free: 80.77 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001103/0.5365, allocations: 0.8196 MB / 0.614 GB, free: 80.43 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.5365, allocations: 0 / 0.614 GB, free: 80.43 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002682/0.5392, allocations: 0.783 MB / 0.6148 GB, free: 80.36 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.0003213/0.5395, allocations: 190.1 kB / 0.615 GB, free: 80.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00924/0.5487, allocations: 6.438 MB / 0.6213 GB, free: 76.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.5488, allocations: 0 / 0.6213 GB, free: 76.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003533/0.5523, allocations: 2.711 MB / 0.6239 GB, free: 74.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001762/0.5541, allocations: 400 kB / 0.6243 GB, free: 74.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006063/0.5601, allocations: 4.529 MB / 0.6287 GB, free: 71.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001089/0.5612, allocations: 1.831 MB / 0.6305 GB, free: 71.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001155/0.5624, allocations: 441.6 kB / 0.6309 GB, free: 70.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002639/0.5626, allocations: 99.42 kB / 0.631 GB, free: 70.61 MB / 446.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5626, allocations: 0 / 0.631 GB, free: 70.61 MB / 446.1 MB Notification: Performance of Templates: time 0.04511/0.6077, allocations: 33.8 MB / 0.664 GB, free: 37.16 MB / 446.1 MB " [Timeout remaining time 659] 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=480 -s cvode -lv LOG_STATS > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.199252571997931] Failed to read output from testmodel.py, exit status != 0: 0.6170660130010219 0.625752318 0.47007918000000004 Calling exit ...