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.04895/0.04895, allocations: 8.529 MB / 27.38 MB, free: 2.848 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.001243/0.001243, allocations: 106.2 kB / 32.61 MB, free: 1.598 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.001618/0.001618, allocations: 218.6 kB / 37.97 MB, free: 2.961 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.479/1.479, allocations: 230.6 MB / 273.8 MB, free: 2.992 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.01482/0.01482, allocations: 3.411 MB / 335.7 MB, free: 8.742 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.002962/0.002962, allocations: 102.3 kB / 464.9 MB, free: 50.55 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0744/0.07736, allocations: 56.33 MB / 0.509 GB, free: 15.22 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.01247/0.08983, allocations: 8.721 MB / 0.5176 GB, free: 6.449 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00571/0.09554, allocations: 2.723 MB / 0.5202 GB, free: 3.719 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001203/0.09674, allocations: 71.56 kB / 0.5203 GB, free: 3.648 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001322/0.09806, allocations: 0.4885 MB / 0.5208 GB, free: 3.156 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.09995, allocations: 0.7103 MB / 0.5215 GB, free: 2.441 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.1011, allocations: 0.5578 MB / 0.522 GB, free: 1.883 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.002931/0.104, allocations: 2.69 MB / 0.5246 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001765/0.1058, allocations: 1.286 MB / 0.5259 GB, free: 13.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001572/0.1074, allocations: 1.242 MB / 0.5271 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00188/0.1092, allocations: 1.369 MB / 0.5284 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004721/0.1097, allocations: 336 kB / 0.5288 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007557/0.1105, allocations: 443.8 kB / 0.5292 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008556/0.1113, allocations: 0.8804 MB / 0.53 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.1126, allocations: 1.155 MB / 0.5312 GB, free: 8.406 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00424/0.1168, allocations: 4.216 MB / 0.5353 GB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1168, allocations: 0 / 0.5353 GB, free: 4.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1168, allocations: 0 / 0.5353 GB, free: 4.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.329e-05/0.1168, allocations: 3.938 kB / 0.5353 GB, free: 4.168 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.00581/0.1227, allocations: 2.925 MB / 0.5381 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.1227, allocations: 8.031 kB / 0.5382 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004419/0.1231, allocations: 349.7 kB / 0.5385 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008387/0.124, allocations: 307.2 kB / 0.5388 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.1269, allocations: 1.422 MB / 0.5402 GB, free: 15.07 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.0003043/0.1272, allocations: 291.5 kB / 0.5404 GB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.1276, allocations: 235.9 kB / 0.5407 GB, free: 14.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005097/0.1327, allocations: 3.129 MB / 0.5437 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-05/0.1327, allocations: 11.89 kB / 0.5437 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.133, allocations: 96 kB / 0.5438 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001207/0.1331, allocations: 108.6 kB / 0.5439 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004534/0.1376, allocations: 2.376 MB / 0.5463 GB, free: 8.668 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/0.1512, allocations: 7.853 MB / 0.5539 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002762/0.154, allocations: 1.362 MB / 0.5553 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.1559, allocations: 0.905 MB / 0.5561 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.1561, allocations: 40.97 kB / 0.5562 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001454/0.1575, allocations: 0.8932 MB / 0.557 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.005e-06/0.1575, allocations: 4 kB / 0.5571 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01531/0.1728, allocations: 6.473 MB / 0.5634 GB, free: 6.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/0.173, allocations: 248.3 kB / 0.5636 GB, free: 6.484 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.001792/0.1748, allocations: 1.209 MB / 0.5648 GB, free: 5.266 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.1749, allocations: 49.7 kB / 0.5648 GB, free: 5.211 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009607/0.1759, allocations: 1.047 MB / 0.5659 GB, free: 4.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/0.1763, allocations: 452.2 kB / 0.5663 GB, free: 3.707 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004353/0.1767, allocations: 275.5 kB / 0.5666 GB, free: 3.43 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1768, allocations: 305.1 kB / 0.5668 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001326/0.1781, allocations: 0.7403 MB / 0.5676 GB, free: 2.379 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001784/0.1799, allocations: 1.307 MB / 0.5688 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008898/0.1888, allocations: 3.586 MB / 0.5723 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.1888, allocations: 4 kB / 0.5724 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004865/0.1937, allocations: 2.511 MB / 0.5748 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.1937, allocations: 41.62 kB / 0.5748 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.1938, allocations: 12 kB / 0.5749 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001207/0.195, allocations: 0.4962 MB / 0.5753 GB, free: 9.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.1961, allocations: 311.5 kB / 0.5756 GB, free: 9.668 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009033/0.2052, allocations: 8.339 MB / 0.5838 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.2067, allocations: 127.8 kB / 0.5839 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/0.207, allocations: 63.98 kB / 0.584 GB, free: 0.6914 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.002646/0.2096, allocations: 1.31 MB / 0.5852 GB, free: 15.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001819/0.2114, allocations: 1.283 MB / 0.5865 GB, free: 13.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008582/0.22, allocations: 3.512 MB / 0.5899 GB, free: 10.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.398e-05/0.22, allocations: 4 kB / 0.5899 GB, free: 10.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004815/0.2248, allocations: 2.483 MB / 0.5924 GB, free: 7.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.492e-05/0.2249, allocations: 37.7 kB / 0.5924 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2249, allocations: 8 kB / 0.5924 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00117/0.2261, allocations: 0.4964 MB / 0.5929 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.2272, allocations: 295.5 kB / 0.5932 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1895/0.4167, allocations: 8.335 MB / 0.6013 GB, free: 80.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.4182, allocations: 138.4 kB / 0.6014 GB, free: 80.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001368/0.4184, allocations: 60.06 kB / 0.6015 GB, free: 80.16 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.0004214/0.4188, allocations: 298.2 kB / 0.6018 GB, free: 79.98 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002764/0.4191, allocations: 151.4 kB / 0.6019 GB, free: 79.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.4229, allocations: 2.144 MB / 0.604 GB, free: 79.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.4229, allocations: 15.19 kB / 0.604 GB, free: 79.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.046e-05/0.4229, allocations: 6.203 kB / 0.604 GB, free: 79.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.4229, allocations: 6.906 kB / 0.604 GB, free: 79.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007696/0.4306, allocations: 4.388 MB / 0.6083 GB, free: 78.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.415e-06/0.4306, allocations: 4.469 kB / 0.6083 GB, free: 78.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/0.4315, allocations: 202.4 kB / 0.6085 GB, free: 78.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/0.4329, allocations: 0.5221 MB / 0.609 GB, free: 78.25 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001253/0.433, allocations: 38.33 kB / 0.6091 GB, free: 78.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007315/0.4403, allocations: 8.163 MB / 0.617 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.265e-06/0.4403, allocations: 8.812 kB / 0.6171 GB, free: 71.86 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005268/0.4456, allocations: 3.198 MB / 0.6202 GB, free: 70.55 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008623/0.4465, allocations: 300.8 kB / 0.6205 GB, free: 70.47 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002496/0.4467, allocations: 39.53 kB / 0.6205 GB, free: 70.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009498/0.4477, allocations: 106.1 kB / 0.6206 GB, free: 70.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002433/0.4479, allocations: 113.8 kB / 0.6207 GB, free: 70.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.693e-05/0.448, allocations: 46.41 kB / 0.6208 GB, free: 70.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001079/0.4491, allocations: 0.8011 MB / 0.6215 GB, free: 70.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4491, allocations: 1.344 kB / 0.6215 GB, free: 70.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002631/0.4517, allocations: 0.7947 MB / 0.6223 GB, free: 69.98 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.00479/0.4565, allocations: 3.834 MB / 0.6261 GB, free: 68.11 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007728/0.4642, allocations: 6.439 MB / 0.6323 GB, free: 63.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.4642, allocations: 0 / 0.6323 GB, free: 63.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00318/0.4674, allocations: 2.694 MB / 0.635 GB, free: 60.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001814/0.4692, allocations: 405 kB / 0.6354 GB, free: 59.96 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.01591/0.4851, allocations: 12.6 MB / 0.6477 GB, free: 46.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00112/0.4862, allocations: 1.271 MB / 0.6489 GB, free: 45.6 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001115/0.4874, allocations: 427.5 kB / 0.6493 GB, free: 45.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008565/0.4882, allocations: 0.8703 MB / 0.6502 GB, free: 44.31 MB / 446.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4882, allocations: 0 / 0.6502 GB, free: 44.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1087/0.5969, allocations: 52.4 MB / 0.7013 GB, free: 8.41 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.21/13.81, allocations: 7.984 kB / 0.7013 GB, free: 8.402 MB / 462.1 MB " [Timeout remaining time 646] (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: 16.81578710814938] Failed to read output from testmodel.py, exit status != 0: 13.949676582124084 13.966261149 13.846255841 Calling exit ...