Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json 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.04861/0.04861, allocations: 8.536 MB / 27.39 MB, free: 2.824 MB / 19.63 MB " [Timeout remaining time 180] 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.001807/0.001807, allocations: 111.5 kB / 32.61 MB, free: 1.574 MB / 19.63 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.002164/0.002164, allocations: 224.3 kB / 37.98 MB, free: 2.953 MB / 26.18 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.556/1.556, allocations: 230.6 MB / 273.8 MB, free: 2.852 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01488/0.01488, allocations: 3.408 MB / 335.7 MB, free: 8.73 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",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: EHPTexamples 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.004175/0.004175, allocations: 105.3 kB / 464.9 MB, free: 50.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.11, allocations: 56.32 MB / 0.509 GB, free: 15.2 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(EHPTexamples.ElectricDrives.wFollowing): time 0.01361/0.1236, allocations: 8.718 MB / 0.5176 GB, free: 6.438 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008123/0.1318, allocations: 2.727 MB / 0.5202 GB, free: 3.703 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0024/0.1342, allocations: 63.62 kB / 0.5203 GB, free: 3.641 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.1361, allocations: 0.4885 MB / 0.5208 GB, free: 3.148 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003112/0.1392, allocations: 0.7181 MB / 0.5215 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001688/0.1409, allocations: 0.5613 MB / 0.522 GB, free: 1.867 MB / 366.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.003772/0.1447, allocations: 2.686 MB / 0.5246 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002284/0.147, allocations: 1.293 MB / 0.5259 GB, free: 13.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001899/0.1489, allocations: 1.238 MB / 0.5271 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002134/0.151, allocations: 1.366 MB / 0.5284 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004986/0.1515, allocations: 340 kB / 0.5288 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000831/0.1523, allocations: 435.8 kB / 0.5292 GB, free: 10.44 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008664/0.1532, allocations: 0.8804 MB / 0.53 GB, free: 9.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001312/0.1545, allocations: 1.163 MB / 0.5312 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004668/0.1592, allocations: 4.208 MB / 0.5353 GB, free: 4.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.393e-05/0.1592, allocations: 7.984 kB / 0.5353 GB, free: 4.156 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1592, allocations: 0 / 0.5353 GB, free: 4.156 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001076/0.1593, allocations: 4 kB / 0.5353 GB, free: 4.152 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: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.006853/0.1661, allocations: 2.921 MB / 0.5382 GB, free: 1.176 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/0.1662, allocations: 12.03 kB / 0.5382 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004721/0.1667, allocations: 341.7 kB / 0.5385 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009241/0.1676, allocations: 311.2 kB / 0.5388 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003175/0.1708, allocations: 1.43 MB / 0.5402 GB, free: 15.05 MB / 398.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.0003244/0.1711, allocations: 291.5 kB / 0.5405 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003625/0.1715, allocations: 232 kB / 0.5407 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005578/0.177, allocations: 3.125 MB / 0.5437 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.73e-05/0.1771, allocations: 7.953 kB / 0.5437 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002295/0.1773, allocations: 99.98 kB / 0.5438 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.1775, allocations: 108.6 kB / 0.5439 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004469/0.182, allocations: 2.38 MB / 0.5463 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0141/0.1961, allocations: 7.849 MB / 0.5539 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.199, allocations: 1.366 MB / 0.5553 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0019/0.2009, allocations: 0.909 MB / 0.5561 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002191/0.2011, allocations: 40.97 kB / 0.5562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001518/0.2026, allocations: 0.8932 MB / 0.5571 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.085e-06/0.2026, allocations: 0 / 0.5571 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01553/0.2181, allocations: 6.47 MB / 0.5634 GB, free: 6.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001722/0.2183, allocations: 248.3 kB / 0.5636 GB, free: 6.473 MB / 414.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.001786/0.2201, allocations: 1.209 MB / 0.5648 GB, free: 5.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001027/0.2202, allocations: 49.7 kB / 0.5648 GB, free: 5.199 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000995/0.2212, allocations: 1.047 MB / 0.5659 GB, free: 4.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004007/0.2216, allocations: 460.1 kB / 0.5663 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004414/0.222, allocations: 271.5 kB / 0.5666 GB, free: 3.414 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.2222, allocations: 301.1 kB / 0.5669 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001325/0.2235, allocations: 0.7481 MB / 0.5676 GB, free: 2.359 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001741/0.2252, allocations: 1.306 MB / 0.5689 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008669/0.2339, allocations: 3.582 MB / 0.5724 GB, free: 13.07 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.327e-05/0.2339, allocations: 4 kB / 0.5724 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004739/0.2387, allocations: 2.507 MB / 0.5748 GB, free: 10.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.793e-05/0.2387, allocations: 41.69 kB / 0.5748 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.224e-05/0.2387, allocations: 12 kB / 0.5749 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001243/0.24, allocations: 0.5039 MB / 0.5754 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00115/0.2411, allocations: 311.5 kB / 0.5756 GB, free: 9.648 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008962/0.2501, allocations: 8.342 MB / 0.5838 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.2515, allocations: 123.9 kB / 0.5839 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/0.2516, allocations: 59.98 kB / 0.584 GB, free: 0.6758 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002486/0.2541, allocations: 1.306 MB / 0.5852 GB, free: 15.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00184/0.256, allocations: 1.283 MB / 0.5865 GB, free: 13.88 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008367/0.2643, allocations: 3.524 MB / 0.5899 GB, free: 10.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.34e-05/0.2644, allocations: 4 kB / 0.5899 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004766/0.2691, allocations: 2.468 MB / 0.5924 GB, free: 7.668 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.242e-05/0.2692, allocations: 33.7 kB / 0.5924 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.2692, allocations: 12 kB / 0.5924 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001152/0.2703, allocations: 0.504 MB / 0.5929 GB, free: 7.098 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.2714, allocations: 307.5 kB / 0.5932 GB, free: 6.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.234/0.5054, allocations: 8.32 MB / 0.6013 GB, free: 80.08 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.507, allocations: 136.5 kB / 0.6014 GB, free: 80.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.5072, allocations: 60.42 kB / 0.6015 GB, free: 80.08 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 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] 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (158): * Single equations (assignments): 151 * 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.0004136/0.5076, allocations: 292.8 kB / 0.6018 GB, free: 79.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.5078, allocations: 155.5 kB / 0.6019 GB, free: 79.9 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004081/0.5119, allocations: 2.14 MB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.81e-05/0.5119, allocations: 11.66 kB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.349e-05/0.512, allocations: 6.906 kB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/0.512, allocations: 8.547 kB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008851/0.5208, allocations: 4.396 MB / 0.6083 GB, free: 78.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.628e-06/0.5208, allocations: 7.75 kB / 0.6083 GB, free: 78.37 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000943/0.5218, allocations: 198.5 kB / 0.6085 GB, free: 78.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001343/0.5231, allocations: 0.5237 MB / 0.609 GB, free: 78.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.712e-05/0.5232, allocations: 34.53 kB / 0.6091 GB, free: 78.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007239/0.5305, allocations: 8.161 MB / 0.617 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.435e-06/0.5305, allocations: 10.5 kB / 0.6171 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005935/0.5364, allocations: 3.199 MB / 0.6202 GB, free: 70.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.5374, allocations: 296 kB / 0.6205 GB, free: 70.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005207/0.5379, allocations: 34.33 kB / 0.6205 GB, free: 70.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001352/0.5393, allocations: 110.9 kB / 0.6206 GB, free: 70.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/0.5396, allocations: 113.1 kB / 0.6207 GB, free: 70.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.5397, allocations: 38.67 kB / 0.6207 GB, free: 70.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001635/0.5414, allocations: 0.8077 MB / 0.6215 GB, free: 70.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5414, allocations: 5.469 kB / 0.6215 GB, free: 70.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002738/0.5441, allocations: 0.7893 MB / 0.6223 GB, free: 69.95 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 97 * 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.004518/0.5486, allocations: 3.846 MB / 0.6261 GB, free: 68.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007965/0.5566, allocations: 6.439 MB / 0.6324 GB, free: 62.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.855e-06/0.5566, allocations: 4 kB / 0.6324 GB, free: 62.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003244/0.5598, allocations: 2.692 MB / 0.635 GB, free: 60.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.5619, allocations: 400.3 kB / 0.6354 GB, free: 59.85 MB / 446.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.01748/0.5793, allocations: 12.61 MB / 0.6477 GB, free: 46.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001575/0.5809, allocations: 1.271 MB / 0.6489 GB, free: 45.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001293/0.5822, allocations: 420.1 kB / 0.6493 GB, free: 45.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009853/0.5832, allocations: 0.8742 MB / 0.6502 GB, free: 44.19 MB / 446.1 MB Notification: Performance of SimCode: time 1.212e-06/0.5832, allocations: 0 / 0.6502 GB, free: 44.19 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.7124, allocations: 52.38 MB / 0.7013 GB, free: 8.293 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.11/13.82, allocations: 10.72 kB / 0.7013 GB, free: 8.285 MB / 462.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.030616533011198] Failed to read output from testmodel.py, exit status != 0: 13.9742975756526 13.989376627 13.827040508 Calling exit ...