Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_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.04834/0.04834, allocations: 8.538 MB / 24.89 MB, free: 4.641 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.001341/0.001341, allocations: 118.5 kB / 29.79 MB, free: 72 kB / 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.001602/0.001602, allocations: 216.5 kB / 34.83 MB, free: 1.59 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.522/1.522, allocations: 230.6 MB / 270.3 MB, free: 3.938 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01488/0.01488, allocations: 3.42 MB / 331.8 MB, free: 9.945 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) 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_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_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.002923/0.002923, allocations: 102.4 kB / 459.3 MB, free: 50.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1051, allocations: 56.28 MB / 0.5035 GB, free: 0.8008 MB / 350.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.01311/0.1182, allocations: 9.911 MB / 0.5132 GB, free: 6.844 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006661/0.1249, allocations: 2.836 MB / 0.516 GB, free: 4 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.1265, allocations: 63.62 kB / 0.516 GB, free: 3.938 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001477/0.1279, allocations: 0.5081 MB / 0.5165 GB, free: 3.426 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002181/0.1301, allocations: 0.7142 MB / 0.5172 GB, free: 2.707 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.1313, allocations: 0.5523 MB / 0.5178 GB, free: 2.156 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.003445/0.1348, allocations: 2.694 MB / 0.5204 GB, free: 15.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002311/0.1371, allocations: 1.664 MB / 0.522 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001852/0.1389, allocations: 1.242 MB / 0.5232 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.1409, allocations: 1.483 MB / 0.5247 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004643/0.1414, allocations: 340 kB / 0.525 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007729/0.1422, allocations: 439.8 kB / 0.5254 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008652/0.143, allocations: 0.8766 MB / 0.5263 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001585/0.1446, allocations: 1.431 MB / 0.5277 GB, free: 7.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004536/0.1491, allocations: 4.192 MB / 0.5318 GB, free: 3.695 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1491, allocations: 0 / 0.5318 GB, free: 3.695 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1491, allocations: 0 / 0.5318 GB, free: 3.695 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.509e-05/0.1492, allocations: 0 / 0.5318 GB, free: 3.695 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.006287/0.1555, allocations: 3 MB / 0.5347 GB, free: 0.6211 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1556, allocations: 8.031 kB / 0.5347 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004393/0.156, allocations: 337.7 kB / 0.535 GB, free: 280 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008754/0.1569, allocations: 315.2 kB / 0.5353 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002809/0.1597, allocations: 1.506 MB / 0.5368 GB, free: 14.41 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.0002769/0.16, allocations: 240 kB / 0.537 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003734/0.1603, allocations: 243.9 kB / 0.5373 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005321/0.1656, allocations: 2.974 MB / 0.5402 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.615e-05/0.1657, allocations: 8 kB / 0.5402 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002365/0.1659, allocations: 96 kB / 0.5403 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.1661, allocations: 108.6 kB / 0.5404 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00455/0.1706, allocations: 2.376 MB / 0.5427 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.1854, allocations: 8.729 MB / 0.5512 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/0.1885, allocations: 1.584 MB / 0.5528 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001915/0.1904, allocations: 0.9165 MB / 0.5537 GB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.1906, allocations: 126 kB / 0.5538 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001463/0.1921, allocations: 0.7851 MB / 0.5545 GB, free: 11.76 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.387e-06/0.1921, allocations: 0 / 0.5545 GB, free: 11.76 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01617/0.2083, allocations: 6.932 MB / 0.5613 GB, free: 4.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001898/0.2085, allocations: 244.3 kB / 0.5615 GB, free: 4.375 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.002076/0.2105, allocations: 1.187 MB / 0.5627 GB, free: 3.176 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001221/0.2107, allocations: 49.7 kB / 0.5628 GB, free: 3.121 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.2117, allocations: 1.043 MB / 0.5638 GB, free: 2.066 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004676/0.2122, allocations: 452.2 kB / 0.5642 GB, free: 1.621 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/0.2127, allocations: 267.5 kB / 0.5645 GB, free: 1.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2129, allocations: 301.1 kB / 0.5647 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001352/0.2142, allocations: 0.7192 MB / 0.5654 GB, free: 340 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.2159, allocations: 1.131 MB / 0.5666 GB, free: 15.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009437/0.2253, allocations: 3.571 MB / 0.57 GB, free: 11.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.527e-05/0.2253, allocations: 8 kB / 0.57 GB, free: 11.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005268/0.2306, allocations: 2.561 MB / 0.5725 GB, free: 8.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.973e-05/0.2307, allocations: 37.77 kB / 0.5726 GB, free: 8.625 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.2307, allocations: 12 kB / 0.5726 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001343/0.232, allocations: 0.5115 MB / 0.5731 GB, free: 8.086 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.2334, allocations: 299.5 kB / 0.5734 GB, free: 7.793 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00929/0.2427, allocations: 8.819 MB / 0.582 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/0.2444, allocations: 131.9 kB / 0.5821 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.2446, allocations: 63.98 kB / 0.5822 GB, free: 14.23 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002657/0.2472, allocations: 1.274 MB / 0.5834 GB, free: 12.96 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001603/0.2488, allocations: 1.104 MB / 0.5845 GB, free: 11.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008725/0.2576, allocations: 3.512 MB / 0.5879 GB, free: 8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.244e-06/0.2576, allocations: 3.938 kB / 0.5879 GB, free: 7.996 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004732/0.2623, allocations: 2.518 MB / 0.5904 GB, free: 5.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.2623, allocations: 35.27 kB / 0.5904 GB, free: 5.391 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.2624, allocations: 15.94 kB / 0.5904 GB, free: 5.375 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001267/0.2636, allocations: 0.5079 MB / 0.5909 GB, free: 4.852 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001137/0.2648, allocations: 295.5 kB / 0.5912 GB, free: 4.562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/0.5185, allocations: 8.791 MB / 0.5998 GB, free: 79.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.5202, allocations: 138.8 kB / 0.5999 GB, free: 79.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001389/0.5204, allocations: 59.61 kB / 0.6 GB, free: 79.2 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.0004144/0.5208, allocations: 300.3 kB / 0.6003 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002855/0.5211, allocations: 155.2 kB / 0.6004 GB, free: 79.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/0.5252, allocations: 2.216 MB / 0.6026 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.5252, allocations: 11.78 kB / 0.6026 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.311e-05/0.5252, allocations: 5.062 kB / 0.6026 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.94e-05/0.5253, allocations: 6.188 kB / 0.6026 GB, free: 78.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008859/0.5341, allocations: 4.733 MB / 0.6072 GB, free: 76.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.69e-05/0.5341, allocations: 7.219 kB / 0.6072 GB, free: 76.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5352, allocations: 208.1 kB / 0.6074 GB, free: 76.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001639/0.5368, allocations: 0.5112 MB / 0.6079 GB, free: 76.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001279/0.5369, allocations: 43.62 kB / 0.608 GB, free: 76.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007288/0.5442, allocations: 8.625 MB / 0.6164 GB, free: 69.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5442, allocations: 3.406 kB / 0.6164 GB, free: 69.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005468/0.5497, allocations: 3.279 MB / 0.6196 GB, free: 67.98 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006871/0.5504, allocations: 367.3 kB / 0.62 GB, free: 67.81 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5506, allocations: 35.66 kB / 0.62 GB, free: 67.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009459/0.5515, allocations: 104.7 kB / 0.6201 GB, free: 67.78 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000268/0.5518, allocations: 110.8 kB / 0.6202 GB, free: 67.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.352e-05/0.5519, allocations: 42.78 kB / 0.6202 GB, free: 67.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009829/0.5529, allocations: 0.8074 MB / 0.621 GB, free: 67.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5529, allocations: 0 / 0.621 GB, free: 67.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002541/0.5554, allocations: 0.7903 MB / 0.6218 GB, free: 67.34 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.004808/0.5602, allocations: 3.914 MB / 0.6256 GB, free: 65.32 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008198/0.5684, allocations: 6.53 MB / 0.632 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.5684, allocations: 0 / 0.632 GB, free: 59.75 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003506/0.5719, allocations: 2.777 MB / 0.6347 GB, free: 56.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001896/0.5738, allocations: 404.8 kB / 0.6351 GB, free: 56.51 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01603/0.5898, allocations: 12.57 MB / 0.6474 GB, free: 43.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.591, allocations: 1.845 MB / 0.6492 GB, free: 41.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001228/0.5923, allocations: 424.1 kB / 0.6496 GB, free: 41.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/0.5932, allocations: 0.8664 MB / 0.6504 GB, free: 40.33 MB / 446.1 MB Notification: Performance of SimCode: time 1.272e-06/0.5932, allocations: 4 kB / 0.6504 GB, free: 40.33 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1026/0.6958, allocations: 49.14 MB / 0.6984 GB, free: 7.613 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.69/14.39, allocations: 2.953 kB / 0.6984 GB, free: 7.613 MB / 462.1 MB " [Timeout remaining time 645] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.51507964031771] Failed to read output from testmodel.py, exit status != 0: 14.504775612149388 14.529617254 14.376522843 Calling exit ...