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.001329/0.001329, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.00152/0.00152, allocations: 219.2 kB / 22.25 MB, free: 5.105 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.49/1.49, allocations: 230.6 MB / 256 MB, free: 7.801 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.04264/0.04264, allocations: 8.538 MB / 321 MB, free: 10.43 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003267/0.003267, allocations: 67.91 kB / 446.8 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1304, allocations: 55.42 MB / 0.4905 GB, free: 8.164 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.01165/0.1421, allocations: 8.631 MB / 0.4989 GB, free: 15.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005822/0.1479, allocations: 2.638 MB / 0.5015 GB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001159/0.1491, allocations: 67.56 kB / 0.5016 GB, free: 12.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.1504, allocations: 488.4 kB / 0.502 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002267/0.1527, allocations: 0.7181 MB / 0.5027 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001269/0.1539, allocations: 0.538 MB / 0.5033 GB, free: 11.04 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.003559/0.1575, allocations: 2.678 MB / 0.5059 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002144/0.1596, allocations: 1.336 MB / 0.5072 GB, free: 6.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001839/0.1615, allocations: 1.238 MB / 0.5084 GB, free: 5.711 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002122/0.1636, allocations: 1.475 MB / 0.5098 GB, free: 4.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005773/0.1642, allocations: 336 kB / 0.5102 GB, free: 3.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008781/0.1651, allocations: 435.8 kB / 0.5106 GB, free: 3.477 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009138/0.166, allocations: 0.8649 MB / 0.5114 GB, free: 2.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001402/0.1674, allocations: 1.155 MB / 0.5125 GB, free: 1.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2074/0.3747, allocations: 4.184 MB / 0.5166 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3747, allocations: 0 / 0.5166 GB, free: 14.39 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3747, allocations: 0.5938 kB / 0.5166 GB, free: 14.39 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001072/0.3748, allocations: 0 / 0.5166 GB, free: 14.39 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.006289/0.3811, allocations: 2.9 MB / 0.5195 GB, free: 13.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3812, allocations: 8.312 kB / 0.5195 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004167/0.3816, allocations: 334.6 kB / 0.5198 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007876/0.3824, allocations: 311.2 kB / 0.5201 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/0.3852, allocations: 1.429 MB / 0.5215 GB, free: 12.7 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.0002624/0.3855, allocations: 292.9 kB / 0.5218 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000402/0.3859, allocations: 234.5 kB / 0.522 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006003/0.3919, allocations: 3.103 MB / 0.525 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.773e-05/0.392, allocations: 13.36 kB / 0.525 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/0.3923, allocations: 92.38 kB / 0.5251 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001841/0.3924, allocations: 106 kB / 0.5252 GB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005045/0.3975, allocations: 2.357 MB / 0.5275 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01397/0.4115, allocations: 7.801 MB / 0.5351 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002487/0.414, allocations: 1.336 MB / 0.5364 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001623/0.4156, allocations: 0.8885 MB / 0.5373 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.4158, allocations: 45.14 kB / 0.5373 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.4171, allocations: 0.881 MB / 0.5382 GB, free: 6.992 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.507e-06/0.4171, allocations: 0 / 0.5382 GB, free: 6.992 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01421/0.4313, allocations: 6.465 MB / 0.5445 GB, free: 3.637 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.51e-05/0.4314, allocations: 253.2 kB / 0.5448 GB, free: 3.348 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.001625/0.433, allocations: 1.194 MB / 0.5459 GB, free: 2.684 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001338/0.4331, allocations: 52.02 kB / 0.546 GB, free: 2.633 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006919/0.4338, allocations: 1.043 MB / 0.547 GB, free: 1.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002831/0.4341, allocations: 439 kB / 0.5474 GB, free: 1.352 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003811/0.4345, allocations: 265.8 kB / 0.5477 GB, free: 1.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.4345, allocations: 305.1 kB / 0.548 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4357, allocations: 0.7343 MB / 0.5487 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001563/0.4373, allocations: 1.3 MB / 0.5499 GB, free: 15.42 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00862/0.4459, allocations: 3.551 MB / 0.5534 GB, free: 13.32 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-05/0.4459, allocations: 2.531 kB / 0.5534 GB, free: 13.32 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005424/0.4513, allocations: 2.503 MB / 0.5559 GB, free: 11.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.719e-05/0.4514, allocations: 37.7 kB / 0.5559 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/0.4514, allocations: 12 kB / 0.5559 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001318/0.4527, allocations: 0.4959 MB / 0.5564 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001261/0.454, allocations: 305.5 kB / 0.5567 GB, free: 10.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009841/0.4638, allocations: 8.339 MB / 0.5648 GB, free: 1.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.4658, allocations: 134.5 kB / 0.565 GB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003385/0.4661, allocations: 59.98 kB / 0.565 GB, free: 1.418 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.00337/0.4695, allocations: 1.3 MB / 0.5663 GB, free: 112 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001851/0.4713, allocations: 1.276 MB / 0.5675 GB, free: 14.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008451/0.4798, allocations: 3.492 MB / 0.5709 GB, free: 11.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.355e-05/0.4798, allocations: 4 kB / 0.5709 GB, free: 11.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004768/0.4846, allocations: 2.446 MB / 0.5733 GB, free: 8.613 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.4846, allocations: 45.69 kB / 0.5734 GB, free: 8.562 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.4846, allocations: 15.09 kB / 0.5734 GB, free: 8.551 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001212/0.4858, allocations: 0.4929 MB / 0.5739 GB, free: 8.047 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.487, allocations: 302.4 kB / 0.5742 GB, free: 7.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009213/0.4962, allocations: 8.334 MB / 0.5823 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4979, allocations: 143.9 kB / 0.5824 GB, free: 14.89 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.4981, allocations: 56 kB / 0.5825 GB, free: 14.84 MB / 430.1 MB Warning: Assuming fixed start value for the following 6 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004989/0.4986, allocations: 302.5 kB / 0.5828 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002836/0.4988, allocations: 149.7 kB / 0.5829 GB, free: 14.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004358/0.5032, allocations: 2.119 MB / 0.585 GB, free: 12.28 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.5032, allocations: 12 kB / 0.585 GB, free: 12.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/0.5032, allocations: 11.92 kB / 0.585 GB, free: 12.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.551e-05/0.5033, allocations: 7.984 kB / 0.585 GB, free: 12.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/0.512, allocations: 4.36 MB / 0.5893 GB, free: 7.848 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.512, allocations: 4 kB / 0.5893 GB, free: 7.844 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008914/0.5129, allocations: 203.1 kB / 0.5895 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001432/0.5143, allocations: 0.5158 MB / 0.59 GB, free: 7.133 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.5144, allocations: 47.95 kB / 0.59 GB, free: 7.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008694/0.5231, allocations: 8.151 MB / 0.598 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.5231, allocations: 6.625 kB / 0.598 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005809/0.5289, allocations: 3.174 MB / 0.6011 GB, free: 11.29 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/0.53, allocations: 286.9 kB / 0.6014 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002939/0.5303, allocations: 40 kB / 0.6014 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009985/0.5313, allocations: 99.88 kB / 0.6015 GB, free: 10.87 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/0.5316, allocations: 115.5 kB / 0.6016 GB, free: 10.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.842e-05/0.5317, allocations: 43.97 kB / 0.6016 GB, free: 10.72 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001297/0.533, allocations: 0.7996 MB / 0.6024 GB, free: 9.914 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.533, allocations: 8 kB / 0.6024 GB, free: 9.906 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002624/0.5356, allocations: 0.7812 MB / 0.6032 GB, free: 9.125 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006149/0.5418, allocations: 3.811 MB / 0.6069 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01065/0.5524, allocations: 6.422 MB / 0.6132 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/0.5524, allocations: 0 / 0.6132 GB, free: 14.71 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004316/0.5567, allocations: 2.682 MB / 0.6158 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.5588, allocations: 411.6 kB / 0.6162 GB, free: 11.58 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.02185/0.5807, allocations: 12.51 MB / 0.6284 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002092/0.5828, allocations: 1.267 MB / 0.6297 GB, free: 13.37 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001555/0.5843, allocations: 423.9 kB / 0.6301 GB, free: 12.95 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001298/0.5856, allocations: 0.8569 MB / 0.6309 GB, free: 12.09 MB / 478.1 MB Notification: Performance of SimCode: time 1.372e-06/0.5856, allocations: 0 / 0.6309 GB, free: 12.09 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1207/0.7063, allocations: 52.81 MB / 0.6825 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.8/14.51, allocations: 11.86 kB / 0.6825 GB, free: 7.875 MB / 0.5137 GB " [Timeout remaining time 645] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.42125739500625] Failed to read output from testmodel.py, exit status != 0: 14.650491930020507 14.678022281 14.297924738 Calling exit ...