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.04207/0.04207, allocations: 8.544 MB / 25.6 MB, free: 4.652 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.001191/0.001191, allocations: 103.7 kB / 30.49 MB, free: 192 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.00153/0.00153, allocations: 219.9 kB / 35.53 MB, free: 1.699 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.562/1.562, allocations: 230.6 MB / 271 MB, free: 3.805 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.01426/0.01426, allocations: 3.423 MB / 332.5 MB, free: 9.965 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_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.002845/0.002845, allocations: 101 kB / 460 MB, free: 50.45 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08018/0.08302, allocations: 56.27 MB / 0.5042 GB, free: 0.8398 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.01307/0.09609, allocations: 9.896 MB / 0.5139 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007567/0.1037, allocations: 2.836 MB / 0.5166 GB, free: 4.051 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001901/0.1056, allocations: 67.56 kB / 0.5167 GB, free: 3.984 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002013/0.1076, allocations: 0.512 MB / 0.5172 GB, free: 3.469 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003168/0.1107, allocations: 0.7064 MB / 0.5179 GB, free: 2.758 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001853/0.1126, allocations: 0.5536 MB / 0.5184 GB, free: 2.207 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.004148/0.1167, allocations: 2.697 MB / 0.5211 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/0.1193, allocations: 1.676 MB / 0.5227 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.1214, allocations: 1.231 MB / 0.5239 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001961/0.1233, allocations: 1.487 MB / 0.5254 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004666/0.1238, allocations: 336 kB / 0.5257 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008015/0.1246, allocations: 447.8 kB / 0.5261 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009686/0.1256, allocations: 0.8765 MB / 0.527 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001638/0.1272, allocations: 1.431 MB / 0.5284 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00498/0.1322, allocations: 4.18 MB / 0.5324 GB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1322, allocations: 0 / 0.5324 GB, free: 3.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1322, allocations: 3.938 kB / 0.5325 GB, free: 3.746 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.165e-05/0.1323, allocations: 0 / 0.5325 GB, free: 3.746 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.006494/0.1388, allocations: 2.996 MB / 0.5354 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.1388, allocations: 12.03 kB / 0.5354 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.897e-05/0.1389, allocations: 64.86 kB / 0.5355 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004306/0.1393, allocations: 345.7 kB / 0.5358 GB, free: 256 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009557/0.1403, allocations: 309.1 kB / 0.5361 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00291/0.1432, allocations: 1.508 MB / 0.5375 GB, free: 14.39 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.0003085/0.1435, allocations: 240 kB / 0.5378 GB, free: 14.14 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.1439, allocations: 236 kB / 0.538 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005417/0.1493, allocations: 2.978 MB / 0.5409 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-05/0.1493, allocations: 7.891 kB / 0.5409 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/0.1496, allocations: 103.9 kB / 0.541 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001287/0.1497, allocations: 108.6 kB / 0.5411 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00459/0.1543, allocations: 2.38 MB / 0.5434 GB, free: 8.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01413/0.1684, allocations: 8.713 MB / 0.552 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002947/0.1714, allocations: 1.584 MB / 0.5535 GB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/0.1732, allocations: 0.9243 MB / 0.5544 GB, free: 12.7 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002539/0.1735, allocations: 122.1 kB / 0.5545 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001403/0.1749, allocations: 0.7889 MB / 0.5553 GB, free: 11.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 2.835e-06/0.1749, allocations: 0 / 0.5553 GB, free: 11.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01568/0.1905, allocations: 6.929 MB / 0.5621 GB, free: 4.652 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.1907, allocations: 252.3 kB / 0.5623 GB, free: 4.352 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.1925, allocations: 1.183 MB / 0.5635 GB, free: 3.156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001507/0.1926, allocations: 49.7 kB / 0.5635 GB, free: 3.102 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009536/0.1936, allocations: 1.043 MB / 0.5645 GB, free: 2.047 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004086/0.194, allocations: 452.2 kB / 0.5649 GB, free: 1.602 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004538/0.1945, allocations: 267.5 kB / 0.5652 GB, free: 1.332 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1946, allocations: 305.1 kB / 0.5655 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.1959, allocations: 0.7191 MB / 0.5662 GB, free: 316 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.1976, allocations: 1.123 MB / 0.5673 GB, free: 15.02 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009195/0.2068, allocations: 3.582 MB / 0.5708 GB, free: 11.26 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.2068, allocations: 4 kB / 0.5708 GB, free: 11.25 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004859/0.2117, allocations: 2.565 MB / 0.5733 GB, free: 8.641 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.036e-05/0.2117, allocations: 33.7 kB / 0.5733 GB, free: 8.602 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.2117, allocations: 12 kB / 0.5733 GB, free: 8.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001278/0.213, allocations: 0.508 MB / 0.5738 GB, free: 8.066 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.2142, allocations: 311.5 kB / 0.5741 GB, free: 7.762 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009471/0.2237, allocations: 8.799 MB / 0.5827 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.2255, allocations: 131.8 kB / 0.5829 GB, free: 14.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.2257, allocations: 59.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.002511/0.2282, allocations: 1.279 MB / 0.5842 GB, free: 12.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001685/0.2298, allocations: 1.112 MB / 0.5852 GB, free: 11.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008722/0.2386, allocations: 3.508 MB / 0.5887 GB, free: 7.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.268e-05/0.2386, allocations: 3.938 kB / 0.5887 GB, free: 7.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.005245/0.2438, allocations: 2.518 MB / 0.5911 GB, free: 5.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.063e-05/0.2439, allocations: 37.7 kB / 0.5912 GB, free: 5.367 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.2439, allocations: 12.47 kB / 0.5912 GB, free: 5.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001288/0.2452, allocations: 0.5115 MB / 0.5917 GB, free: 4.828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001116/0.2463, allocations: 299.6 kB / 0.592 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2581/0.5044, allocations: 8.791 MB / 0.6006 GB, free: 79.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00148/0.5059, allocations: 140.8 kB / 0.6007 GB, free: 79.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.506, allocations: 60.48 kB / 0.6007 GB, free: 79.28 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.0003514/0.5063, allocations: 290.8 kB / 0.601 GB, free: 79.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002274/0.5066, allocations: 149.1 kB / 0.6012 GB, free: 79.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003833/0.5104, allocations: 2.222 MB / 0.6033 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.249e-05/0.5104, allocations: 14.69 kB / 0.6033 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/0.5104, allocations: 6.562 kB / 0.6034 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.629e-05/0.5104, allocations: 10.53 kB / 0.6034 GB, free: 78.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007384/0.5178, allocations: 4.727 MB / 0.608 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.316e-06/0.5178, allocations: 3.906 kB / 0.608 GB, free: 76.59 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008433/0.5187, allocations: 212.6 kB / 0.6082 GB, free: 76.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.52, allocations: 0.5101 MB / 0.6087 GB, free: 76.43 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/0.5201, allocations: 38.27 kB / 0.6087 GB, free: 76.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006038/0.5262, allocations: 8.626 MB / 0.6171 GB, free: 69.49 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/0.5262, allocations: 4.375 kB / 0.6172 GB, free: 69.49 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005332/0.5315, allocations: 3.282 MB / 0.6204 GB, free: 68.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006645/0.5322, allocations: 371.6 kB / 0.6207 GB, free: 67.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.5324, allocations: 31.84 kB / 0.6207 GB, free: 67.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000916/0.5333, allocations: 105.3 kB / 0.6208 GB, free: 67.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002755/0.5335, allocations: 112.3 kB / 0.6209 GB, free: 67.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-05/0.5336, allocations: 39.61 kB / 0.621 GB, free: 67.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001037/0.5347, allocations: 0.8044 MB / 0.6218 GB, free: 67.51 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5347, allocations: 3.969 kB / 0.6218 GB, free: 67.51 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002302/0.537, allocations: 0.7874 MB / 0.6225 GB, free: 67.44 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.004599/0.5416, allocations: 3.912 MB / 0.6264 GB, free: 65.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007836/0.5494, allocations: 6.535 MB / 0.6327 GB, free: 59.78 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.5494, allocations: 0 / 0.6327 GB, free: 59.78 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003401/0.5528, allocations: 2.777 MB / 0.6355 GB, free: 56.89 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.5549, allocations: 399.1 kB / 0.6358 GB, free: 56.54 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.01652/0.5715, allocations: 12.58 MB / 0.6481 GB, free: 43.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/0.5726, allocations: 1.841 MB / 0.6499 GB, free: 41.65 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001104/0.5737, allocations: 424.1 kB / 0.6503 GB, free: 41.23 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008059/0.5745, allocations: 0.8741 MB / 0.6512 GB, free: 40.36 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.5745, allocations: 4 kB / 0.6512 GB, free: 40.35 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/0.6913, allocations: 49.16 MB / 0.6992 GB, free: 7.625 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.31, allocations: 4.062 kB / 0.6992 GB, free: 7.621 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: 17.882392420026008] Failed to read output from testmodel.py, exit status != 0: 14.48029008496087 14.497225808 14.361064921 Calling exit ...