Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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.0009387/0.0009387, allocations: 101.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001001/0.001001, allocations: 218.4 kB / 22.25 MB, free: 3.711 MB / 13.93 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.9457/0.9457, allocations: 230.6 MB / 256 MB, free: 9.586 MB / 202.7 MB " [Timeout remaining time 179] 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.04113/0.04113, allocations: 8.556 MB / 321 MB, free: 9.418 MB / 250.7 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",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: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 71.89 kB / 450 MB, free: 37.99 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07437/0.0759, allocations: 55.43 MB / 0.4936 GB, free: 14.47 MB / 362.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(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.006753/0.08266, allocations: 8.626 MB / 0.502 GB, free: 5.797 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003735/0.08639, allocations: 2.634 MB / 0.5046 GB, free: 3.152 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007789/0.08717, allocations: 67.56 kB / 0.5047 GB, free: 3.086 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008469/0.08802, allocations: 0.4886 MB / 0.5052 GB, free: 2.594 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.08932, allocations: 0.7026 MB / 0.5058 GB, free: 1.887 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007199/0.09004, allocations: 0.55 MB / 0.5064 GB, free: 1.336 MB / 362.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.002052/0.09209, allocations: 2.67 MB / 0.509 GB, free: 14.65 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001189/0.09328, allocations: 1.277 MB / 0.5102 GB, free: 13.31 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001112/0.09439, allocations: 1.234 MB / 0.5114 GB, free: 12.07 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001202/0.09559, allocations: 1.366 MB / 0.5128 GB, free: 10.7 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003162/0.09591, allocations: 332 kB / 0.5131 GB, free: 10.38 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004428/0.09635, allocations: 431.8 kB / 0.5135 GB, free: 9.957 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004645/0.09682, allocations: 0.8727 MB / 0.5143 GB, free: 9.082 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006962/0.09751, allocations: 1.159 MB / 0.5155 GB, free: 7.918 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.09979, allocations: 4.181 MB / 0.5196 GB, free: 3.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.0998, allocations: 4 kB / 0.5196 GB, free: 3.719 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.0998, allocations: 3.938 kB / 0.5196 GB, free: 3.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.889e-05/0.09986, allocations: 0 / 0.5196 GB, free: 3.715 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.003412/0.1033, allocations: 2.901 MB / 0.5224 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1033, allocations: 8.031 kB / 0.5224 GB, free: 0.7539 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/0.1036, allocations: 341.4 kB / 0.5227 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004751/0.1041, allocations: 307.2 kB / 0.523 GB, free: 112 kB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001656/0.1057, allocations: 1.43 MB / 0.5244 GB, free: 14.64 MB / 394.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.0002421/0.106, allocations: 285.9 kB / 0.5247 GB, free: 14.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/0.1062, allocations: 235.9 kB / 0.5249 GB, free: 14.11 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.1095, allocations: 3.1 MB / 0.528 GB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/0.1095, allocations: 15.92 kB / 0.528 GB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001466/0.1097, allocations: 96 kB / 0.5281 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.306e-05/0.1098, allocations: 104.5 kB / 0.5282 GB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.1124, allocations: 2.356 MB / 0.5305 GB, free: 8.289 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007664/0.1201, allocations: 7.802 MB / 0.5381 GB, free: 248 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.1216, allocations: 1.329 MB / 0.5394 GB, free: 14.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009821/0.1226, allocations: 0.9045 MB / 0.5403 GB, free: 14 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001361/0.1227, allocations: 44.97 kB / 0.5403 GB, free: 13.96 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008096/0.1235, allocations: 0.8777 MB / 0.5412 GB, free: 13.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.004e-06/0.1235, allocations: 0 / 0.5412 GB, free: 13.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.008233/0.1318, allocations: 6.457 MB / 0.5475 GB, free: 6.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.1319, allocations: 252.3 kB / 0.5477 GB, free: 6.219 MB / 410.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.001019/0.1329, allocations: 1.2 MB / 0.5489 GB, free: 5.008 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.084e-05/0.1329, allocations: 45.7 kB / 0.5489 GB, free: 4.957 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000493/0.1334, allocations: 1.043 MB / 0.5499 GB, free: 3.902 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.1336, allocations: 440.3 kB / 0.5504 GB, free: 3.469 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002595/0.1339, allocations: 263.5 kB / 0.5506 GB, free: 3.207 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.873e-05/0.134, allocations: 309.1 kB / 0.5509 GB, free: 2.902 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001026/0.135, allocations: 0.7365 MB / 0.5516 GB, free: 2.156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009867/0.136, allocations: 1.302 MB / 0.5529 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1591/0.2951, allocations: 3.541 MB / 0.5564 GB, free: 56.12 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/0.2951, allocations: 2.5 kB / 0.5564 GB, free: 56.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00303/0.2981, allocations: 2.5 MB / 0.5588 GB, free: 55.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.084e-05/0.2982, allocations: 38.38 kB / 0.5588 GB, free: 55.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/0.2982, allocations: 10.47 kB / 0.5588 GB, free: 55.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007197/0.2989, allocations: 0.5044 MB / 0.5593 GB, free: 55.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006113/0.2995, allocations: 306.4 kB / 0.5596 GB, free: 55.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004847/0.3044, allocations: 8.337 MB / 0.5678 GB, free: 48.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008805/0.3052, allocations: 136.9 kB / 0.5679 GB, free: 48.55 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.3053, allocations: 59.67 kB / 0.568 GB, free: 48.54 MB / 410.7 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.001707/0.307, allocations: 1.298 MB / 0.5692 GB, free: 47.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008941/0.3079, allocations: 1.278 MB / 0.5705 GB, free: 47.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004178/0.3121, allocations: 3.481 MB / 0.5739 GB, free: 45.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.958e-06/0.3121, allocations: 3.219 kB / 0.5739 GB, free: 45.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002335/0.3144, allocations: 2.454 MB / 0.5763 GB, free: 44.53 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.6e-05/0.3145, allocations: 42.53 kB / 0.5763 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.3145, allocations: 15.44 kB / 0.5763 GB, free: 44.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005746/0.3151, allocations: 0.502 MB / 0.5768 GB, free: 44.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005174/0.3156, allocations: 302.7 kB / 0.5771 GB, free: 44.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003681/0.3193, allocations: 8.327 MB / 0.5852 GB, free: 35.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000763/0.32, allocations: 139.9 kB / 0.5854 GB, free: 35.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.264e-05/0.3201, allocations: 68.23 kB / 0.5854 GB, free: 35.72 MB / 410.7 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.0003214/0.3204, allocations: 296.1 kB / 0.5857 GB, free: 35.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.3205, allocations: 149.1 kB / 0.5859 GB, free: 35.37 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002094/0.3226, allocations: 2.132 MB / 0.5879 GB, free: 33.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.3226, allocations: 12 kB / 0.588 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3226, allocations: 4 kB / 0.588 GB, free: 33.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.3226, allocations: 3.984 kB / 0.588 GB, free: 33.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003845/0.3265, allocations: 4.361 MB / 0.5922 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.3265, allocations: 4 kB / 0.5922 GB, free: 28.77 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004228/0.3269, allocations: 204.1 kB / 0.5924 GB, free: 28.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006272/0.3275, allocations: 0.5142 MB / 0.5929 GB, free: 28.04 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.677e-05/0.3276, allocations: 38.05 kB / 0.593 GB, free: 28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003317/0.3309, allocations: 8.166 MB / 0.6009 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3309, allocations: 12.05 kB / 0.6009 GB, free: 19.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002699/0.3336, allocations: 3.174 MB / 0.604 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.3342, allocations: 290.9 kB / 0.6043 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001418/0.3343, allocations: 31.98 kB / 0.6044 GB, free: 15.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000621/0.3349, allocations: 107.9 kB / 0.6045 GB, free: 15.72 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002189/0.3351, allocations: 116.7 kB / 0.6046 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.184e-05/0.3352, allocations: 39.98 kB / 0.6046 GB, free: 15.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008097/0.336, allocations: 0.799 MB / 0.6054 GB, free: 14.76 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.336, allocations: 0 / 0.6054 GB, free: 14.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002061/0.3381, allocations: 0.7832 MB / 0.6061 GB, free: 13.98 MB / 410.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.003657/0.3417, allocations: 3.814 MB / 0.6099 GB, free: 10.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006086/0.3478, allocations: 6.408 MB / 0.6161 GB, free: 3.484 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.3478, allocations: 4.688 kB / 0.6161 GB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002398/0.3502, allocations: 2.683 MB / 0.6188 GB, free: 0.7109 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001526/0.3517, allocations: 395.7 kB / 0.6191 GB, free: 340 kB / 410.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.01678/0.3685, allocations: 12.52 MB / 0.6314 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.3698, allocations: 1.267 MB / 0.6326 GB, free: 2.043 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001115/0.3709, allocations: 427.9 kB / 0.633 GB, free: 1.621 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008803/0.3718, allocations: 0.8586 MB / 0.6338 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/0.3718, allocations: 0 / 0.6338 GB, free: 0.7617 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/0.5354, allocations: 52.3 MB / 0.6849 GB, free: 12.97 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.724/8.259, allocations: 6.594 kB / 0.6849 GB, free: 12.97 MB / 490.7 MB " [Timeout remaining time 652] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=me --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-cvode.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --mode=cs --timeout=240 --tolerance=0.0001 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_OMSimulator-cs-euler.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy_res.csv --start-time 0 --stop-time 12 --timeout 240 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 ../EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu) > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 11.374007840640843]