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.001314/0.001314, allocations: 102.9 kB / 16.45 MB, free: 6.449 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.001346/0.001346, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04211/0.04211, allocations: 8.549 MB / 317.4 MB, free: 11.77 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-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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_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.001946/0.001946, allocations: 75.86 kB / 441.8 MB, free: 3.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1201, allocations: 55.38 MB / 497.1 MB, free: 11.96 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.01323/0.1333, allocations: 9.8 MB / 0.4951 GB, free: 2.113 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006807/0.1401, allocations: 2.747 MB / 0.4977 GB, free: 15.36 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001978/0.1421, allocations: 71.5 kB / 0.4978 GB, free: 15.29 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001656/0.1438, allocations: 0.512 MB / 0.4983 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002557/0.1463, allocations: 0.7026 MB / 0.499 GB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.1477, allocations: 0.5414 MB / 0.4995 GB, free: 13.53 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.004049/0.1517, allocations: 2.67 MB / 0.5021 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.1541, allocations: 1.672 MB / 0.5038 GB, free: 9.105 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.1563, allocations: 1.23 MB / 0.505 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002315/0.1586, allocations: 1.479 MB / 0.5064 GB, free: 6.387 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.1591, allocations: 332 kB / 0.5067 GB, free: 6.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000908/0.16, allocations: 439.8 kB / 0.5071 GB, free: 5.633 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008963/0.1609, allocations: 0.8687 MB / 0.508 GB, free: 4.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.1627, allocations: 1.423 MB / 0.5094 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2416/0.4043, allocations: 4.151 MB / 0.5134 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.4043, allocations: 0.6875 kB / 0.5134 GB, free: 13.61 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4043, allocations: 0 / 0.5134 GB, free: 13.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001625/0.4044, allocations: 2.188 kB / 0.5134 GB, free: 13.61 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.006928/0.4114, allocations: 2.976 MB / 0.5163 GB, free: 12.38 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.66e-05/0.4114, allocations: 11.72 kB / 0.5163 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005688/0.412, allocations: 335.4 kB / 0.5167 GB, free: 12.33 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009806/0.413, allocations: 307.6 kB / 0.517 GB, free: 12.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002879/0.4158, allocations: 1.497 MB / 0.5184 GB, free: 11.76 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.0002498/0.4161, allocations: 240 kB / 0.5187 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000387/0.4165, allocations: 237.2 kB / 0.5189 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005721/0.4222, allocations: 2.95 MB / 0.5218 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.259e-05/0.4223, allocations: 7 kB / 0.5218 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002186/0.4225, allocations: 99.8 kB / 0.5219 GB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001293/0.4226, allocations: 105.8 kB / 0.522 GB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004546/0.4272, allocations: 2.362 MB / 0.5243 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.4409, allocations: 8.678 MB / 0.5327 GB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002498/0.4434, allocations: 1.558 MB / 0.5343 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001635/0.445, allocations: 0.9013 MB / 0.5351 GB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.4452, allocations: 124 kB / 0.5353 GB, free: 6.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.4465, allocations: 0.7785 MB / 0.536 GB, free: 6.133 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.755e-06/0.4465, allocations: 0 / 0.536 GB, free: 6.133 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01463/0.4611, allocations: 6.987 MB / 0.5428 GB, free: 2.234 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.755e-05/0.4612, allocations: 257.8 kB / 0.5431 GB, free: 1.941 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.001525/0.4627, allocations: 1.181 MB / 0.5442 GB, free: 1.289 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000105/0.4628, allocations: 52.14 kB / 0.5443 GB, free: 1.238 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000628/0.4635, allocations: 1.033 MB / 0.5453 GB, free: 344 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.4638, allocations: 440.3 kB / 0.5457 GB, free: 15.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004396/0.4642, allocations: 266.8 kB / 0.546 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.4643, allocations: 301.1 kB / 0.5463 GB, free: 15.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4656, allocations: 0.71 MB / 0.547 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.4672, allocations: 1.126 MB / 0.5481 GB, free: 14.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008393/0.4756, allocations: 3.555 MB / 0.5515 GB, free: 11.84 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/0.4756, allocations: 4 kB / 0.5515 GB, free: 11.83 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004928/0.4805, allocations: 2.545 MB / 0.554 GB, free: 9.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.4806, allocations: 37.7 kB / 0.5541 GB, free: 9.273 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.269e-05/0.4806, allocations: 8 kB / 0.5541 GB, free: 9.266 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.4819, allocations: 0.4999 MB / 0.5546 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.4831, allocations: 300 kB / 0.5548 GB, free: 8.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00967/0.4928, allocations: 8.798 MB / 0.5634 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001653/0.4944, allocations: 135.9 kB / 0.5636 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.4946, allocations: 64.64 kB / 0.5636 GB, free: 15 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.002486/0.4971, allocations: 1.277 MB / 0.5649 GB, free: 13.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.4987, allocations: 1.091 MB / 0.5659 GB, free: 12.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008737/0.5074, allocations: 3.491 MB / 0.5693 GB, free: 8.871 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.374e-05/0.5074, allocations: 8 kB / 0.5694 GB, free: 8.863 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004783/0.5122, allocations: 2.498 MB / 0.5718 GB, free: 6.398 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.272e-05/0.5123, allocations: 37.69 kB / 0.5718 GB, free: 6.355 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.5123, allocations: 12 kB / 0.5718 GB, free: 6.344 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001254/0.5135, allocations: 0.4955 MB / 0.5723 GB, free: 5.84 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.5147, allocations: 301 kB / 0.5726 GB, free: 5.562 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009864/0.5246, allocations: 8.804 MB / 0.5812 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5263, allocations: 135.9 kB / 0.5813 GB, free: 12.11 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.5264, allocations: 67.27 kB / 0.5814 GB, free: 12.05 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.000528/0.527, allocations: 298.8 kB / 0.5817 GB, free: 11.77 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/0.5273, allocations: 151.1 kB / 0.5818 GB, free: 11.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004441/0.5317, allocations: 2.191 MB / 0.584 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.5317, allocations: 15.94 kB / 0.584 GB, free: 9.391 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.5317, allocations: 8 kB / 0.584 GB, free: 9.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.5318, allocations: 7.969 kB / 0.584 GB, free: 9.375 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008619/0.5404, allocations: 4.702 MB / 0.5886 GB, free: 4.605 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.5404, allocations: 5.219 kB / 0.5886 GB, free: 4.602 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009181/0.5413, allocations: 198 kB / 0.5888 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001426/0.5427, allocations: 0.5181 MB / 0.5893 GB, free: 3.891 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001167/0.5429, allocations: 43.97 kB / 0.5893 GB, free: 3.848 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009015/0.5519, allocations: 8.613 MB / 0.5977 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5519, allocations: 6.812 kB / 0.5977 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006065/0.5579, allocations: 3.249 MB / 0.6009 GB, free: 7.391 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009139/0.5589, allocations: 368 kB / 0.6013 GB, free: 7.012 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/0.5591, allocations: 35.98 kB / 0.6013 GB, free: 6.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009901/0.5601, allocations: 99.89 kB / 0.6014 GB, free: 6.879 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002994/0.5604, allocations: 118 kB / 0.6015 GB, free: 6.77 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.889e-05/0.5605, allocations: 39.98 kB / 0.6016 GB, free: 6.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001294/0.5617, allocations: 0.799 MB / 0.6023 GB, free: 5.926 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5617, allocations: 3.938 kB / 0.6023 GB, free: 5.922 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00277/0.5645, allocations: 0.789 MB / 0.6031 GB, free: 5.133 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.006305/0.5708, allocations: 3.872 MB / 0.6069 GB, free: 1.188 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01087/0.5817, allocations: 6.518 MB / 0.6133 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/0.5817, allocations: 4 kB / 0.6133 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004475/0.5862, allocations: 2.758 MB / 0.616 GB, free: 7.688 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.5884, allocations: 401.7 kB / 0.6163 GB, free: 7.305 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.02167/0.6101, allocations: 12.49 MB / 0.6285 GB, free: 10.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/0.6118, allocations: 1.837 MB / 0.6303 GB, free: 8.566 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001382/0.6132, allocations: 427.9 kB / 0.6307 GB, free: 8.145 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/0.6144, allocations: 0.8586 MB / 0.6316 GB, free: 7.285 MB / 478.1 MB Notification: Performance of SimCode: time 8.21e-07/0.6144, allocations: 0 / 0.6316 GB, free: 7.285 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1157/0.73, allocations: 48.92 MB / 0.6793 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.04, allocations: 3.938 kB / 0.6793 GB, free: 6.891 MB / 0.5137 GB " [Timeout remaining time 646] (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.945084820967168] Failed to read output from testmodel.py, exit status != 0: 14.149600743781775 14.176933805 13.767675252 Calling exit ...