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.04128/0.04128, allocations: 6.456 MB / 16.26 MB, free: 3.176 MB / 18.57 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002444/0.04372, allocations: 2.482 MB / 18.74 MB, free: 0.8828 MB / 18.57 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.001005/0.001005, allocations: 67.59 kB / 19.54 MB, free: 196 kB / 18.57 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001716/0.002721, allocations: 449.4 kB / 19.98 MB, free: 5.953 MB / 24.77 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.0009495/0.0009495, allocations: 162.9 kB / 20.88 MB, free: 5.07 MB / 24.77 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001965, allocations: 471.4 kB / 21.34 MB, free: 4.609 MB / 24.77 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 0.989/0.989, allocations: 177.2 MB / 199.2 MB, free: 11.41 MB / 202.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1468/1.136, allocations: 53.65 MB / 252.9 MB, free: 8.809 MB / 250.7 MB " [Timeout remaining time 179] 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.01661/0.01661, allocations: 2.514 MB / 256.1 MB, free: 5.645 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002173/0.01878, allocations: 1.306 MB / 257.4 MB, free: 4.336 MB / 250.7 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 258.8 MB, free: 3.016 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.719e-05/1.853e-05, allocations: 5.406 kB / 258.8 MB, free: 3.012 MB / 250.7 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.02096/0.02098, allocations: 9.539 MB / 268.3 MB, free: 9.426 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006474/0.02746, allocations: 2.905 MB / 271.2 MB, free: 6.512 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00152/0.02898, allocations: 67.56 kB / 271.3 MB, free: 6.445 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001308/0.03028, allocations: 0.4885 MB / 271.8 MB, free: 5.953 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002265/0.03255, allocations: 0.7446 MB / 272.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003296/0.03585, allocations: 0.5577 MB / 273.1 MB, free: 4.645 MB / 266.7 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.003936/0.03978, allocations: 2.775 MB / 275.8 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.04198, allocations: 1.329 MB / 277.2 MB, free: 456 kB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003351/0.04533, allocations: 2.024 MB / 279.2 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.04727, allocations: 1.305 MB / 280.5 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000531/0.0478, allocations: 328 kB / 280.8 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006475/0.04844, allocations: 439.7 kB / 281.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005028/0.04895, allocations: 0.7131 MB / 282 MB, free: 11.62 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007418/0.04969, allocations: 0.8149 MB / 282.8 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001789/0.05148, allocations: 2.145 MB / 284.9 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.487e-05/0.05149, allocations: 0 / 284.9 MB, free: 8.656 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.05149, allocations: 0 / 284.9 MB, free: 8.656 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.775e-05/0.05153, allocations: 0 / 284.9 MB, free: 8.656 MB / 282.7 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.003119/0.05465, allocations: 3.224 MB / 288.1 MB, free: 5.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.05469, allocations: 11.98 kB / 288.1 MB, free: 5.375 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000255/0.05494, allocations: 349.3 kB / 288.5 MB, free: 5.023 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006273/0.05557, allocations: 497.6 kB / 289 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.0567, allocations: 0.9336 MB / 289.9 MB, free: 3.551 MB / 282.7 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.0001742/0.05687, allocations: 292 kB / 290.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002075/0.05708, allocations: 239.9 kB / 290.4 MB, free: 3.004 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001686/0.05877, allocations: 1.856 MB / 292.3 MB, free: 1.016 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.963e-05/0.05881, allocations: 3.984 kB / 292.3 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001205/0.05893, allocations: 92 kB / 292.4 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.362e-05/0.059, allocations: 112.6 kB / 292.5 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008963/0.0599, allocations: 0.6608 MB / 293.1 MB, free: 112 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005915/0.06581, allocations: 6.147 MB / 299.3 MB, free: 9.711 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007655/0.06658, allocations: 0.6781 MB / 300 MB, free: 9.027 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005276/0.06711, allocations: 438.6 kB / 300.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.06723, allocations: 48.97 kB / 300.5 MB, free: 8.551 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.06768, allocations: 0.521 MB / 301 MB, free: 7.973 MB / 298.7 MB Notification: Performance of pre-optimization done (n=107): time 4.067e-06/0.06768, allocations: 7.984 kB / 301 MB, free: 7.965 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.004207/0.07189, allocations: 2.719 MB / 303.7 MB, free: 5.199 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.07193, allocations: 98.11 kB / 303.8 MB, free: 5.086 MB / 298.7 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.0006156/0.07255, allocations: 0.8992 MB / 304.7 MB, free: 4.176 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.629e-05/0.07261, allocations: 49.7 kB / 304.7 MB, free: 4.121 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003775/0.07299, allocations: 0.8847 MB / 305.6 MB, free: 3.223 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.0732, allocations: 444.2 kB / 306.1 MB, free: 2.785 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002457/0.07345, allocations: 251.4 kB / 306.3 MB, free: 2.535 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.07e-05/0.07351, allocations: 305.1 kB / 306.6 MB, free: 2.234 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.07377, allocations: 217.3 kB / 306.8 MB, free: 2.012 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.0742, allocations: 0.7481 MB / 307.6 MB, free: 1.051 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009622/0.07516, allocations: 1.136 MB / 308.7 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.07517, allocations: 4 kB / 308.7 MB, free: 15.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.001228/0.0764, allocations: 1.086 MB / 309.8 MB, free: 14.62 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.07644, allocations: 41.7 kB / 309.8 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.07645, allocations: 12 kB / 309.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005144/0.07696, allocations: 271.6 kB / 310.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006/0.07756, allocations: 315.5 kB / 310.4 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003175/0.08074, allocations: 6.018 MB / 316.4 MB, free: 7.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000476/0.08121, allocations: 83.91 kB / 316.5 MB, free: 7.438 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.645e-05/0.08128, allocations: 48.03 kB / 316.6 MB, free: 7.391 MB / 314.7 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.0005084/0.08179, allocations: 338 kB / 316.9 MB, free: 7.055 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004204/0.08221, allocations: 0.7403 MB / 317.6 MB, free: 6.109 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009327/0.08314, allocations: 1.125 MB / 318.8 MB, free: 4.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.4e-06/0.08315, allocations: 4 kB / 318.8 MB, free: 4.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.001218/0.08436, allocations: 1.082 MB / 319.8 MB, free: 3.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.08439, allocations: 41.95 kB / 319.9 MB, free: 3.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.0844, allocations: 12 kB / 319.9 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004872/0.08488, allocations: 282.4 kB / 320.2 MB, free: 3.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/0.08544, allocations: 307.6 kB / 320.5 MB, free: 3.035 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003114/0.08856, allocations: 6.006 MB / 326.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005696/0.08913, allocations: 95.97 kB / 326.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/0.0892, allocations: 51.98 kB / 326.6 MB, free: 12.46 MB / 330.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003016/0.0895, allocations: 293.1 kB / 326.9 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001831/0.08968, allocations: 135.9 kB / 327 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.09081, allocations: 0.8884 MB / 327.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.09082, allocations: 12 kB / 327.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.09082, allocations: 8 kB / 328 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.09083, allocations: 7.969 kB / 328 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003039/0.09387, allocations: 2.775 MB / 330.7 MB, free: 8.184 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.09388, allocations: 4 kB / 330.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004505/0.09433, allocations: 207.7 kB / 330.9 MB, free: 7.977 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002925/0.09462, allocations: 186.9 kB / 331.1 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006207/0.09524, allocations: 323.3 kB / 331.4 MB, free: 7.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.907e-05/0.0953, allocations: 39.97 kB / 331.5 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/0.09839, allocations: 5.982 MB / 337.5 MB, free: 1.012 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.09839, allocations: 4 kB / 337.5 MB, free: 1.008 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1152/0.2136, allocations: 1.329 MB / 338.8 MB, free: 63.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003081/0.2139, allocations: 36.69 kB / 338.8 MB, free: 63.27 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.2144, allocations: 69.67 kB / 338.9 MB, free: 63.27 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/0.2146, allocations: 118.3 kB / 339 MB, free: 63.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.803e-05/0.2147, allocations: 29.67 kB / 339 MB, free: 63.27 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005264/0.2152, allocations: 454.1 kB / 339.5 MB, free: 63.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2152, allocations: 0 / 339.5 MB, free: 63.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001741/0.2169, allocations: 0.785 MB / 340.3 MB, free: 63.22 MB / 330.7 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%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/0.2189, allocations: 1.874 MB / 342.1 MB, free: 62.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003898/0.2228, allocations: 4.859 MB / 347 MB, free: 59.21 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.158e-05/0.2228, allocations: 16.81 kB / 347 MB, free: 59.21 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001494/0.2243, allocations: 2.138 MB / 349.2 MB, free: 57.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.2255, allocations: 0.5222 MB / 349.7 MB, free: 57.71 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/0.2421, allocations: 8.289 MB / 358 MB, free: 54.72 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004129/0.2425, allocations: 0.5262 MB / 358.5 MB, free: 54.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000584/0.2431, allocations: 199 kB / 358.7 MB, free: 54.58 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001052/0.2442, allocations: 1.196 MB / 359.9 MB, free: 54.53 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.2442, allocations: 2.906 kB / 359.9 MB, free: 54.53 MB / 330.7 MB Notification: Performance of FMU documentation: time 0.07501/0.3192, allocations: 72.77 MB / 432.7 MB, free: 0.5664 MB / 346.7 MB Notification: FMU-only work: backend 0.00165, simCode 0.003683, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06408/0.3833, allocations: 1.47 MB / 434.1 MB, free: 15.06 MB / 362.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 3.389/3.772, allocations: 27.03 kB / 434.2 MB, free: 15.04 MB / 362.7 MB " [Timeout remaining time 656] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy-fmi3-cs-cvode.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type CoSimulation --output-interval 0.0024 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_wFollowing_fmpy-fmi3-cs-cvode.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 6.919995453208685]