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.001014/0.001014, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001139/0.001139, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.9128/0.9128, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.02908/0.02908, allocations: 6.472 MB / 265.7 MB, free: 6.836 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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 391.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.489e-05/1.674e-05, allocations: 5.234 kB / 391.6 MB, free: 5.711 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.007225/0.007242, allocations: 8.627 MB / 400.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004353/0.01159, allocations: 2.653 MB / 402.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008389/0.01243, allocations: 63.62 kB / 403 MB, free: 10.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009658/0.0134, allocations: 496.3 kB / 403.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001366/0.01476, allocations: 0.7369 MB / 404.2 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008571/0.01562, allocations: 0.5499 MB / 404.7 MB, free: 8.539 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.002192/0.01781, allocations: 2.754 MB / 407.5 MB, free: 5.773 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.01912, allocations: 1.285 MB / 408.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001996/0.02112, allocations: 1.801 MB / 410.6 MB, free: 2.617 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.02222, allocations: 1.219 MB / 411.8 MB, free: 1.395 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002474/0.02247, allocations: 339.9 kB / 412.1 MB, free: 1.062 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004891/0.02296, allocations: 427.8 kB / 412.6 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.02348, allocations: 0.8998 MB / 413.5 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007998/0.02428, allocations: 0.9861 MB / 414.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00276/0.02704, allocations: 4.226 MB / 418.7 MB, free: 10.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.02704, allocations: 3.938 kB / 418.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.02704, allocations: 4 kB / 418.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.02707, allocations: 0 / 418.7 MB, free: 10.51 MB / 394.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.003115/0.03019, allocations: 2.873 MB / 421.6 MB, free: 7.582 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.03022, allocations: 12.03 kB / 421.6 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002695/0.03049, allocations: 333.4 kB / 421.9 MB, free: 7.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004514/0.03095, allocations: 307.2 kB / 422.2 MB, free: 6.934 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.03252, allocations: 1.425 MB / 423.6 MB, free: 5.469 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.000181/0.0327, allocations: 288 kB / 423.9 MB, free: 5.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002135/0.03292, allocations: 239.9 kB / 424.1 MB, free: 4.926 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003193/0.03611, allocations: 3.104 MB / 427.2 MB, free: 1.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/0.03615, allocations: 7.938 kB / 427.2 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.03629, allocations: 96 kB / 427.3 MB, free: 1.59 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.158e-05/0.03636, allocations: 108.5 kB / 427.4 MB, free: 1.48 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002491/0.03885, allocations: 2.356 MB / 429.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007346/0.04619, allocations: 7.806 MB / 437.6 MB, free: 7.059 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.0477, allocations: 1.331 MB / 438.9 MB, free: 5.715 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.04894, allocations: 0.9044 MB / 439.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001465/0.04909, allocations: 50.41 kB / 439.9 MB, free: 4.766 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008083/0.0499, allocations: 0.8738 MB / 440.8 MB, free: 3.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.224e-06/0.0499, allocations: 0 / 440.8 MB, free: 3.832 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.1736/0.2235, allocations: 6.454 MB / 447.2 MB, free: 86.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.4e-05/0.2235, allocations: 249.2 kB / 447.5 MB, free: 86.46 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.00115/0.2247, allocations: 1.196 MB / 448.7 MB, free: 85.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.004e-05/0.2247, allocations: 52.05 kB / 448.7 MB, free: 85.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004683/0.2252, allocations: 1.031 MB / 449.7 MB, free: 85.28 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/0.2254, allocations: 441.1 kB / 450.2 MB, free: 84.99 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002345/0.2256, allocations: 262.1 kB / 450.4 MB, free: 84.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.853e-05/0.2256, allocations: 305.1 kB / 450.7 MB, free: 84.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007237/0.2264, allocations: 0.736 MB / 451.5 MB, free: 84.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008266/0.2272, allocations: 1.297 MB / 452.8 MB, free: 83.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004107/0.2313, allocations: 3.545 MB / 456.3 MB, free: 81.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.2313, allocations: 3.094 kB / 456.3 MB, free: 81.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002313/0.2336, allocations: 2.506 MB / 458.8 MB, free: 80.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.198e-05/0.2337, allocations: 46.14 kB / 458.9 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.2337, allocations: 9.219 kB / 458.9 MB, free: 80.79 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.2343, allocations: 0.4958 MB / 459.4 MB, free: 80.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005338/0.2348, allocations: 307.5 kB / 459.7 MB, free: 80.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003871/0.2387, allocations: 8.329 MB / 468 MB, free: 74.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006441/0.2393, allocations: 136.2 kB / 468.1 MB, free: 74.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.979e-05/0.2394, allocations: 51.41 kB / 468.2 MB, free: 74.08 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.001275/0.2407, allocations: 1.31 MB / 469.5 MB, free: 73.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007788/0.2415, allocations: 1.272 MB / 470.8 MB, free: 72.55 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004171/0.2456, allocations: 3.482 MB / 474.2 MB, free: 71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.632e-06/0.2456, allocations: 5.438 kB / 474.2 MB, free: 71 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002282/0.2479, allocations: 2.462 MB / 476.7 MB, free: 69.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.2479, allocations: 37.73 kB / 476.7 MB, free: 69.95 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.248, allocations: 14.69 kB / 476.8 MB, free: 69.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005625/0.2485, allocations: 0.4995 MB / 477.3 MB, free: 69.79 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005149/0.249, allocations: 294 kB / 477.5 MB, free: 69.76 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004174/0.2532, allocations: 8.328 MB / 485.9 MB, free: 63.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007111/0.2539, allocations: 134.7 kB / 486 MB, free: 63.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/0.254, allocations: 60.7 kB / 486.1 MB, free: 63.23 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.0002789/0.2543, allocations: 305.5 kB / 486.4 MB, free: 62.96 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.2544, allocations: 153.2 kB / 486.5 MB, free: 62.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002427/0.2569, allocations: 2.122 MB / 488.6 MB, free: 62.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.2569, allocations: 15.78 kB / 488.6 MB, free: 62.05 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/0.2569, allocations: 5.094 kB / 488.7 MB, free: 62.05 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.02e-05/0.2569, allocations: 11.73 kB / 488.7 MB, free: 62.05 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004637/0.2615, allocations: 4.352 MB / 493 MB, free: 60.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.092e-06/0.2615, allocations: 7.438 kB / 493 MB, free: 60.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004497/0.262, allocations: 203.4 kB / 493.2 MB, free: 60.15 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007277/0.2627, allocations: 0.5176 MB / 493.7 MB, free: 59.99 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.2628, allocations: 37.52 kB / 493.8 MB, free: 59.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003867/0.2667, allocations: 8.149 MB / 0.4902 GB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2667, allocations: 11.94 kB / 0.4902 GB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003116/0.2698, allocations: 3.17 MB / 0.4933 GB, free: 52.13 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003943/0.2702, allocations: 287.9 kB / 0.4935 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.2703, allocations: 34.09 kB / 0.4936 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004691/0.2707, allocations: 104.4 kB / 0.4937 GB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.271, allocations: 116.8 kB / 0.4938 GB, free: 51.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.271, allocations: 41.81 kB / 0.4938 GB, free: 51.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007129/0.2717, allocations: 0.7983 MB / 0.4946 GB, free: 51.57 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2717, allocations: 0 / 0.4946 GB, free: 51.57 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00159/0.2733, allocations: 0.782 MB / 0.4954 GB, free: 51.5 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.003256/0.2766, allocations: 3.809 MB / 0.4991 GB, free: 49.06 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004952/0.2815, allocations: 6.403 MB / 0.5053 GB, free: 43.05 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.2815, allocations: 4 kB / 0.5053 GB, free: 43.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.2835, allocations: 2.691 MB / 0.508 GB, free: 40.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.2846, allocations: 391.7 kB / 0.5083 GB, free: 40.19 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1883:3-1883:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01057/0.2952, allocations: 12.33 MB / 0.5204 GB, free: 28.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007869/0.296, allocations: 1.265 MB / 0.5216 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006693/0.2967, allocations: 424 kB / 0.522 GB, free: 27.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005412/0.2972, allocations: 0.8635 MB / 0.5229 GB, free: 26.29 MB / 410.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2972, allocations: 0 / 0.5229 GB, free: 26.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06377/0.361, allocations: 52.18 MB / 0.5738 GB, free: 6.609 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.886/9.246, allocations: 15.03 kB / 0.5738 GB, free: 6.598 MB / 442.7 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.27658336609602] Failed to read output from testmodel.py, exit status != 0: 9.350352298468351 9.360945844 9.330832582 Calling exit ...