Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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.001394/0.001394, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 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.00165/0.00165, allocations: 221.8 kB / 23.03 MB, free: 4.945 MB / 14.72 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04457/0.04457, allocations: 8.55 MB / 321.8 MB, free: 10.54 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="cs",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: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 75.83 kB / 447.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1094, allocations: 55.42 MB / 0.4913 GB, free: 8.281 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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01135/0.1208, allocations: 8.62 MB / 0.4997 GB, free: 15.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005435/0.1262, allocations: 2.641 MB / 0.5023 GB, free: 12.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009994/0.1272, allocations: 67.56 kB / 0.5023 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.1284, allocations: 492.3 kB / 0.5028 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.1303, allocations: 0.7065 MB / 0.5035 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001134/0.1314, allocations: 0.5441 MB / 0.504 GB, free: 11.16 MB / 382.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.003311/0.1348, allocations: 2.677 MB / 0.5066 GB, free: 8.477 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001821/0.1366, allocations: 1.332 MB / 0.5079 GB, free: 7.082 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001816/0.1384, allocations: 1.242 MB / 0.5091 GB, free: 5.836 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001946/0.1403, allocations: 1.471 MB / 0.5106 GB, free: 4.359 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004593/0.1408, allocations: 332 kB / 0.5109 GB, free: 4.035 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.1416, allocations: 431.8 kB / 0.5113 GB, free: 3.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008901/0.1425, allocations: 0.8727 MB / 0.5122 GB, free: 2.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.144, allocations: 1.151 MB / 0.5133 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2222/0.3661, allocations: 4.184 MB / 0.5174 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.3661, allocations: 0 / 0.5174 GB, free: 14.35 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3661, allocations: 0 / 0.5174 GB, free: 14.35 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001831/0.3663, allocations: 0.9062 kB / 0.5174 GB, free: 14.35 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.007201/0.3735, allocations: 2.897 MB / 0.5202 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3736, allocations: 12 kB / 0.5202 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.697e-05/0.3737, allocations: 67.08 kB / 0.5203 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004397/0.3741, allocations: 335.2 kB / 0.5206 GB, free: 13.15 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.3749, allocations: 309.7 kB / 0.5209 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002644/0.3775, allocations: 1.42 MB / 0.5223 GB, free: 12.64 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.0002467/0.3778, allocations: 292.4 kB / 0.5226 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/0.3782, allocations: 239 kB / 0.5228 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005465/0.3836, allocations: 3.103 MB / 0.5258 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.827e-05/0.3837, allocations: 6.812 kB / 0.5258 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002433/0.3839, allocations: 99.39 kB / 0.5259 GB, free: 12.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001461/0.3841, allocations: 105.9 kB / 0.526 GB, free: 12.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004374/0.3885, allocations: 2.363 MB / 0.5283 GB, free: 12.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.4002, allocations: 7.794 MB / 0.5359 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002327/0.4025, allocations: 1.333 MB / 0.5372 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001565/0.4041, allocations: 0.8974 MB / 0.5381 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/0.4043, allocations: 39.61 kB / 0.5382 GB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001193/0.4055, allocations: 0.8884 MB / 0.539 GB, free: 6.961 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.996e-06/0.4055, allocations: 0 / 0.539 GB, free: 6.961 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0141/0.4196, allocations: 6.471 MB / 0.5453 GB, free: 3.652 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.018e-05/0.4197, allocations: 248.2 kB / 0.5456 GB, free: 3.371 MB / 382.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.001593/0.4213, allocations: 1.186 MB / 0.5467 GB, free: 2.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.965e-05/0.4214, allocations: 50.03 kB / 0.5468 GB, free: 2.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000733/0.4221, allocations: 1.039 MB / 0.5478 GB, free: 1.758 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002452/0.4223, allocations: 440.7 kB / 0.5482 GB, free: 1.387 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004118/0.4228, allocations: 260.8 kB / 0.5485 GB, free: 1.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.521e-05/0.4228, allocations: 306.9 kB / 0.5488 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/0.424, allocations: 0.7337 MB / 0.5495 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4256, allocations: 1.299 MB / 0.5508 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008498/0.4341, allocations: 3.554 MB / 0.5542 GB, free: 13.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.4341, allocations: 2.625 kB / 0.5542 GB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005265/0.4394, allocations: 2.498 MB / 0.5567 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.765e-05/0.4394, allocations: 37.69 kB / 0.5567 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/0.4395, allocations: 12 kB / 0.5567 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.4407, allocations: 0.5026 MB / 0.5572 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.442, allocations: 301.2 kB / 0.5575 GB, free: 10.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009014/0.451, allocations: 8.342 MB / 0.5656 GB, free: 1.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.4526, allocations: 139.8 kB / 0.5658 GB, free: 1.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000145/0.4527, allocations: 60 kB / 0.5658 GB, free: 1.348 MB / 398.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002389/0.4551, allocations: 1.315 MB / 0.5671 GB, free: 32 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001724/0.4568, allocations: 1.269 MB / 0.5683 GB, free: 14.56 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008415/0.4653, allocations: 3.49 MB / 0.5718 GB, free: 10.95 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.648e-06/0.4653, allocations: 0 / 0.5718 GB, free: 10.95 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004768/0.47, allocations: 2.448 MB / 0.5741 GB, free: 8.543 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.219e-05/0.4701, allocations: 38.02 kB / 0.5742 GB, free: 8.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.4701, allocations: 14.62 kB / 0.5742 GB, free: 8.488 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4713, allocations: 0.4921 MB / 0.5747 GB, free: 7.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001101/0.4724, allocations: 298.6 kB / 0.575 GB, free: 7.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009352/0.4817, allocations: 8.341 MB / 0.5831 GB, free: 14.97 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001798/0.4835, allocations: 135.9 kB / 0.5832 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001431/0.4837, allocations: 63.98 kB / 0.5833 GB, free: 14.78 MB / 430.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real 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.0006836/0.4843, allocations: 296.8 kB / 0.5836 GB, free: 14.5 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003797/0.4847, allocations: 147.1 kB / 0.5837 GB, free: 14.36 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004364/0.4891, allocations: 2.122 MB / 0.5858 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-05/0.4891, allocations: 15.94 kB / 0.5858 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.4891, allocations: 7.5 kB / 0.5858 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.439e-05/0.4891, allocations: 11.97 kB / 0.5858 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008463/0.4976, allocations: 4.358 MB / 0.5901 GB, free: 7.785 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/0.4976, allocations: 8 kB / 0.5901 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009971/0.4986, allocations: 195.7 kB / 0.5903 GB, free: 7.598 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.5002, allocations: 0.5227 MB / 0.5908 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001168/0.5003, allocations: 34.06 kB / 0.5908 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009322/0.5096, allocations: 8.167 MB / 0.5988 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/0.5096, allocations: 4 kB / 0.5988 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006092/0.5157, allocations: 3.178 MB / 0.6019 GB, free: 11.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008876/0.5166, allocations: 290.9 kB / 0.6022 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002335/0.5168, allocations: 31.98 kB / 0.6022 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009925/0.5178, allocations: 103.9 kB / 0.6023 GB, free: 10.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/0.5181, allocations: 116.4 kB / 0.6024 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.5182, allocations: 43.92 kB / 0.6025 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.5196, allocations: 0.8107 MB / 0.6033 GB, free: 9.828 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5196, allocations: 0 / 0.6033 GB, free: 9.828 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002659/0.5222, allocations: 0.7734 MB / 0.604 GB, free: 9.055 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.006368/0.5286, allocations: 3.81 MB / 0.6077 GB, free: 5.184 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01123/0.5398, allocations: 6.417 MB / 0.614 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.526e-06/0.5398, allocations: 0 / 0.614 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004496/0.5443, allocations: 2.686 MB / 0.6166 GB, free: 11.89 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00211/0.5464, allocations: 395.4 kB / 0.617 GB, free: 11.52 MB / 462.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.02256/0.569, allocations: 12.52 MB / 0.6292 GB, free: 14.62 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001848/0.5708, allocations: 1.271 MB / 0.6305 GB, free: 13.3 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001625/0.5725, allocations: 416 kB / 0.6309 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001324/0.5738, allocations: 0.8664 MB / 0.6317 GB, free: 12.02 MB / 478.1 MB Notification: Performance of SimCode: time 1.492e-06/0.5738, allocations: 0 / 0.6317 GB, free: 12.02 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1631/0.7369, allocations: 52.29 MB / 0.6828 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.16/15.89, allocations: 9.438 kB / 0.6828 GB, free: 8.371 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.22404350200668] Failed to read output from testmodel.py, exit status != 0: 16.084802753990516 16.102128811 15.732514199 Calling exit ...