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.001407/0.001407, 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.001649/0.001649, allocations: 215.2 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.436/1.436, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04157/0.04157, allocations: 8.536 MB / 321 MB, free: 10.4 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="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.002136/0.002136, allocations: 63.91 kB / 446.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1038, allocations: 55.43 MB / 0.4905 GB, free: 8.098 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.01217/0.116, allocations: 8.629 MB / 0.4989 GB, free: 15.43 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005667/0.1217, allocations: 2.641 MB / 0.5015 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.1227, allocations: 63.62 kB / 0.5016 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001189/0.1239, allocations: 492.4 kB / 0.5021 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.1256, allocations: 0.7025 MB / 0.5027 GB, free: 11.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.1267, allocations: 0.5559 MB / 0.5033 GB, free: 10.97 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.002922/0.1296, allocations: 2.674 MB / 0.5059 GB, free: 8.281 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/0.1314, allocations: 1.277 MB / 0.5071 GB, free: 6.941 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.133, allocations: 1.23 MB / 0.5083 GB, free: 5.707 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001873/0.1349, allocations: 1.366 MB / 0.5097 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.1354, allocations: 332 kB / 0.51 GB, free: 4.012 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007526/0.1361, allocations: 435.8 kB / 0.5104 GB, free: 3.586 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008577/0.137, allocations: 0.8766 MB / 0.5113 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.1382, allocations: 1.151 MB / 0.5124 GB, free: 1.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1922/0.3305, allocations: 4.18 MB / 0.5165 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.3305, allocations: 0 / 0.5165 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.3305, allocations: 0.8438 kB / 0.5165 GB, free: 14.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.581e-05/0.3306, allocations: 0 / 0.5165 GB, free: 14.23 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.005673/0.3363, allocations: 2.901 MB / 0.5193 GB, free: 13.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3363, allocations: 11.61 kB / 0.5193 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004062/0.3367, allocations: 335.6 kB / 0.5196 GB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.3375, allocations: 307.3 kB / 0.5199 GB, free: 12.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002856/0.3403, allocations: 1.429 MB / 0.5213 GB, free: 12.54 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.0002583/0.3406, allocations: 293.8 kB / 0.5216 GB, free: 12.4 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/0.3409, allocations: 234.2 kB / 0.5218 GB, free: 12.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00527/0.3462, allocations: 3.105 MB / 0.5249 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-05/0.3463, allocations: 6.672 kB / 0.5249 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002291/0.3465, allocations: 97.61 kB / 0.525 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001339/0.3466, allocations: 110.3 kB / 0.5251 GB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005478/0.3521, allocations: 2.353 MB / 0.5274 GB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01337/0.3655, allocations: 7.806 MB / 0.535 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.368, allocations: 1.323 MB / 0.5363 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.3696, allocations: 0.8926 MB / 0.5371 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002094/0.3698, allocations: 49.66 kB / 0.5372 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001188/0.371, allocations: 0.8726 MB / 0.538 GB, free: 6.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.835e-06/0.371, allocations: 5.031 kB / 0.5381 GB, free: 6.863 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01327/0.3843, allocations: 6.472 MB / 0.5444 GB, free: 3.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.3844, allocations: 248.6 kB / 0.5446 GB, free: 3.25 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.001333/0.3857, allocations: 1.201 MB / 0.5458 GB, free: 2.578 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.068e-05/0.3858, allocations: 48.36 kB / 0.5458 GB, free: 2.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005683/0.3863, allocations: 1.044 MB / 0.5468 GB, free: 1.621 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002268/0.3866, allocations: 435.2 kB / 0.5473 GB, free: 1.254 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.3869, allocations: 265.3 kB / 0.5475 GB, free: 1.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.517e-05/0.387, allocations: 307.1 kB / 0.5478 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.3881, allocations: 0.7331 MB / 0.5485 GB, free: 420 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001556/0.3896, allocations: 1.304 MB / 0.5498 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007943/0.3976, allocations: 3.554 MB / 0.5533 GB, free: 13.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.3976, allocations: 3.812 kB / 0.5533 GB, free: 13.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004528/0.4021, allocations: 2.496 MB / 0.5557 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.462e-05/0.4022, allocations: 45.69 kB / 0.5558 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/0.4022, allocations: 8 kB / 0.5558 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4034, allocations: 0.5005 MB / 0.5562 GB, free: 10.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.4045, allocations: 305.2 kB / 0.5565 GB, free: 10.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009037/0.4136, allocations: 8.348 MB / 0.5647 GB, free: 1.57 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/0.415, allocations: 135.9 kB / 0.5648 GB, free: 1.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.4151, allocations: 60 kB / 0.5649 GB, free: 1.379 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.002426/0.4176, allocations: 1.299 MB / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001666/0.4192, allocations: 1.269 MB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008228/0.4274, allocations: 3.486 MB / 0.5708 GB, free: 10.99 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.907e-06/0.4275, allocations: 7.188 kB / 0.5708 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004798/0.4323, allocations: 2.452 MB / 0.5732 GB, free: 8.574 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.574e-05/0.4323, allocations: 37.7 kB / 0.5732 GB, free: 8.531 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4323, allocations: 8 kB / 0.5732 GB, free: 8.523 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.4335, allocations: 0.5023 MB / 0.5737 GB, free: 8.012 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.4345, allocations: 298.3 kB / 0.574 GB, free: 7.742 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008924/0.4435, allocations: 8.345 MB / 0.5822 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.445, allocations: 131.9 kB / 0.5823 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001335/0.4451, allocations: 67.98 kB / 0.5824 GB, free: 14.8 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.0005475/0.4457, allocations: 292.9 kB / 0.5826 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003222/0.446, allocations: 147.1 kB / 0.5828 GB, free: 14.39 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004279/0.4503, allocations: 2.124 MB / 0.5848 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.142e-05/0.4503, allocations: 12 kB / 0.5849 GB, free: 12.24 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.4503, allocations: 7.938 kB / 0.5849 GB, free: 12.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4503, allocations: 7.969 kB / 0.5849 GB, free: 12.22 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008471/0.4588, allocations: 4.37 MB / 0.5891 GB, free: 7.812 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.4588, allocations: 4 kB / 0.5891 GB, free: 7.809 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008768/0.4597, allocations: 195.2 kB / 0.5893 GB, free: 7.629 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.461, allocations: 0.5154 MB / 0.5898 GB, free: 7.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.4611, allocations: 31.98 kB / 0.5899 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008621/0.4697, allocations: 8.159 MB / 0.5978 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.4697, allocations: 7.656 kB / 0.5978 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005756/0.4755, allocations: 3.172 MB / 0.6009 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009196/0.4764, allocations: 294.9 kB / 0.6012 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002173/0.4766, allocations: 31.98 kB / 0.6012 GB, free: 10.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.4776, allocations: 111.9 kB / 0.6014 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002548/0.4779, allocations: 112.5 kB / 0.6015 GB, free: 10.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.828e-05/0.478, allocations: 39.98 kB / 0.6015 GB, free: 10.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.4792, allocations: 0.8067 MB / 0.6023 GB, free: 9.879 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4792, allocations: 0 / 0.6023 GB, free: 9.879 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002513/0.4817, allocations: 0.7812 MB / 0.6031 GB, free: 9.098 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.006109/0.4878, allocations: 3.813 MB / 0.6068 GB, free: 5.223 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01033/0.4981, allocations: 6.411 MB / 0.613 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.4982, allocations: 4 kB / 0.613 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004249/0.5024, allocations: 2.69 MB / 0.6157 GB, free: 11.94 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.5044, allocations: 405.3 kB / 0.6161 GB, free: 11.56 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.02181/0.5262, allocations: 12.51 MB / 0.6283 GB, free: 14.66 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001613/0.5278, allocations: 1.263 MB / 0.6295 GB, free: 13.35 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.5292, allocations: 423.9 kB / 0.6299 GB, free: 12.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001169/0.5304, allocations: 0.8625 MB / 0.6308 GB, free: 12.07 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5304, allocations: 4 kB / 0.6308 GB, free: 12.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1226/0.653, allocations: 52.21 MB / 0.6817 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.44/14.09, allocations: 11.86 kB / 0.6817 GB, free: 8.484 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.89673202391714] Failed to read output from testmodel.py, exit status != 0: 14.231446871068329 14.257764027 13.923080716 Calling exit ...