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.05322/0.05322, allocations: 8.537 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.001413/0.001413, allocations: 112.8 kB / 32.61 MB, free: 1.582 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.001975/0.001975, allocations: 216.3 kB / 37.98 MB, free: 2.957 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.471/1.471, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01473/0.01473, allocations: 3.412 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 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.003106/0.003106, allocations: 106.1 kB / 465 MB, free: 50.51 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0854/0.08851, allocations: 56.32 MB / 0.5091 GB, free: 15.21 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.01204/0.1005, allocations: 8.721 MB / 0.5176 GB, free: 6.441 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.1066, allocations: 2.727 MB / 0.5202 GB, free: 3.707 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001475/0.108, allocations: 63.62 kB / 0.5203 GB, free: 3.645 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00167/0.1097, allocations: 0.4885 MB / 0.5208 GB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002526/0.1122, allocations: 0.7142 MB / 0.5215 GB, free: 2.434 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001407/0.1136, allocations: 0.5539 MB / 0.522 GB, free: 1.879 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.003714/0.1174, allocations: 2.686 MB / 0.5246 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.1194, allocations: 1.293 MB / 0.5259 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001944/0.1214, allocations: 1.238 MB / 0.5271 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002138/0.1235, allocations: 1.369 MB / 0.5284 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005116/0.124, allocations: 336 kB / 0.5288 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.1249, allocations: 435.8 kB / 0.5292 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008955/0.1258, allocations: 0.8804 MB / 0.53 GB, free: 9.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001277/0.127, allocations: 1.163 MB / 0.5312 GB, free: 8.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004374/0.1314, allocations: 4.216 MB / 0.5353 GB, free: 4.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1314, allocations: 0 / 0.5353 GB, free: 4.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1314, allocations: 0 / 0.5353 GB, free: 4.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.915e-05/0.1315, allocations: 4 kB / 0.5353 GB, free: 4.164 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.005914/0.1374, allocations: 2.921 MB / 0.5381 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1374, allocations: 16.03 kB / 0.5382 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004605/0.1379, allocations: 337.7 kB / 0.5385 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000837/0.1387, allocations: 307.2 kB / 0.5388 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002993/0.1417, allocations: 1.43 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.0003186/0.142, allocations: 295.5 kB / 0.5405 GB, free: 14.75 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003859/0.1424, allocations: 240 kB / 0.5407 GB, free: 14.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/0.1477, allocations: 3.113 MB / 0.5437 GB, free: 11.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.449e-05/0.1478, allocations: 15.94 kB / 0.5437 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002122/0.148, allocations: 92 kB / 0.5438 GB, free: 11.17 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.1481, allocations: 108.5 kB / 0.5439 GB, free: 11.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004536/0.1527, allocations: 2.38 MB / 0.5463 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.1667, allocations: 7.857 MB / 0.5539 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002846/0.1695, allocations: 1.356 MB / 0.5553 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.1714, allocations: 0.905 MB / 0.5561 GB, free: 14.3 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.1716, allocations: 48.97 kB / 0.5562 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001564/0.1732, allocations: 0.8932 MB / 0.5571 GB, free: 13.3 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.226e-06/0.1732, allocations: 3.938 kB / 0.5571 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01604/0.1892, allocations: 6.475 MB / 0.5634 GB, free: 6.773 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.1894, allocations: 248.3 kB / 0.5636 GB, free: 6.477 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.001994/0.1914, allocations: 1.203 MB / 0.5648 GB, free: 5.262 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002185/0.1916, allocations: 53.69 kB / 0.5648 GB, free: 5.203 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001018/0.1926, allocations: 1.039 MB / 0.5659 GB, free: 4.152 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004432/0.1931, allocations: 460.1 kB / 0.5663 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004539/0.1935, allocations: 271.5 kB / 0.5666 GB, free: 3.426 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.1937, allocations: 301.1 kB / 0.5668 GB, free: 3.129 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.1951, allocations: 0.7481 MB / 0.5676 GB, free: 2.371 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001865/0.1969, allocations: 1.307 MB / 0.5689 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009191/0.2061, allocations: 3.586 MB / 0.5724 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/0.2061, allocations: 4 kB / 0.5724 GB, free: 13.08 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.005244/0.2114, allocations: 2.507 MB / 0.5748 GB, free: 10.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/0.2114, allocations: 41.7 kB / 0.5748 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.2115, allocations: 8 kB / 0.5749 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00134/0.2128, allocations: 0.504 MB / 0.5753 GB, free: 9.965 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.214, allocations: 307.5 kB / 0.5756 GB, free: 9.664 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009615/0.2236, allocations: 8.342 MB / 0.5838 GB, free: 0.8711 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/0.2251, allocations: 123.9 kB / 0.5839 GB, free: 0.75 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001937/0.2253, allocations: 60 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.002531/0.2279, allocations: 1.306 MB / 0.5852 GB, free: 15.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001823/0.2297, allocations: 1.279 MB / 0.5865 GB, free: 13.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008878/0.2386, allocations: 3.532 MB / 0.5899 GB, free: 10.19 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.2386, allocations: 160 / 0.5899 GB, free: 10.19 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004884/0.2435, allocations: 2.472 MB / 0.5923 GB, free: 7.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.276e-05/0.2435, allocations: 44.03 kB / 0.5924 GB, free: 7.633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.2435, allocations: 12 kB / 0.5924 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001296/0.2448, allocations: 0.4962 MB / 0.5929 GB, free: 7.109 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.246, allocations: 303.5 kB / 0.5932 GB, free: 6.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2186/0.4646, allocations: 8.326 MB / 0.6013 GB, free: 80.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.4663, allocations: 136.2 kB / 0.6014 GB, free: 80.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001735/0.4665, allocations: 60.28 kB / 0.6015 GB, free: 80.09 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.0004547/0.467, allocations: 298.7 kB / 0.6018 GB, free: 79.91 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/0.4673, allocations: 152.7 kB / 0.6019 GB, free: 79.91 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004167/0.4714, allocations: 2.14 MB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.505e-05/0.4714, allocations: 12.97 kB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.226e-05/0.4715, allocations: 5.594 kB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.655e-05/0.4715, allocations: 7.047 kB / 0.604 GB, free: 79.8 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007761/0.4792, allocations: 4.395 MB / 0.6083 GB, free: 78.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.4792, allocations: 8.422 kB / 0.6083 GB, free: 78.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009029/0.4801, allocations: 202.1 kB / 0.6085 GB, free: 78.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.4815, allocations: 0.5193 MB / 0.609 GB, free: 78.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.4816, allocations: 35.58 kB / 0.6091 GB, free: 78.19 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006726/0.4883, allocations: 8.165 MB / 0.617 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/0.4883, allocations: 11.58 kB / 0.6171 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005116/0.4934, allocations: 3.203 MB / 0.6202 GB, free: 70.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008619/0.4943, allocations: 298 kB / 0.6205 GB, free: 70.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.4945, allocations: 29.28 kB / 0.6205 GB, free: 70.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.4954, allocations: 110.9 kB / 0.6206 GB, free: 70.39 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002848/0.4957, allocations: 115.6 kB / 0.6207 GB, free: 70.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.4958, allocations: 43.25 kB / 0.6208 GB, free: 70.36 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00107/0.4969, allocations: 0.8033 MB / 0.6215 GB, free: 70.02 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4969, allocations: 0 / 0.6215 GB, free: 70.02 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002303/0.4992, allocations: 0.7965 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.00493/0.5041, allocations: 3.836 MB / 0.6261 GB, free: 68.07 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008447/0.5126, allocations: 6.434 MB / 0.6323 GB, free: 63.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.5126, allocations: 8 kB / 0.6324 GB, free: 63.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003435/0.516, allocations: 2.694 MB / 0.635 GB, free: 60.23 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.518, allocations: 399.4 kB / 0.6354 GB, free: 59.88 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.01566/0.5336, allocations: 12.61 MB / 0.6477 GB, free: 46.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.5347, allocations: 1.271 MB / 0.6489 GB, free: 45.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001129/0.5358, allocations: 424.1 kB / 0.6493 GB, free: 45.09 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00082/0.5366, allocations: 0.8742 MB / 0.6502 GB, free: 44.22 MB / 446.1 MB Notification: Performance of SimCode: time 9.32e-07/0.5366, allocations: 0 / 0.6502 GB, free: 44.22 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09755/0.6342, allocations: 52.39 MB / 0.7013 GB, free: 8.32 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.73, allocations: 8.062 kB / 0.7013 GB, free: 8.312 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.902847934048623] Failed to read output from testmodel.py, exit status != 0: 13.87211602460593 13.896038705 13.760292088 Calling exit ...