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.0008619/0.0008619, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001085/0.001085, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9413/0.9413, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.02726/0.02726, allocations: 6.483 MB / 265.7 MB, free: 6.816 MB / 250.7 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: Performance of FrontEnd - loaded program: time 3.797e-06/3.797e-06, allocations: 0 / 391.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.962e-05, allocations: 6.281 kB / 391.6 MB, free: 5.703 MB / 362.7 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.00852/0.008549, allocations: 8.63 MB / 400.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004528/0.01308, allocations: 2.661 MB / 402.9 MB, free: 10.37 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009705/0.01405, allocations: 63.62 kB / 403 MB, free: 10.3 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009371/0.01499, allocations: 496.2 kB / 403.5 MB, free: 9.816 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001531/0.01652, allocations: 0.7409 MB / 404.2 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008633/0.01738, allocations: 0.553 MB / 404.8 MB, free: 8.52 MB / 378.7 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.002437/0.01982, allocations: 2.762 MB / 407.5 MB, free: 5.746 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001258/0.02107, allocations: 1.277 MB / 408.8 MB, free: 4.402 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.0232, allocations: 1.801 MB / 410.6 MB, free: 2.598 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001269/0.02447, allocations: 1.216 MB / 411.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003459/0.02481, allocations: 340 kB / 412.2 MB, free: 1.047 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005802/0.02539, allocations: 431.8 kB / 412.6 MB, free: 0.625 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006299/0.02602, allocations: 0.892 MB / 413.5 MB, free: 15.73 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.02711, allocations: 0.9744 MB / 414.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003797/0.0309, allocations: 4.242 MB / 418.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.03091, allocations: 4 kB / 418.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.03091, allocations: 0 / 418.7 MB, free: 10.5 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001219/0.03103, allocations: 0 / 418.7 MB, free: 10.5 MB / 394.7 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.005332/0.03637, allocations: 2.881 MB / 421.6 MB, free: 7.562 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.03641, allocations: 8.031 kB / 421.6 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003686/0.03678, allocations: 337.5 kB / 421.9 MB, free: 7.215 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006072/0.03739, allocations: 303.2 kB / 422.2 MB, free: 6.918 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001954/0.03934, allocations: 1.425 MB / 423.6 MB, free: 5.453 MB / 394.7 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.0002077/0.03955, allocations: 288 kB / 423.9 MB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/0.03979, allocations: 239.9 kB / 424.1 MB, free: 4.91 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003698/0.04348, allocations: 3.108 MB / 427.3 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.662e-05/0.04353, allocations: 0 / 427.3 MB, free: 1.672 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.04368, allocations: 96 kB / 427.3 MB, free: 1.578 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.324e-05/0.04377, allocations: 108.5 kB / 427.5 MB, free: 1.469 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003041/0.04681, allocations: 2.356 MB / 429.8 MB, free: 15.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009523/0.05633, allocations: 7.802 MB / 437.6 MB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.05829, allocations: 1.343 MB / 439 MB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.05941, allocations: 0.8981 MB / 439.9 MB, free: 4.793 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001885/0.0596, allocations: 52.91 kB / 439.9 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009083/0.06051, allocations: 0.8776 MB / 440.8 MB, free: 3.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.06051, allocations: 0 / 440.8 MB, free: 3.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.1858/0.2464, allocations: 6.445 MB / 447.2 MB, free: 87.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.118e-05/0.2464, allocations: 252.3 kB / 447.5 MB, free: 86.82 MB / 410.7 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.001177/0.2476, allocations: 1.198 MB / 448.7 MB, free: 86.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.014e-05/0.2477, allocations: 51.02 kB / 448.7 MB, free: 86.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.2482, allocations: 1.036 MB / 449.8 MB, free: 85.48 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002185/0.2484, allocations: 435.3 kB / 450.2 MB, free: 85.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.2487, allocations: 262.5 kB / 450.4 MB, free: 85.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.602e-05/0.2487, allocations: 301.1 kB / 450.7 MB, free: 84.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007748/0.2495, allocations: 0.7431 MB / 451.5 MB, free: 84.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000838/0.2503, allocations: 1.297 MB / 452.8 MB, free: 83.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004296/0.2546, allocations: 3.554 MB / 456.3 MB, free: 81.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.808e-06/0.2546, allocations: 3.156 kB / 456.3 MB, free: 81.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002632/0.2572, allocations: 2.501 MB / 458.8 MB, free: 80.97 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.455e-05/0.2573, allocations: 38.62 kB / 458.9 MB, free: 80.94 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.2573, allocations: 12.94 kB / 458.9 MB, free: 80.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006591/0.2579, allocations: 0.495 MB / 459.4 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005695/0.2585, allocations: 303.8 kB / 459.7 MB, free: 80.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004159/0.2627, allocations: 8.335 MB / 468 MB, free: 74.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.2638, allocations: 134.2 kB / 468.1 MB, free: 74.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-05/0.2639, allocations: 60.91 kB / 468.2 MB, free: 74.23 MB / 410.7 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.001689/0.2656, allocations: 1.302 MB / 469.5 MB, free: 73.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009798/0.2665, allocations: 1.277 MB / 470.8 MB, free: 72.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004638/0.2712, allocations: 3.485 MB / 474.3 MB, free: 71.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.386e-05/0.2712, allocations: 3.125 kB / 474.3 MB, free: 71.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003089/0.2743, allocations: 2.459 MB / 476.7 MB, free: 70.12 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.2743, allocations: 38.33 kB / 476.8 MB, free: 70.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/0.2743, allocations: 15.72 kB / 476.8 MB, free: 70.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006883/0.275, allocations: 0.4976 MB / 477.3 MB, free: 69.94 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005852/0.2756, allocations: 297.5 kB / 477.6 MB, free: 69.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004417/0.28, allocations: 8.318 MB / 485.9 MB, free: 63.42 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001157/0.2812, allocations: 139.3 kB / 486 MB, free: 63.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.2813, allocations: 56.8 kB / 486.1 MB, free: 63.38 MB / 410.7 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.000439/0.2817, allocations: 304.3 kB / 486.4 MB, free: 63.12 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002292/0.282, allocations: 153.5 kB / 486.5 MB, free: 63.04 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002926/0.2849, allocations: 2.113 MB / 488.6 MB, free: 62.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-05/0.2849, allocations: 12.22 kB / 488.6 MB, free: 62.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/0.2849, allocations: 10.97 kB / 488.7 MB, free: 62.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.2849, allocations: 8.625 kB / 488.7 MB, free: 62.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005692/0.2906, allocations: 4.365 MB / 493 MB, free: 60.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.2906, allocations: 7.531 kB / 493 MB, free: 60.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005038/0.2911, allocations: 199.5 kB / 493.2 MB, free: 60.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008213/0.2919, allocations: 0.5188 MB / 493.8 MB, free: 60.15 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/0.292, allocations: 35.16 kB / 493.8 MB, free: 60.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004724/0.2967, allocations: 8.153 MB / 0.4902 GB, free: 53.68 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.508e-06/0.2968, allocations: 11.48 kB / 0.4902 GB, free: 53.67 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004373/0.3011, allocations: 3.16 MB / 0.4933 GB, free: 52.29 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007845/0.3019, allocations: 292.3 kB / 0.4936 GB, free: 52.13 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001572/0.3021, allocations: 34.72 kB / 0.4936 GB, free: 52.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005393/0.3026, allocations: 104.8 kB / 0.4937 GB, free: 52.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.3029, allocations: 117.4 kB / 0.4938 GB, free: 52.07 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/0.3029, allocations: 39.61 kB / 0.4938 GB, free: 52.06 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009436/0.3039, allocations: 0.8014 MB / 0.4946 GB, free: 51.73 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3039, allocations: 0 / 0.4946 GB, free: 51.73 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002115/0.306, allocations: 0.7892 MB / 0.4954 GB, free: 51.65 MB / 410.7 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.003502/0.3095, allocations: 3.804 MB / 0.4991 GB, free: 49.34 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005589/0.3151, allocations: 6.406 MB / 0.5054 GB, free: 43.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.3151, allocations: 4 kB / 0.5054 GB, free: 43.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.3172, allocations: 2.68 MB / 0.508 GB, free: 40.78 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.3186, allocations: 403.5 kB / 0.5084 GB, free: 40.46 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/0.3329, allocations: 12.32 MB / 0.5204 GB, free: 29.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/0.3341, allocations: 1.263 MB / 0.5216 GB, free: 27.88 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009802/0.335, allocations: 423.9 kB / 0.522 GB, free: 27.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006392/0.3357, allocations: 0.8596 MB / 0.5229 GB, free: 26.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.803e-06/0.3357, allocations: 4 kB / 0.5229 GB, free: 26.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06034/0.396, allocations: 52.2 MB / 0.5739 GB, free: 6.902 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.446/8.842, allocations: 11.38 kB / 0.5739 GB, free: 6.895 MB / 442.7 MB " [Timeout remaining time 651] (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: 10.907090358436108] Failed to read output from testmodel.py, exit status != 0: 8.953154374845326 8.965272098 8.931954222 Calling exit ...