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.05975/0.05975, allocations: 8.536 MB / 27.39 MB, free: 2.824 MB / 19.63 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.001437/0.001437, allocations: 113.9 kB / 32.62 MB, free: 1.562 MB / 19.63 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.001677/0.001677, allocations: 212.2 kB / 37.97 MB, free: 2.961 MB / 26.18 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 1.562/1.562, allocations: 230.6 MB / 273.8 MB, free: 2.832 MB / 206.1 MB " [Timeout remaining time 178] 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.01784/0.01784, allocations: 3.418 MB / 335.7 MB, free: 8.699 MB / 254.1 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: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: EHPTexamples requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004124/0.004124, allocations: 103.5 kB / 464.9 MB, free: 50.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1083, allocations: 56.32 MB / 0.509 GB, free: 15.19 MB / 366.1 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.01284/0.1211, allocations: 8.629 MB / 0.5175 GB, free: 6.508 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.009096/0.1302, allocations: 2.641 MB / 0.5201 GB, free: 3.859 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003113/0.1333, allocations: 67.62 kB / 0.5201 GB, free: 3.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00262/0.1359, allocations: 492.4 kB / 0.5206 GB, free: 3.309 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.14, allocations: 0.7259 MB / 0.5213 GB, free: 2.578 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001763/0.1417, allocations: 0.5461 MB / 0.5218 GB, free: 2.031 MB / 366.1 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.004406/0.1461, allocations: 2.676 MB / 0.5244 GB, free: 15.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.1487, allocations: 1.274 MB / 0.5257 GB, free: 14.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.151, allocations: 1.231 MB / 0.5269 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002811/0.1538, allocations: 1.373 MB / 0.5282 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009875/0.1548, allocations: 336 kB / 0.5286 GB, free: 11.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001518/0.1563, allocations: 431.8 kB / 0.529 GB, free: 10.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001416/0.1577, allocations: 0.8649 MB / 0.5298 GB, free: 9.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002042/0.1597, allocations: 1.159 MB / 0.5309 GB, free: 8.613 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005599/0.1653, allocations: 4.185 MB / 0.535 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.1653, allocations: 0 / 0.535 GB, free: 4.41 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1653, allocations: 3.938 kB / 0.535 GB, free: 4.406 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001281/0.1655, allocations: 4 kB / 0.535 GB, free: 4.402 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.008061/0.1735, allocations: 2.904 MB / 0.5379 GB, free: 1.445 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/0.1736, allocations: 8.031 kB / 0.5379 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005241/0.1741, allocations: 337.5 kB / 0.5382 GB, free: 1.098 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009284/0.175, allocations: 303.2 kB / 0.5385 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003407/0.1785, allocations: 1.43 MB / 0.5399 GB, free: 15.34 MB / 398.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.0003367/0.1788, allocations: 295.3 kB / 0.5402 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003877/0.1792, allocations: 235.9 kB / 0.5404 GB, free: 14.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005823/0.185, allocations: 3.104 MB / 0.5434 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.548e-05/0.1851, allocations: 4 kB / 0.5434 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.1853, allocations: 92 kB / 0.5435 GB, free: 11.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/0.1854, allocations: 108.5 kB / 0.5436 GB, free: 11.35 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004687/0.1901, allocations: 2.36 MB / 0.5459 GB, free: 8.977 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01482/0.2049, allocations: 7.802 MB / 0.5535 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00293/0.2079, allocations: 1.333 MB / 0.5548 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001955/0.2098, allocations: 0.9007 MB / 0.5557 GB, free: 14.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.21, allocations: 44.97 kB / 0.5558 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001497/0.2115, allocations: 0.8815 MB / 0.5566 GB, free: 13.7 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.416e-06/0.2115, allocations: 0 / 0.5566 GB, free: 13.7 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01705/0.2286, allocations: 6.453 MB / 0.5629 GB, free: 7.203 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.2288, allocations: 252.3 kB / 0.5632 GB, free: 6.902 MB / 414.1 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.00241/0.2312, allocations: 1.202 MB / 0.5643 GB, free: 5.688 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001934/0.2314, allocations: 49.64 kB / 0.5644 GB, free: 5.633 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001248/0.2326, allocations: 1.039 MB / 0.5654 GB, free: 4.582 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005656/0.2332, allocations: 436.3 kB / 0.5658 GB, free: 4.152 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006096/0.2338, allocations: 267.5 kB / 0.5661 GB, free: 3.883 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.234, allocations: 309.1 kB / 0.5664 GB, free: 3.578 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.2355, allocations: 0.7325 MB / 0.5671 GB, free: 2.836 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/0.2376, allocations: 1.306 MB / 0.5684 GB, free: 1.316 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00973/0.2473, allocations: 3.55 MB / 0.5718 GB, free: 13.6 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.98e-05/0.2473, allocations: 0 / 0.5718 GB, free: 13.6 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005556/0.2529, allocations: 2.503 MB / 0.5743 GB, free: 11.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.797e-05/0.2529, allocations: 41.7 kB / 0.5743 GB, free: 11.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/0.253, allocations: 12 kB / 0.5743 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001371/0.2544, allocations: 0.4948 MB / 0.5748 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.2556, allocations: 303.5 kB / 0.5751 GB, free: 10.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/0.2656, allocations: 8.346 MB / 0.5832 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001765/0.2674, allocations: 131.8 kB / 0.5834 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/0.2677, allocations: 63.92 kB / 0.5834 GB, free: 1.207 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.002832/0.2705, allocations: 1.296 MB / 0.5847 GB, free: 15.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001922/0.2724, allocations: 1.279 MB / 0.5859 GB, free: 14.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009068/0.2815, allocations: 3.488 MB / 0.5894 GB, free: 10.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.164e-05/0.2815, allocations: 7.984 kB / 0.5894 GB, free: 10.74 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005082/0.2866, allocations: 2.452 MB / 0.5918 GB, free: 8.25 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.432e-05/0.2867, allocations: 37.7 kB / 0.5918 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.102e-05/0.2867, allocations: 8.062 kB / 0.5918 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001237/0.2879, allocations: 0.5159 MB / 0.5923 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.2891, allocations: 287.6 kB / 0.5926 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2426/0.5316, allocations: 8.332 MB / 0.6007 GB, free: 80.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.5332, allocations: 140.3 kB / 0.6008 GB, free: 80.15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001194/0.5333, allocations: 59.05 kB / 0.6009 GB, free: 80.15 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.0003782/0.5337, allocations: 294.3 kB / 0.6012 GB, free: 79.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.5339, allocations: 148.9 kB / 0.6013 GB, free: 79.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/0.538, allocations: 2.126 MB / 0.6034 GB, free: 79.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.424e-05/0.538, allocations: 13.84 kB / 0.6034 GB, free: 79.86 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.329e-05/0.5381, allocations: 5.016 kB / 0.6034 GB, free: 79.86 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.5381, allocations: 7.328 kB / 0.6034 GB, free: 79.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008616/0.5467, allocations: 4.361 MB / 0.6077 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.5467, allocations: 3.875 kB / 0.6077 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.5476, allocations: 207 kB / 0.6079 GB, free: 78.59 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/0.549, allocations: 0.5121 MB / 0.6084 GB, free: 78.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/0.5492, allocations: 39.89 kB / 0.6084 GB, free: 78.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007406/0.5566, allocations: 8.154 MB / 0.6164 GB, free: 72.05 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5566, allocations: 7.312 kB / 0.6164 GB, free: 72.05 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005634/0.5622, allocations: 3.173 MB / 0.6195 GB, free: 70.74 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009962/0.5632, allocations: 290.3 kB / 0.6198 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002126/0.5634, allocations: 33.78 kB / 0.6198 GB, free: 70.64 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009695/0.5644, allocations: 105.4 kB / 0.6199 GB, free: 70.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/0.5647, allocations: 117.5 kB / 0.62 GB, free: 70.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.602e-05/0.5648, allocations: 40.27 kB / 0.6201 GB, free: 70.59 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001213/0.566, allocations: 0.8068 MB / 0.6208 GB, free: 70.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.566, allocations: 0 / 0.6208 GB, free: 70.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002355/0.5683, allocations: 0.7835 MB / 0.6216 GB, free: 70.19 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.004612/0.5729, allocations: 3.807 MB / 0.6253 GB, free: 68.34 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007727/0.5807, allocations: 6.421 MB / 0.6316 GB, free: 63.59 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.637e-06/0.5807, allocations: 0.9844 kB / 0.6316 GB, free: 63.59 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003277/0.584, allocations: 2.688 MB / 0.6342 GB, free: 60.82 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/0.5857, allocations: 399.6 kB / 0.6346 GB, free: 60.46 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.6009, allocations: 12.52 MB / 0.6468 GB, free: 47.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.602, allocations: 1.267 MB / 0.6481 GB, free: 46.19 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001114/0.6031, allocations: 431.9 kB / 0.6485 GB, free: 45.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008175/0.6039, allocations: 0.8547 MB / 0.6493 GB, free: 44.91 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.6039, allocations: 0 / 0.6493 GB, free: 44.91 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1051/0.709, allocations: 52.2 MB / 0.7003 GB, free: 9.211 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.08/13.79, allocations: 2.812 kB / 0.7003 GB, free: 9.211 MB / 462.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.106010120362043] Failed to read output from testmodel.py, exit status != 0: 13.931705294176936 13.954423932 13.784412469 Calling exit ...