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.00156/0.00156, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001898/0.001898, allocations: 214.5 kB / 23.03 MB, free: 4.926 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.06311/0.06311, allocations: 8.531 MB / 321.7 MB, free: 10.52 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_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.002015/0.002015, allocations: 67.83 kB / 447.6 MB, free: 15.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1187, allocations: 55.43 MB / 0.4913 GB, free: 8.227 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.01353/0.1322, allocations: 8.609 MB / 0.4997 GB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006577/0.1388, allocations: 2.634 MB / 0.5023 GB, free: 12.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001773/0.1405, allocations: 63.62 kB / 0.5023 GB, free: 12.87 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.1419, allocations: 0.4886 MB / 0.5028 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.1441, allocations: 0.7025 MB / 0.5035 GB, free: 11.67 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1453, allocations: 0.5489 MB / 0.504 GB, free: 11.12 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.00336/0.1487, allocations: 2.674 MB / 0.5066 GB, free: 8.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002006/0.1507, allocations: 1.332 MB / 0.5079 GB, free: 7.043 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002076/0.1528, allocations: 1.234 MB / 0.5091 GB, free: 5.805 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.1551, allocations: 1.475 MB / 0.5106 GB, free: 4.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006083/0.1557, allocations: 336 kB / 0.5109 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009071/0.1566, allocations: 431.8 kB / 0.5113 GB, free: 3.574 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009327/0.1575, allocations: 0.8727 MB / 0.5122 GB, free: 2.699 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001621/0.1591, allocations: 1.151 MB / 0.5133 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2354/0.3945, allocations: 4.184 MB / 0.5174 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.3945, allocations: 3.344 kB / 0.5174 GB, free: 14.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3945, allocations: 0 / 0.5174 GB, free: 14.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.3947, allocations: 0 / 0.5174 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.006975/0.4017, allocations: 2.899 MB / 0.5202 GB, free: 13.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4017, allocations: 10.59 kB / 0.5202 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.626e-05/0.4018, allocations: 62.89 kB / 0.5203 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004899/0.4023, allocations: 336.6 kB / 0.5206 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.4031, allocations: 306.9 kB / 0.5209 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00272/0.4058, allocations: 1.431 MB / 0.5223 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.0002753/0.4061, allocations: 288.8 kB / 0.5226 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.4065, allocations: 237.6 kB / 0.5228 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006023/0.4126, allocations: 3.101 MB / 0.5258 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.006e-05/0.4126, allocations: 10.39 kB / 0.5258 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002447/0.4129, allocations: 99.42 kB / 0.5259 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.413, allocations: 105.3 kB / 0.526 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004594/0.4176, allocations: 2.363 MB / 0.5283 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01333/0.4309, allocations: 7.806 MB / 0.5359 GB, free: 8.203 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002421/0.4333, allocations: 1.326 MB / 0.5372 GB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001555/0.4349, allocations: 0.8952 MB / 0.5381 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001931/0.4351, allocations: 43.16 kB / 0.5382 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.4363, allocations: 0.883 MB / 0.539 GB, free: 7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.4363, allocations: 0 / 0.539 GB, free: 7 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01451/0.4509, allocations: 6.467 MB / 0.5453 GB, free: 3.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.977e-05/0.4509, allocations: 246.1 kB / 0.5456 GB, free: 3.375 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.001573/0.4525, allocations: 1.18 MB / 0.5467 GB, free: 2.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001281/0.4526, allocations: 48.11 kB / 0.5468 GB, free: 2.672 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007797/0.4534, allocations: 1.041 MB / 0.5478 GB, free: 1.766 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003192/0.4537, allocations: 445.4 kB / 0.5482 GB, free: 1.391 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004022/0.4541, allocations: 260 kB / 0.5485 GB, free: 1.242 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.4542, allocations: 305.9 kB / 0.5487 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.4554, allocations: 0.7373 MB / 0.5495 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.457, allocations: 1.301 MB / 0.5507 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008582/0.4656, allocations: 3.552 MB / 0.5542 GB, free: 13.36 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.4656, allocations: 2.812 kB / 0.5542 GB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005361/0.4709, allocations: 2.503 MB / 0.5567 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.645e-05/0.471, allocations: 41.69 kB / 0.5567 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.471, allocations: 12.39 kB / 0.5567 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.4723, allocations: 0.4952 MB / 0.5572 GB, free: 10.54 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4734, allocations: 312.7 kB / 0.5575 GB, free: 10.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00915/0.4826, allocations: 8.348 MB / 0.5656 GB, free: 1.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001649/0.4842, allocations: 131.8 kB / 0.5658 GB, free: 1.391 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.4844, allocations: 59.98 kB / 0.5658 GB, free: 1.332 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.002614/0.487, allocations: 1.307 MB / 0.5671 GB, free: 16 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001709/0.4887, allocations: 1.271 MB / 0.5683 GB, free: 14.54 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008476/0.4972, allocations: 3.488 MB / 0.5717 GB, free: 10.93 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.233e-05/0.4972, allocations: 4 kB / 0.5717 GB, free: 10.93 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004561/0.5017, allocations: 2.446 MB / 0.5741 GB, free: 8.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/0.5018, allocations: 37.7 kB / 0.5742 GB, free: 8.477 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5018, allocations: 12 kB / 0.5742 GB, free: 8.465 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.503, allocations: 0.497 MB / 0.5747 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.5041, allocations: 294 kB / 0.575 GB, free: 7.691 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008836/0.5129, allocations: 8.349 MB / 0.5831 GB, free: 14.94 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.5145, allocations: 140.5 kB / 0.5832 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001342/0.5147, allocations: 59.98 kB / 0.5833 GB, free: 14.75 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.0005302/0.5152, allocations: 300.8 kB / 0.5836 GB, free: 14.47 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/0.5155, allocations: 143.1 kB / 0.5837 GB, free: 14.33 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004274/0.5198, allocations: 2.119 MB / 0.5858 GB, free: 12.19 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/0.5198, allocations: 15.94 kB / 0.5858 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-05/0.5198, allocations: 8 kB / 0.5858 GB, free: 12.17 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.5198, allocations: 7.969 kB / 0.5858 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008588/0.5284, allocations: 4.365 MB / 0.5901 GB, free: 7.758 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/0.5284, allocations: 4 kB / 0.5901 GB, free: 7.754 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009067/0.5293, allocations: 204.1 kB / 0.5903 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001395/0.5307, allocations: 0.5078 MB / 0.5908 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001121/0.5308, allocations: 38.98 kB / 0.5908 GB, free: 7.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008601/0.5394, allocations: 8.167 MB / 0.5988 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.528e-06/0.5394, allocations: 10.81 kB / 0.5988 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005868/0.5453, allocations: 3.161 MB / 0.6019 GB, free: 11.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000858/0.5462, allocations: 290.9 kB / 0.6022 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002328/0.5464, allocations: 35.98 kB / 0.6022 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/0.5474, allocations: 107.9 kB / 0.6023 GB, free: 10.77 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.5477, allocations: 118.2 kB / 0.6024 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.103e-05/0.5478, allocations: 42.17 kB / 0.6025 GB, free: 10.62 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00122/0.549, allocations: 0.799 MB / 0.6032 GB, free: 9.82 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.549, allocations: 0 / 0.6032 GB, free: 9.82 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002619/0.5516, allocations: 0.7851 MB / 0.604 GB, free: 9.035 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.006124/0.5577, allocations: 3.815 MB / 0.6077 GB, free: 5.16 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.011/0.5687, allocations: 6.419 MB / 0.614 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-05/0.5687, allocations: 0 / 0.614 GB, free: 14.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004502/0.5732, allocations: 2.69 MB / 0.6166 GB, free: 11.87 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.5757, allocations: 399 kB / 0.617 GB, free: 11.49 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.02303/0.5988, allocations: 12.51 MB / 0.6292 GB, free: 14.6 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.6003, allocations: 1.271 MB / 0.6305 GB, free: 13.28 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001325/0.6016, allocations: 420 kB / 0.6309 GB, free: 12.86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001144/0.6027, allocations: 0.8586 MB / 0.6317 GB, free: 12 MB / 478.1 MB Notification: Performance of SimCode: time 1.123e-06/0.6027, allocations: 0 / 0.6317 GB, free: 12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/0.7161, allocations: 52.29 MB / 0.6828 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.99/15.7, allocations: 10.56 kB / 0.6828 GB, free: 8.344 MB / 0.5137 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.081467570038512] Failed to read output from testmodel.py, exit status != 0: 15.897185168927535 15.912389813 15.514708075 Calling exit ...