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.0007477/0.0007477, 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.0007842/0.0007842, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.9169/0.9169, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.02668/0.02668, allocations: 6.482 MB / 265.7 MB, free: 6.844 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 2.976e-06/2.976e-06, allocations: 0 / 391.6 MB, free: 5.711 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.129e-05/2.427e-05, allocations: 5.234 kB / 391.6 MB, free: 5.707 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.007647/0.007671, allocations: 8.635 MB / 400.3 MB, free: 13.04 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004472/0.01214, allocations: 2.649 MB / 402.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001127/0.01327, allocations: 67.56 kB / 403 MB, free: 10.31 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001084/0.01435, allocations: 0.4885 MB / 403.5 MB, free: 9.82 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001752/0.01611, allocations: 0.7331 MB / 404.2 MB, free: 9.082 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.01717, allocations: 0.5499 MB / 404.7 MB, free: 8.535 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.002786/0.01995, allocations: 2.766 MB / 407.5 MB, free: 5.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001564/0.02152, allocations: 1.277 MB / 408.8 MB, free: 4.414 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002485/0.024, allocations: 1.801 MB / 410.6 MB, free: 2.609 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001883/0.02589, allocations: 1.219 MB / 411.8 MB, free: 1.387 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006777/0.02656, allocations: 336 kB / 412.1 MB, free: 1.059 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000668/0.02723, allocations: 431.8 kB / 412.6 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.02784, allocations: 0.8959 MB / 413.5 MB, free: 15.74 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001451/0.02929, allocations: 0.9861 MB / 414.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003691/0.03298, allocations: 4.23 MB / 418.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/0.03299, allocations: 0 / 418.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.03299, allocations: 0 / 418.7 MB, free: 10.51 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002263/0.03322, allocations: 4 kB / 418.7 MB, free: 10.5 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.005388/0.03861, allocations: 2.873 MB / 421.5 MB, free: 7.578 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.03865, allocations: 8.031 kB / 421.6 MB, free: 7.57 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002988/0.03895, allocations: 337.5 kB / 421.9 MB, free: 7.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006056/0.03956, allocations: 307.2 kB / 422.2 MB, free: 6.93 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.04146, allocations: 1.429 MB / 423.6 MB, free: 5.461 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.0002093/0.04167, allocations: 288 kB / 423.9 MB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002232/0.04189, allocations: 239.9 kB / 424.1 MB, free: 4.918 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003415/0.04531, allocations: 3.104 MB / 427.2 MB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-05/0.04535, allocations: 7.984 kB / 427.2 MB, free: 1.676 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/0.04549, allocations: 95.98 kB / 427.3 MB, free: 1.582 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.904e-05/0.04557, allocations: 104.5 kB / 427.4 MB, free: 1.477 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002869/0.04844, allocations: 2.356 MB / 429.8 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008824/0.05727, allocations: 7.81 MB / 437.6 MB, free: 7.051 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.05897, allocations: 1.319 MB / 438.9 MB, free: 5.719 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001101/0.06007, allocations: 0.9099 MB / 439.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001645/0.06024, allocations: 44.91 kB / 439.9 MB, free: 4.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000896/0.06114, allocations: 0.8776 MB / 440.8 MB, free: 3.832 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.947e-06/0.06114, allocations: 4 kB / 440.8 MB, free: 3.828 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.1713/0.2324, allocations: 6.45 MB / 447.2 MB, free: 86.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.2325, allocations: 249.5 kB / 447.4 MB, free: 86.51 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.001078/0.2336, allocations: 1.197 MB / 448.6 MB, free: 86.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.569e-05/0.2336, allocations: 55.86 kB / 448.7 MB, free: 85.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004816/0.2341, allocations: 1.039 MB / 449.7 MB, free: 85.33 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001863/0.2343, allocations: 436.3 kB / 450.2 MB, free: 85.04 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000246/0.2345, allocations: 259.9 kB / 450.4 MB, free: 84.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.599e-05/0.2346, allocations: 305.1 kB / 450.7 MB, free: 84.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007353/0.2353, allocations: 0.7369 MB / 451.5 MB, free: 84.34 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008134/0.2361, allocations: 1.295 MB / 452.8 MB, free: 83.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004249/0.2404, allocations: 3.548 MB / 456.3 MB, free: 81.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.248e-06/0.2404, allocations: 3.156 kB / 456.3 MB, free: 81.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002616/0.243, allocations: 2.507 MB / 458.8 MB, free: 80.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.243, allocations: 42.36 kB / 458.8 MB, free: 80.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.486e-05/0.2431, allocations: 9.656 kB / 458.9 MB, free: 80.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006503/0.2437, allocations: 0.4915 MB / 459.4 MB, free: 80.68 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005709/0.2443, allocations: 314.1 kB / 459.7 MB, free: 80.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.2484, allocations: 8.324 MB / 468 MB, free: 74.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009453/0.2493, allocations: 133.4 kB / 468.1 MB, free: 74.13 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.2494, allocations: 60.75 kB / 468.2 MB, free: 74.12 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.001535/0.251, allocations: 1.303 MB / 469.5 MB, free: 73.54 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008461/0.2518, allocations: 1.277 MB / 470.8 MB, free: 72.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004335/0.2561, allocations: 3.475 MB / 474.2 MB, free: 71.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.618e-06/0.2561, allocations: 2.812 kB / 474.2 MB, free: 71.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002565/0.2587, allocations: 2.47 MB / 476.7 MB, free: 70.02 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.2587, allocations: 39.8 kB / 476.7 MB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.2588, allocations: 9.906 kB / 476.7 MB, free: 69.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006615/0.2594, allocations: 0.5052 MB / 477.3 MB, free: 69.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006008/0.26, allocations: 294.8 kB / 477.5 MB, free: 69.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004195/0.2642, allocations: 8.323 MB / 485.9 MB, free: 63.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.2652, allocations: 134.6 kB / 486 MB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/0.2653, allocations: 60.8 kB / 486.1 MB, free: 63.27 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.0003596/0.2656, allocations: 303.9 kB / 486.4 MB, free: 63.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.2658, allocations: 149 kB / 486.5 MB, free: 62.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/0.2685, allocations: 2.118 MB / 488.6 MB, free: 62.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.2685, allocations: 12.34 kB / 488.6 MB, free: 62.11 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/0.2685, allocations: 8.375 kB / 488.6 MB, free: 62.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.2685, allocations: 12.06 kB / 488.6 MB, free: 62.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005466/0.274, allocations: 4.362 MB / 493 MB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.233e-06/0.274, allocations: 8.25 kB / 493 MB, free: 60.21 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004988/0.2745, allocations: 208.2 kB / 493.2 MB, free: 60.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008067/0.2753, allocations: 0.5117 MB / 493.7 MB, free: 60.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.2754, allocations: 39.55 kB / 493.8 MB, free: 60.01 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004495/0.2799, allocations: 8.153 MB / 0.4902 GB, free: 53.56 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.2799, allocations: 6.375 kB / 0.4902 GB, free: 53.56 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003674/0.2835, allocations: 3.168 MB / 0.4933 GB, free: 52.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006425/0.2842, allocations: 297.5 kB / 0.4935 GB, free: 52.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.2843, allocations: 30.28 kB / 0.4936 GB, free: 52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005104/0.2848, allocations: 104.3 kB / 0.4937 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002602/0.2851, allocations: 117.4 kB / 0.4938 GB, free: 51.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.377e-05/0.2851, allocations: 43.8 kB / 0.4938 GB, free: 51.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009047/0.286, allocations: 0.8021 MB / 0.4946 GB, free: 51.61 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.286, allocations: 0 / 0.4946 GB, free: 51.61 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001934/0.288, allocations: 0.7792 MB / 0.4954 GB, free: 51.54 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.003527/0.2915, allocations: 3.805 MB / 0.4991 GB, free: 49.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005642/0.2971, allocations: 6.406 MB / 0.5053 GB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.2971, allocations: 0 / 0.5053 GB, free: 43.09 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002157/0.2993, allocations: 2.689 MB / 0.508 GB, free: 40.55 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001288/0.3006, allocations: 383.4 kB / 0.5083 GB, free: 40.24 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.0122/0.3128, allocations: 12.34 MB / 0.5204 GB, free: 28.88 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008808/0.3137, allocations: 1.263 MB / 0.5216 GB, free: 27.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000974/0.3146, allocations: 431.9 kB / 0.522 GB, free: 27.14 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005791/0.3152, allocations: 0.8557 MB / 0.5229 GB, free: 26.29 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/0.3152, allocations: 0 / 0.5229 GB, free: 26.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07423/0.3894, allocations: 52.18 MB / 0.5738 GB, free: 6.59 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.168/8.557, allocations: 15.52 kB / 0.5738 GB, free: 6.578 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.535479933954775] Failed to read output from testmodel.py, exit status != 0: 8.666060992516577 8.675297965 8.640409115 Calling exit ...