Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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.001473/0.001473, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001667/0.001667, allocations: 216.1 kB / 22.25 MB, free: 5.262 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.466/1.466, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.04239/0.04239, allocations: 8.546 MB / 321 MB, free: 10.42 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",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: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 63.91 kB / 446.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09358/0.09576, allocations: 55.42 MB / 0.4905 GB, free: 8.156 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.01252/0.1083, allocations: 8.636 MB / 0.4989 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005697/0.114, allocations: 2.641 MB / 0.5015 GB, free: 12.83 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001337/0.1153, allocations: 63.62 kB / 0.5016 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.1168, allocations: 492.4 kB / 0.502 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.119, allocations: 0.7103 MB / 0.5027 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.1204, allocations: 0.5527 MB / 0.5033 GB, free: 11.02 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.003411/0.1238, allocations: 2.67 MB / 0.5059 GB, free: 8.332 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002115/0.1259, allocations: 1.277 MB / 0.5071 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001749/0.1276, allocations: 1.231 MB / 0.5083 GB, free: 5.758 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00224/0.1299, allocations: 1.369 MB / 0.5097 GB, free: 4.383 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006802/0.1306, allocations: 339.9 kB / 0.51 GB, free: 4.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.1316, allocations: 427.8 kB / 0.5104 GB, free: 3.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001164/0.1328, allocations: 0.8648 MB / 0.5112 GB, free: 2.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001806/0.1346, allocations: 1.155 MB / 0.5124 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2063/0.3408, allocations: 4.186 MB / 0.5165 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3408, allocations: 0 / 0.5165 GB, free: 14.26 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.3408, allocations: 0 / 0.5165 GB, free: 14.26 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.142e-05/0.3409, allocations: 0 / 0.5165 GB, free: 14.26 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.005447/0.3464, allocations: 2.905 MB / 0.5193 GB, free: 13.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.3464, allocations: 10.59 kB / 0.5193 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003967/0.3468, allocations: 335.6 kB / 0.5196 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007462/0.3475, allocations: 304.5 kB / 0.5199 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.3502, allocations: 1.422 MB / 0.5213 GB, free: 12.56 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.0002091/0.3504, allocations: 299.4 kB / 0.5216 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003428/0.3507, allocations: 234 kB / 0.5218 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005001/0.3557, allocations: 3.102 MB / 0.5248 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.858e-05/0.3558, allocations: 8.047 kB / 0.5249 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002243/0.356, allocations: 103.1 kB / 0.525 GB, free: 11.99 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001222/0.3561, allocations: 106.2 kB / 0.5251 GB, free: 11.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004435/0.3606, allocations: 2.357 MB / 0.5274 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0131/0.3737, allocations: 7.796 MB / 0.535 GB, free: 8.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.376, allocations: 1.333 MB / 0.5363 GB, free: 7.613 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.3776, allocations: 0.8927 MB / 0.5371 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/0.3778, allocations: 43.47 kB / 0.5372 GB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001217/0.379, allocations: 0.8822 MB / 0.538 GB, free: 6.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.965e-06/0.379, allocations: 0 / 0.538 GB, free: 6.887 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0135/0.3926, allocations: 6.463 MB / 0.5444 GB, free: 3.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3926, allocations: 251.9 kB / 0.5446 GB, free: 3.277 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.001298/0.3939, allocations: 1.206 MB / 0.5458 GB, free: 2.605 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.67e-05/0.394, allocations: 53.05 kB / 0.5458 GB, free: 2.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005856/0.3946, allocations: 1.042 MB / 0.5468 GB, free: 1.648 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000226/0.3948, allocations: 436.6 kB / 0.5473 GB, free: 1.277 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000348/0.3951, allocations: 261.9 kB / 0.5475 GB, free: 1.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.508e-05/0.3952, allocations: 308.3 kB / 0.5478 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001126/0.3963, allocations: 0.7312 MB / 0.5485 GB, free: 448 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.3979, allocations: 1.297 MB / 0.5498 GB, free: 15.35 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008098/0.406, allocations: 3.556 MB / 0.5533 GB, free: 13.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.477e-06/0.406, allocations: 3.094 kB / 0.5533 GB, free: 13.25 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004684/0.4107, allocations: 2.499 MB / 0.5557 GB, free: 11.19 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.4108, allocations: 37.69 kB / 0.5557 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.317e-05/0.4108, allocations: 12 kB / 0.5557 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.412, allocations: 0.4967 MB / 0.5562 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.4131, allocations: 307.2 kB / 0.5565 GB, free: 10.34 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008841/0.422, allocations: 8.338 MB / 0.5647 GB, free: 1.617 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/0.4234, allocations: 135.9 kB / 0.5648 GB, free: 1.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001213/0.4236, allocations: 56.14 kB / 0.5649 GB, free: 1.43 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.002318/0.4259, allocations: 1.308 MB / 0.5661 GB, free: 120 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001681/0.4276, allocations: 1.273 MB / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008468/0.436, allocations: 3.485 MB / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.848e-06/0.436, allocations: 4 kB / 0.5708 GB, free: 11.03 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004536/0.4406, allocations: 2.449 MB / 0.5732 GB, free: 8.621 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.065e-05/0.4406, allocations: 39.73 kB / 0.5732 GB, free: 8.578 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.4406, allocations: 16 kB / 0.5732 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.4418, allocations: 0.5052 MB / 0.5737 GB, free: 8.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4429, allocations: 294.3 kB / 0.574 GB, free: 7.781 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008874/0.4518, allocations: 8.343 MB / 0.5821 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001502/0.4533, allocations: 138.4 kB / 0.5823 GB, free: 14.91 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/0.4534, allocations: 63.92 kB / 0.5823 GB, free: 14.84 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.0004729/0.4539, allocations: 303.6 kB / 0.5826 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.4541, allocations: 143.1 kB / 0.5828 GB, free: 14.43 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004287/0.4584, allocations: 2.119 MB / 0.5848 GB, free: 12.29 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.938e-06/0.4584, allocations: 12 kB / 0.5848 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.518e-05/0.4584, allocations: 11.94 kB / 0.5849 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.4585, allocations: 11.97 kB / 0.5849 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008435/0.4669, allocations: 4.353 MB / 0.5891 GB, free: 7.859 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.806e-06/0.4669, allocations: 6.078 kB / 0.5891 GB, free: 7.855 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008855/0.4678, allocations: 203.8 kB / 0.5893 GB, free: 7.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.4691, allocations: 0.5143 MB / 0.5898 GB, free: 7.141 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.4692, allocations: 39.98 kB / 0.5899 GB, free: 7.102 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008837/0.4781, allocations: 8.164 MB / 0.5978 GB, free: 14.53 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.4781, allocations: 4 kB / 0.5978 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/0.4842, allocations: 3.175 MB / 0.6009 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/0.4852, allocations: 290.9 kB / 0.6012 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.4855, allocations: 35.98 kB / 0.6013 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009739/0.4864, allocations: 99.88 kB / 0.6013 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.4867, allocations: 119.6 kB / 0.6015 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.621e-05/0.4868, allocations: 39.98 kB / 0.6015 GB, free: 10.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001317/0.4881, allocations: 0.8067 MB / 0.6023 GB, free: 9.91 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4881, allocations: 0 / 0.6023 GB, free: 9.91 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002624/0.4908, allocations: 0.7873 MB / 0.6031 GB, free: 9.125 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.006021/0.4968, allocations: 3.801 MB / 0.6068 GB, free: 5.262 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01036/0.5071, allocations: 6.411 MB / 0.613 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.5071, allocations: 1.875 kB / 0.613 GB, free: 14.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004408/0.5116, allocations: 2.687 MB / 0.6157 GB, free: 11.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.5138, allocations: 401.8 kB / 0.616 GB, free: 11.59 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.0212/0.535, allocations: 12.52 MB / 0.6283 GB, free: 14.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001529/0.5365, allocations: 1.275 MB / 0.6295 GB, free: 13.38 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001282/0.5378, allocations: 416 kB / 0.6299 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.5389, allocations: 0.8625 MB / 0.6307 GB, free: 12.1 MB / 478.1 MB Notification: Performance of SimCode: time 1.182e-06/0.5389, allocations: 0 / 0.6307 GB, free: 12.1 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1177/0.6566, allocations: 52.19 MB / 0.6817 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.87, allocations: 15.92 kB / 0.6817 GB, free: 8.5 MB / 0.5137 GB " [Timeout remaining time 646] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.731122421100736] Failed to read output from testmodel.py, exit status != 0: 14.009922350756824 14.026016985 13.682049173 Calling exit ...