Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 101.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 225.6 MB / 247.8 MB, free: 3.723 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.03969/0.03969, allocations: 8.55 MB / 311.2 MB, free: 2.148 MB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 63.91 kB / 433.2 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2485, allocations: 54.19 MB / 487.4 MB, free: 25.59 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01096/0.2595, allocations: 9.773 MB / 497.2 MB, free: 18.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006119/0.2656, allocations: 2.711 MB / 499.9 MB, free: 16.68 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001903/0.2675, allocations: 55.62 kB / 499.9 MB, free: 16.66 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0015/0.269, allocations: 0.5119 MB / 0.4887 GB, free: 16.38 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002184/0.2712, allocations: 0.7055 MB / 0.4894 GB, free: 15.79 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.2723, allocations: 0.544 MB / 0.4899 GB, free: 15.31 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.002424/0.2747, allocations: 2.667 MB / 0.4926 GB, free: 13.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00175/0.2765, allocations: 1.66 MB / 0.4942 GB, free: 12.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001393/0.2778, allocations: 1.195 MB / 0.4953 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001437/0.2793, allocations: 1.466 MB / 0.4968 GB, free: 11 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004548/0.2797, allocations: 334.7 kB / 0.4971 GB, free: 11 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007244/0.2805, allocations: 425.3 kB / 0.4975 GB, free: 10.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005929/0.2811, allocations: 0.8757 MB / 0.4984 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001171/0.2822, allocations: 1.418 MB / 0.4997 GB, free: 9.238 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003678/0.2859, allocations: 4.15 MB / 0.5038 GB, free: 6.113 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.2859, allocations: 0 / 0.5038 GB, free: 6.113 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2859, allocations: 0 / 0.5038 GB, free: 6.113 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.099e-05/0.286, allocations: 0 / 0.5038 GB, free: 6.113 MB / 366.1 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.005233/0.2912, allocations: 2.966 MB / 0.5067 GB, free: 4.043 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.2913, allocations: 13.14 kB / 0.5067 GB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003786/0.2916, allocations: 341 kB / 0.507 GB, free: 3.781 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007022/0.2923, allocations: 304.8 kB / 0.5073 GB, free: 3.629 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002359/0.2947, allocations: 1.432 MB / 0.5087 GB, free: 2.57 MB / 366.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.000213/0.2949, allocations: 243.1 kB / 0.5089 GB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003224/0.2952, allocations: 231.5 kB / 0.5092 GB, free: 2.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004243/0.2995, allocations: 2.971 MB / 0.5121 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.847e-05/0.2995, allocations: 0 / 0.5121 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.2997, allocations: 95.91 kB / 0.5122 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.2999, allocations: 108.5 kB / 0.5123 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004447/0.3043, allocations: 2.379 MB / 0.5146 GB, free: 12.72 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01552/0.3198, allocations: 8.716 MB / 0.5231 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002743/0.3226, allocations: 1.565 MB / 0.5246 GB, free: 2.129 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/0.3244, allocations: 0.9042 MB / 0.5255 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002546/0.3246, allocations: 126 kB / 0.5256 GB, free: 1.078 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001366/0.326, allocations: 0.785 MB / 0.5264 GB, free: 268 kB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.326, allocations: 0 / 0.5264 GB, free: 268 kB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01543/0.3414, allocations: 6.994 MB / 0.5332 GB, free: 9.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001535/0.3416, allocations: 252.3 kB / 0.5335 GB, free: 8.793 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.001836/0.3434, allocations: 1.202 MB / 0.5346 GB, free: 7.578 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.3435, allocations: 49.7 kB / 0.5347 GB, free: 7.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009651/0.3445, allocations: 1.043 MB / 0.5357 GB, free: 6.469 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000428/0.3449, allocations: 436.3 kB / 0.5361 GB, free: 6.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004463/0.3454, allocations: 267.5 kB / 0.5364 GB, free: 5.773 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3455, allocations: 305.1 kB / 0.5367 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00132/0.3468, allocations: 0.7269 MB / 0.5374 GB, free: 4.742 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001599/0.3484, allocations: 1.127 MB / 0.5385 GB, free: 3.449 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008809/0.3572, allocations: 3.594 MB / 0.542 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/0.3572, allocations: 8 kB / 0.542 GB, free: 15.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004762/0.362, allocations: 2.561 MB / 0.5445 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.539e-05/0.3621, allocations: 38.02 kB / 0.5445 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/0.3621, allocations: 16 kB / 0.5445 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001244/0.3633, allocations: 0.4959 MB / 0.545 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.3645, allocations: 303.5 kB / 0.5453 GB, free: 12.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009074/0.3736, allocations: 8.806 MB / 0.5539 GB, free: 2.836 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.3751, allocations: 131.9 kB / 0.554 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.3753, allocations: 59.92 kB / 0.5541 GB, free: 2.648 MB / 414.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002339/0.3776, allocations: 1.29 MB / 0.5554 GB, free: 1.355 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00154/0.3792, allocations: 1.103 MB / 0.5564 GB, free: 88 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008572/0.3877, allocations: 3.532 MB / 0.5599 GB, free: 12.38 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.799e-06/0.3877, allocations: 0 / 0.5599 GB, free: 12.38 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004539/0.3923, allocations: 2.522 MB / 0.5624 GB, free: 9.812 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.864e-05/0.3924, allocations: 43.42 kB / 0.5624 GB, free: 9.766 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.745e-05/0.3924, allocations: 12 kB / 0.5624 GB, free: 9.754 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.3936, allocations: 0.5027 MB / 0.5629 GB, free: 9.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.3947, allocations: 295.5 kB / 0.5632 GB, free: 8.949 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009319/0.404, allocations: 8.795 MB / 0.5718 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4058, allocations: 135.8 kB / 0.5719 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002836/0.4061, allocations: 67.98 kB / 0.572 GB, free: 15.4 MB / 446.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = \"rad/s\" fixed = true ) \"Absolute angular velocity of component (= der(phi))\" type: Real 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.0005686/0.4067, allocations: 302.5 kB / 0.5723 GB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003479/0.407, allocations: 143.1 kB / 0.5724 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.4112, allocations: 2.207 MB / 0.5745 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.4113, allocations: 12 kB / 0.5746 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.4113, allocations: 4 kB / 0.5746 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.455e-05/0.4113, allocations: 7.969 kB / 0.5746 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008632/0.4199, allocations: 4.717 MB / 0.5792 GB, free: 7.824 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.357e-06/0.4199, allocations: 4 kB / 0.5792 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000854/0.4208, allocations: 203.7 kB / 0.5794 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001291/0.4221, allocations: 0.5197 MB / 0.5799 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.4222, allocations: 39.97 kB / 0.5799 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008517/0.4307, allocations: 8.619 MB / 0.5883 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.886e-06/0.4307, allocations: 4 kB / 0.5883 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00566/0.4363, allocations: 3.26 MB / 0.5915 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009507/0.4373, allocations: 368 kB / 0.5919 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002273/0.4375, allocations: 43.98 kB / 0.5919 GB, free: 10.09 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000942/0.4385, allocations: 99.89 kB / 0.592 GB, free: 9.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002672/0.4387, allocations: 116.7 kB / 0.5921 GB, free: 9.875 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.368e-05/0.4388, allocations: 39.98 kB / 0.5922 GB, free: 9.836 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001188/0.44, allocations: 0.8185 MB / 0.593 GB, free: 9.012 MB / 462.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.44, allocations: 0 / 0.593 GB, free: 9.012 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002494/0.4425, allocations: 0.7851 MB / 0.5937 GB, free: 8.227 MB / 462.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,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.0059/0.4484, allocations: 3.906 MB / 0.5975 GB, free: 4.215 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01058/0.459, allocations: 6.576 MB / 0.604 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/0.459, allocations: 4 kB / 0.604 GB, free: 13.4 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004541/0.4635, allocations: 2.791 MB / 0.6067 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/0.4655, allocations: 398.5 kB / 0.6071 GB, free: 10.11 MB / 478.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.2159/0.6814, allocations: 12.56 MB / 0.6193 GB, free: 118.5 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001638/0.683, allocations: 1.84 MB / 0.6211 GB, free: 117.8 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001373/0.6844, allocations: 422.8 kB / 0.6215 GB, free: 117.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008719/0.6853, allocations: 0.8582 MB / 0.6224 GB, free: 117.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.172e-06/0.6853, allocations: 0 / 0.6224 GB, free: 117.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8624/1.548, allocations: 49.58 MB / 0.6708 GB, free: 87.46 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.53, allocations: 0 / 0.6708 GB, free: 87.46 MB / 478.1 MB " [Timeout remaining time 644] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.563646723050624] Failed to read output from testmodel.py, exit status != 0: 15.639702098444104 15.649233095 15.361146701000001 Calling exit ...