Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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.0337/0.0337, allocations: 8.539 MB / 27.38 MB, free: 1.973 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.00103/0.00103, allocations: 111.5 kB / 32.64 MB, free: 5.477 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.001039/0.001039, allocations: 212.8 kB / 38 MB, free: 136 kB / 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.9423/0.9423, allocations: 230.6 MB / 273.8 MB, free: 8.656 MB / 202.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.01256/0.01256, allocations: 3.405 MB / 335.7 MB, free: 14.82 MB / 266.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.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me_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.002078/0.002078, allocations: 115.8 kB / 468.2 MB, free: 15.35 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0803/0.08238, allocations: 56.31 MB / 0.5122 GB, free: 6.945 MB / 378.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: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: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.tqFollowing): time 0.1742/0.2566, allocations: 8.625 MB / 0.5206 GB, free: 15.31 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.2614, allocations: 2.643 MB / 0.5232 GB, free: 15.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001197/0.2626, allocations: 66.94 kB / 0.5232 GB, free: 15.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.2637, allocations: 494.5 kB / 0.5237 GB, free: 14.81 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001911/0.2657, allocations: 0.7164 MB / 0.5244 GB, free: 14.39 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2668, allocations: 0.5386 MB / 0.5249 GB, free: 14.05 MB / 378.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.002845/0.2696, allocations: 2.686 MB / 0.5276 GB, free: 12.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001918/0.2715, allocations: 1.279 MB / 0.5288 GB, free: 12.02 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.2741, allocations: 1.228 MB / 0.53 GB, free: 11.43 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002583/0.2767, allocations: 1.367 MB / 0.5313 GB, free: 10.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008216/0.2775, allocations: 335.5 kB / 0.5317 GB, free: 10.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001466/0.279, allocations: 435 kB / 0.5321 GB, free: 10.81 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009553/0.2799, allocations: 0.8721 MB / 0.5329 GB, free: 10.3 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002198/0.2821, allocations: 1.151 MB / 0.5341 GB, free: 9.641 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004122/0.2862, allocations: 4.186 MB / 0.5381 GB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.2862, allocations: 1.125 kB / 0.5381 GB, free: 8.109 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2863, allocations: 4 kB / 0.5381 GB, free: 8.105 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001159/0.2864, allocations: 2.125 kB / 0.5382 GB, free: 8.105 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.005366/0.2917, allocations: 2.904 MB / 0.541 GB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.2918, allocations: 9.531 kB / 0.541 GB, free: 6.488 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003908/0.2922, allocations: 341.7 kB / 0.5413 GB, free: 6.285 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006547/0.2928, allocations: 304.1 kB / 0.5416 GB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001898/0.2947, allocations: 1.424 MB / 0.543 GB, free: 5.34 MB / 378.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.0001705/0.2949, allocations: 298.8 kB / 0.5433 GB, free: 5.125 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002337/0.2951, allocations: 230.2 kB / 0.5435 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003346/0.2985, allocations: 3.106 MB / 0.5465 GB, free: 3.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.2985, allocations: 6.75 kB / 0.5465 GB, free: 3.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.2987, allocations: 100.5 kB / 0.5466 GB, free: 3.137 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.529e-05/0.2987, allocations: 108.6 kB / 0.5467 GB, free: 3.117 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002762/0.3015, allocations: 2.358 MB / 0.549 GB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009512/0.311, allocations: 7.797 MB / 0.5567 GB, free: 12.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/0.3128, allocations: 1.333 MB / 0.558 GB, free: 11.68 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.314, allocations: 0.8941 MB / 0.5588 GB, free: 11.25 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001827/0.3142, allocations: 46.77 kB / 0.5589 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009294/0.3151, allocations: 0.8845 MB / 0.5597 GB, free: 10.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=104): time 2.735e-06/0.3151, allocations: 2.656 kB / 0.5597 GB, free: 10.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=121): time 0.009097/0.3242, allocations: 6.455 MB / 0.5661 GB, free: 5.926 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.824e-05/0.3243, allocations: 248.3 kB / 0.5663 GB, free: 5.629 MB / 394.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.001443/0.3258, allocations: 1.2 MB / 0.5675 GB, free: 4.418 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 7.585e-05/0.3258, allocations: 53.7 kB / 0.5675 GB, free: 4.359 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006088/0.3264, allocations: 1.035 MB / 0.5685 GB, free: 3.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002457/0.3267, allocations: 444.3 kB / 0.5689 GB, free: 2.875 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002702/0.327, allocations: 259.5 kB / 0.5692 GB, free: 2.613 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.931e-05/0.327, allocations: 309.1 kB / 0.5695 GB, free: 2.309 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008205/0.3278, allocations: 0.7411 MB / 0.5702 GB, free: 1.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009907/0.3288, allocations: 1.298 MB / 0.5715 GB, free: 44 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004915/0.3337, allocations: 3.554 MB / 0.575 GB, free: 12.32 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.3338, allocations: 4 kB / 0.575 GB, free: 12.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002887/0.3366, allocations: 2.497 MB / 0.5774 GB, free: 9.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.134e-05/0.3367, allocations: 37.69 kB / 0.5774 GB, free: 9.742 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.578e-05/0.3367, allocations: 12 kB / 0.5774 GB, free: 9.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007029/0.3374, allocations: 0.5074 MB / 0.5779 GB, free: 9.211 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006018/0.338, allocations: 303.5 kB / 0.5782 GB, free: 8.914 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006118/0.3441, allocations: 8.342 MB / 0.5864 GB, free: 132 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/0.3452, allocations: 135.9 kB / 0.5865 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.499e-05/0.3453, allocations: 60 kB / 0.5866 GB, free: 15.93 MB / 426.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.002007/0.3473, allocations: 1.299 MB / 0.5878 GB, free: 14.63 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009677/0.3483, allocations: 1.275 MB / 0.5891 GB, free: 13.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004451/0.3527, allocations: 3.496 MB / 0.5925 GB, free: 9.477 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.598e-06/0.3527, allocations: 4 kB / 0.5925 GB, free: 9.473 MB / 426.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002962/0.3557, allocations: 2.45 MB / 0.5949 GB, free: 6.988 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.508e-05/0.3557, allocations: 41.64 kB / 0.5949 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3558, allocations: 16.25 kB / 0.5949 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006643/0.3564, allocations: 0.4981 MB / 0.5954 GB, free: 6.414 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.357, allocations: 300.8 kB / 0.5957 GB, free: 6.121 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005401/0.3624, allocations: 8.337 MB / 0.6039 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001136/0.3635, allocations: 135.9 kB / 0.604 GB, free: 13.21 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.683e-05/0.3636, allocations: 59.98 kB / 0.604 GB, free: 13.15 MB / 442.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.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.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 (155): * Single equations (assignments): 148 * 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.000364/0.364, allocations: 293.2 kB / 0.6043 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.3642, allocations: 151.1 kB / 0.6045 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002483/0.3667, allocations: 2.124 MB / 0.6065 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.3667, allocations: 15.94 kB / 0.6066 GB, free: 10.54 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/0.3667, allocations: 8 kB / 0.6066 GB, free: 10.53 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3667, allocations: 7.969 kB / 0.6066 GB, free: 10.52 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.3719, allocations: 4.361 MB / 0.6108 GB, free: 6.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.503e-06/0.3719, allocations: 4 kB / 0.6108 GB, free: 6.043 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004749/0.3724, allocations: 199.7 kB / 0.611 GB, free: 5.848 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007434/0.3731, allocations: 0.5236 MB / 0.6115 GB, free: 5.309 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.3732, allocations: 35.98 kB / 0.6116 GB, free: 5.273 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.3782, allocations: 8.167 MB / 0.6195 GB, free: 12.65 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.3782, allocations: 7.984 kB / 0.6196 GB, free: 12.64 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003524/0.3817, allocations: 3.176 MB / 0.6227 GB, free: 9.387 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/0.3823, allocations: 286.9 kB / 0.6229 GB, free: 9.105 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3824, allocations: 43.98 kB / 0.623 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004935/0.3829, allocations: 99.88 kB / 0.6231 GB, free: 8.965 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002041/0.3831, allocations: 116.7 kB / 0.6232 GB, free: 8.852 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.296e-05/0.3832, allocations: 39.98 kB / 0.6232 GB, free: 8.812 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000815/0.384, allocations: 0.799 MB / 0.624 GB, free: 8.008 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.384, allocations: 4 kB / 0.624 GB, free: 8.004 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001848/0.3859, allocations: 0.7851 MB / 0.6248 GB, free: 7.219 MB / 458.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,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * 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.003575/0.3894, allocations: 3.805 MB / 0.6285 GB, free: 3.324 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005936/0.3954, allocations: 6.413 MB / 0.6347 GB, free: 12.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.3954, allocations: 4 kB / 0.6347 GB, free: 12.69 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002524/0.3979, allocations: 2.685 MB / 0.6374 GB, free: 9.914 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001372/0.3993, allocations: 402.2 kB / 0.6378 GB, free: 9.539 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/0.4146, allocations: 12.51 MB / 0.65 GB, free: 12.54 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/0.4156, allocations: 1.271 MB / 0.6512 GB, free: 11.23 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0009018/0.4165, allocations: 423.9 kB / 0.6516 GB, free: 10.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007401/0.4173, allocations: 0.8586 MB / 0.6525 GB, free: 9.949 MB / 490.7 MB Notification: Performance of SimCode: time 1.563e-06/0.4173, allocations: 4 kB / 0.6525 GB, free: 9.945 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1268/0.5441, allocations: 52.3 MB / 0.7035 GB, free: 6.133 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.515, allocations: 8.062 kB / 0.7035 GB, free: 6.125 MB / 0.5261 GB " [Timeout remaining time 651] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-cvode.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_OMSimulator-cs-euler.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_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_tqFollowing.fmu) > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.615512141026556]