Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04655/0.04655, allocations: 8.543 MB / 25.59 MB, free: 4.609 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.001326/0.001326, allocations: 103.7 kB / 30.49 MB, free: 160 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.001978/0.001978, allocations: 214.7 kB / 35.53 MB, free: 1.668 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.493/1.493, allocations: 230.6 MB / 271 MB, free: 3.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01455/0.01455, allocations: 3.415 MB / 332.5 MB, free: 9.98 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="cs",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.002999/0.002999, allocations: 108 kB / 460 MB, free: 50.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08564/0.08864, allocations: 56.28 MB / 0.5042 GB, free: 0.8516 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.01257/0.1012, allocations: 9.9 MB / 0.5139 GB, free: 6.902 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005974/0.1072, allocations: 2.836 MB / 0.5167 GB, free: 4.059 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.1088, allocations: 63.62 kB / 0.5167 GB, free: 3.996 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.1105, allocations: 0.5119 MB / 0.5172 GB, free: 3.48 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002667/0.1132, allocations: 0.7103 MB / 0.5179 GB, free: 2.766 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001485/0.1147, allocations: 0.5422 MB / 0.5184 GB, free: 2.223 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.004504/0.1192, allocations: 2.698 MB / 0.5211 GB, free: 15.51 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003791/0.123, allocations: 1.676 MB / 0.5227 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002352/0.1253, allocations: 1.238 MB / 0.5239 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.1281, allocations: 1.479 MB / 0.5254 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008969/0.129, allocations: 336 kB / 0.5257 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.1302, allocations: 447.7 kB / 0.5261 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009353/0.1311, allocations: 0.8804 MB / 0.527 GB, free: 9.395 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.1332, allocations: 1.431 MB / 0.5284 GB, free: 7.957 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004946/0.1382, allocations: 4.18 MB / 0.5325 GB, free: 3.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1382, allocations: 4 kB / 0.5325 GB, free: 3.754 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.1382, allocations: 4 kB / 0.5325 GB, free: 3.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.928e-05/0.1382, allocations: 0 / 0.5325 GB, free: 3.75 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.006389/0.1446, allocations: 2.996 MB / 0.5354 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.1447, allocations: 12.03 kB / 0.5354 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.725e-05/0.1447, allocations: 60.86 kB / 0.5355 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000444/0.1452, allocations: 341.7 kB / 0.5358 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008826/0.1461, allocations: 309.1 kB / 0.5361 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002712/0.1488, allocations: 1.511 MB / 0.5376 GB, free: 14.4 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.0002504/0.149, allocations: 236.1 kB / 0.5378 GB, free: 14.16 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003429/0.1494, allocations: 239.9 kB / 0.538 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/0.1544, allocations: 2.974 MB / 0.5409 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-05/0.1545, allocations: 7.953 kB / 0.5409 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002266/0.1547, allocations: 103.9 kB / 0.541 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001118/0.1548, allocations: 108.6 kB / 0.5411 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004546/0.1593, allocations: 2.38 MB / 0.5434 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01583/0.1752, allocations: 8.717 MB / 0.552 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002992/0.1782, allocations: 1.584 MB / 0.5535 GB, free: 13.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001895/0.1801, allocations: 0.9126 MB / 0.5544 GB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002625/0.1803, allocations: 130.1 kB / 0.5545 GB, free: 12.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001406/0.1817, allocations: 0.785 MB / 0.5553 GB, free: 11.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.354e-06/0.1817, allocations: 0 / 0.5553 GB, free: 11.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01729/0.199, allocations: 6.929 MB / 0.5621 GB, free: 4.668 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.1992, allocations: 248.3 kB / 0.5623 GB, free: 4.371 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.001958/0.2011, allocations: 1.187 MB / 0.5634 GB, free: 3.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.2013, allocations: 53.7 kB / 0.5635 GB, free: 3.113 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.2024, allocations: 1.043 MB / 0.5645 GB, free: 2.059 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005084/0.2029, allocations: 452.2 kB / 0.5649 GB, free: 1.613 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004736/0.2034, allocations: 259.5 kB / 0.5652 GB, free: 1.352 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.2035, allocations: 309.1 kB / 0.5655 GB, free: 1.047 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001441/0.2049, allocations: 0.7153 MB / 0.5662 GB, free: 336 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.2067, allocations: 1.131 MB / 0.5673 GB, free: 15.03 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009081/0.2158, allocations: 3.574 MB / 0.5708 GB, free: 11.28 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.2158, allocations: 0 / 0.5708 GB, free: 11.28 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004773/0.2206, allocations: 2.572 MB / 0.5733 GB, free: 8.656 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.061e-05/0.2206, allocations: 38.02 kB / 0.5733 GB, free: 8.613 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.2206, allocations: 12 kB / 0.5733 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001235/0.2219, allocations: 0.5153 MB / 0.5738 GB, free: 8.074 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.223, allocations: 303.5 kB / 0.5741 GB, free: 7.777 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009071/0.2321, allocations: 8.804 MB / 0.5827 GB, free: 14.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001601/0.2337, allocations: 135.9 kB / 0.5829 GB, free: 14.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001521/0.2338, allocations: 63.98 kB / 0.5829 GB, free: 14.22 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.002387/0.2362, allocations: 1.281 MB / 0.5842 GB, free: 12.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001543/0.2378, allocations: 1.104 MB / 0.5853 GB, free: 11.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00866/0.2464, allocations: 3.512 MB / 0.5887 GB, free: 7.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.293e-05/0.2464, allocations: 4 kB / 0.5887 GB, free: 7.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004855/0.2513, allocations: 2.514 MB / 0.5911 GB, free: 5.418 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.953e-05/0.2513, allocations: 44.19 kB / 0.5912 GB, free: 5.371 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.048e-05/0.2514, allocations: 15.94 kB / 0.5912 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001261/0.2526, allocations: 0.4957 MB / 0.5917 GB, free: 4.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001181/0.2538, allocations: 299.5 kB / 0.592 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2263/0.4801, allocations: 8.791 MB / 0.6006 GB, free: 79.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001706/0.4819, allocations: 143.6 kB / 0.6007 GB, free: 79.26 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/0.482, allocations: 66.86 kB / 0.6008 GB, free: 79.26 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.0005479/0.4826, allocations: 289.7 kB / 0.601 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003766/0.4829, allocations: 156 kB / 0.6012 GB, free: 79.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004282/0.4872, allocations: 2.217 MB / 0.6033 GB, free: 78.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.4872, allocations: 11.97 kB / 0.6034 GB, free: 78.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.437e-05/0.4872, allocations: 5.734 kB / 0.6034 GB, free: 78.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.116e-05/0.4873, allocations: 5.531 kB / 0.6034 GB, free: 78.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00816/0.4954, allocations: 4.729 MB / 0.608 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.898e-06/0.4954, allocations: 4.125 kB / 0.608 GB, free: 76.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009025/0.4963, allocations: 210.4 kB / 0.6082 GB, free: 76.54 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001329/0.4977, allocations: 0.5154 MB / 0.6087 GB, free: 76.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001008/0.4978, allocations: 40.05 kB / 0.6087 GB, free: 76.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006544/0.5043, allocations: 8.628 MB / 0.6172 GB, free: 69.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5043, allocations: 4.094 kB / 0.6172 GB, free: 69.46 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005153/0.5095, allocations: 3.278 MB / 0.6204 GB, free: 68.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007987/0.5103, allocations: 371.3 kB / 0.6207 GB, free: 67.88 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001983/0.5105, allocations: 31.72 kB / 0.6207 GB, free: 67.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009632/0.5114, allocations: 109.3 kB / 0.6209 GB, free: 67.84 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/0.5117, allocations: 116.2 kB / 0.621 GB, free: 67.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.346e-05/0.5118, allocations: 38.58 kB / 0.621 GB, free: 67.81 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.5128, allocations: 0.805 MB / 0.6218 GB, free: 67.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5128, allocations: 0 / 0.6218 GB, free: 67.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002299/0.5151, allocations: 0.7888 MB / 0.6226 GB, free: 67.4 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.004876/0.52, allocations: 3.909 MB / 0.6264 GB, free: 65.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008142/0.5281, allocations: 6.536 MB / 0.6328 GB, free: 59.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.5281, allocations: 0 / 0.6328 GB, free: 59.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003197/0.5313, allocations: 2.77 MB / 0.6355 GB, free: 56.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001897/0.5332, allocations: 398.7 kB / 0.6358 GB, free: 56.55 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.01568/0.5489, allocations: 12.58 MB / 0.6481 GB, free: 43.54 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.55, allocations: 1.845 MB / 0.6499 GB, free: 41.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001111/0.5511, allocations: 413.6 kB / 0.6503 GB, free: 41.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008272/0.552, allocations: 0.8741 MB / 0.6512 GB, free: 40.38 MB / 446.1 MB Notification: Performance of SimCode: time 1.323e-06/0.552, allocations: 0 / 0.6512 GB, free: 40.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09324/0.6452, allocations: 49.16 MB / 0.6992 GB, free: 7.633 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.33/13.97, allocations: 8.062 kB / 0.6992 GB, free: 7.625 MB / 462.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.51525248901453] Failed to read output from testmodel.py, exit status != 0: 14.142891755036544 14.174885208 14.031040033 Calling exit ...