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.001308/0.001308, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001482/0.001482, allocations: 218 kB / 23.04 MB, free: 5.074 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.04445/0.04445, allocations: 8.55 MB / 321.8 MB, free: 10.59 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.002041/0.002041, allocations: 67.91 kB / 447.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1213/0.1233, allocations: 55.43 MB / 0.4914 GB, free: 8.402 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.01352/0.1368, allocations: 9.841 MB / 0.501 GB, free: 14.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007001/0.1438, allocations: 2.766 MB / 0.5037 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001961/0.1458, allocations: 71.5 kB / 0.5037 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.1475, allocations: 0.5042 MB / 0.5042 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.1504, allocations: 0.7103 MB / 0.5049 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001563/0.1519, allocations: 0.5539 MB / 0.5055 GB, free: 9.895 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.003729/0.1557, allocations: 2.674 MB / 0.5081 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.1575, allocations: 1.328 MB / 0.5094 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001877/0.1594, allocations: 1.234 MB / 0.5106 GB, free: 4.578 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001991/0.1614, allocations: 1.475 MB / 0.512 GB, free: 3.098 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004495/0.1619, allocations: 332 kB / 0.5123 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007832/0.1626, allocations: 439.8 kB / 0.5127 GB, free: 2.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009072/0.1636, allocations: 0.8727 MB / 0.5136 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001625/0.1652, allocations: 1.423 MB / 0.515 GB, free: 40 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2646/0.4298, allocations: 4.154 MB / 0.519 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.4298, allocations: 0 / 0.519 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4298, allocations: 0 / 0.519 GB, free: 14.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001129/0.4299, allocations: 1.125 kB / 0.519 GB, free: 14.4 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.005844/0.4357, allocations: 2.897 MB / 0.5219 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.4358, allocations: 9.469 kB / 0.5219 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.465e-05/0.4358, allocations: 64.33 kB / 0.5219 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003785/0.4362, allocations: 332.1 kB / 0.5223 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007917/0.437, allocations: 309.8 kB / 0.5226 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/0.4396, allocations: 1.429 MB / 0.524 GB, free: 12.69 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.0002505/0.4398, allocations: 295.2 kB / 0.5242 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003314/0.4401, allocations: 234.2 kB / 0.5245 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005131/0.4453, allocations: 2.951 MB / 0.5273 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.287e-05/0.4453, allocations: 12.95 kB / 0.5274 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002196/0.4456, allocations: 98.77 kB / 0.5274 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001273/0.4457, allocations: 105.5 kB / 0.5275 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004524/0.4502, allocations: 2.365 MB / 0.5299 GB, free: 12.15 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01395/0.4642, allocations: 8.498 MB / 0.5382 GB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002492/0.4667, allocations: 1.335 MB / 0.5395 GB, free: 6.883 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.4683, allocations: 0.8901 MB / 0.5403 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002143/0.4685, allocations: 53.66 kB / 0.5404 GB, free: 6.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.4698, allocations: 0.7796 MB / 0.5411 GB, free: 5.953 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.396e-06/0.4698, allocations: 0 / 0.5411 GB, free: 5.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01452/0.4843, allocations: 6.465 MB / 0.5475 GB, free: 2.516 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.14e-05/0.4844, allocations: 245.5 kB / 0.5477 GB, free: 2.234 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.001604/0.486, allocations: 1.187 MB / 0.5489 GB, free: 1.574 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.983e-05/0.4861, allocations: 50.45 kB / 0.5489 GB, free: 1.527 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007262/0.4868, allocations: 1.038 MB / 0.5499 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.4871, allocations: 443.7 kB / 0.5503 GB, free: 252 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003724/0.4875, allocations: 257.9 kB / 0.5506 GB, free: 104 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4876, allocations: 309 kB / 0.5509 GB, free: 15.8 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001198/0.4888, allocations: 0.7083 MB / 0.5516 GB, free: 15.44 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001523/0.4903, allocations: 1.12 MB / 0.5527 GB, free: 14.56 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008523/0.4988, allocations: 3.554 MB / 0.5561 GB, free: 11.96 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.156e-05/0.4988, allocations: 8 kB / 0.5561 GB, free: 11.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005556/0.5044, allocations: 2.461 MB / 0.5585 GB, free: 9.535 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.077e-05/0.5045, allocations: 41.77 kB / 0.5586 GB, free: 9.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.524e-05/0.5045, allocations: 12 kB / 0.5586 GB, free: 9.477 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001312/0.5058, allocations: 0.5029 MB / 0.5591 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.507, allocations: 303.4 kB / 0.5594 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009185/0.5162, allocations: 8.39 MB / 0.5676 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001688/0.5179, allocations: 139.8 kB / 0.5677 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.518, allocations: 60 kB / 0.5678 GB, free: 15.72 MB / 414.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.002485/0.5205, allocations: 1.29 MB / 0.569 GB, free: 14.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00161/0.5221, allocations: 1.091 MB / 0.5701 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008505/0.5306, allocations: 3.475 MB / 0.5735 GB, free: 9.582 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-05/0.5306, allocations: 4 kB / 0.5735 GB, free: 9.578 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004897/0.5355, allocations: 2.433 MB / 0.5759 GB, free: 7.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.5356, allocations: 37.7 kB / 0.5759 GB, free: 7.152 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.852e-05/0.5356, allocations: 8 kB / 0.5759 GB, free: 7.145 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.5369, allocations: 0.504 MB / 0.5764 GB, free: 6.629 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.538, allocations: 294.1 kB / 0.5767 GB, free: 6.359 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009848/0.5479, allocations: 8.389 MB / 0.5849 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002169/0.55, allocations: 132.7 kB / 0.585 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002146/0.5502, allocations: 64.05 kB / 0.5851 GB, free: 13.38 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.0006966/0.5509, allocations: 301.5 kB / 0.5853 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005145/0.5515, allocations: 143.1 kB / 0.5855 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005013/0.5565, allocations: 2.133 MB / 0.5876 GB, free: 10.81 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.94e-05/0.5565, allocations: 15.94 kB / 0.5876 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/0.5565, allocations: 5.406 kB / 0.5876 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.5566, allocations: 3.984 kB / 0.5876 GB, free: 10.79 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01052/0.5671, allocations: 4.594 MB / 0.5921 GB, free: 6.148 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.128e-05/0.5671, allocations: 4 kB / 0.5921 GB, free: 6.145 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009093/0.568, allocations: 202.9 kB / 0.5923 GB, free: 5.957 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001456/0.5695, allocations: 0.5119 MB / 0.5928 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001348/0.5696, allocations: 42.78 kB / 0.5928 GB, free: 5.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009018/0.5786, allocations: 8.218 MB / 0.6008 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.5786, allocations: 7.984 kB / 0.6008 GB, free: 12.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006244/0.5849, allocations: 3.164 MB / 0.6039 GB, free: 9.539 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001028/0.5859, allocations: 290.9 kB / 0.6042 GB, free: 9.254 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004615/0.5863, allocations: 35.98 kB / 0.6042 GB, free: 9.219 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.5876, allocations: 103.9 kB / 0.6043 GB, free: 9.117 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003725/0.588, allocations: 123.3 kB / 0.6045 GB, free: 9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000105/0.5881, allocations: 35.98 kB / 0.6045 GB, free: 8.965 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001887/0.59, allocations: 0.8028 MB / 0.6053 GB, free: 8.156 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.59, allocations: 4 kB / 0.6053 GB, free: 8.152 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00422/0.5942, allocations: 0.7804 MB / 0.606 GB, free: 7.375 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.006622/0.6008, allocations: 3.803 MB / 0.6098 GB, free: 3.504 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01106/0.6119, allocations: 6.367 MB / 0.616 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/0.6119, allocations: 0 / 0.616 GB, free: 13.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004622/0.6165, allocations: 2.683 MB / 0.6186 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002648/0.6192, allocations: 400.4 kB / 0.619 GB, free: 9.906 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02594/0.6451, allocations: 12.44 MB / 0.6311 GB, free: 13.1 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002411/0.6475, allocations: 1.833 MB / 0.6329 GB, free: 11.23 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001631/0.6491, allocations: 427.9 kB / 0.6333 GB, free: 10.8 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00136/0.6505, allocations: 0.8625 MB / 0.6342 GB, free: 9.941 MB / 478.1 MB Notification: Performance of SimCode: time 1.062e-06/0.6505, allocations: 0 / 0.6342 GB, free: 9.941 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/0.7698, allocations: 50.51 MB / 0.6835 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.81/15.58, allocations: 6.562 kB / 0.6835 GB, free: 7.941 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: 18.91538307699375] Failed to read output from testmodel.py, exit status != 0: 15.772958371089771 15.790021067 15.356976131 Calling exit ...