Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.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.0008351/0.0008351, 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.9031/0.9031, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.02614/0.02614, allocations: 6.485 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 main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 391.6 MB, free: 4.523 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.049e-05/1.217e-05, allocations: 5.234 kB / 391.6 MB, free: 4.52 MB / 314.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.007362/0.007374, allocations: 8.643 MB / 400.3 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.004118/0.01149, allocations: 2.653 MB / 402.9 MB, free: 9.172 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006763/0.01217, allocations: 67.56 kB / 403 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007896/0.01296, allocations: 492.3 kB / 403.5 MB, free: 8.621 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001288/0.01425, allocations: 0.737 MB / 404.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007306/0.01498, allocations: 0.5537 MB / 404.8 MB, free: 7.324 MB / 330.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.001988/0.01696, allocations: 2.766 MB / 407.5 MB, free: 4.547 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001408/0.01837, allocations: 1.277 MB / 408.8 MB, free: 3.207 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001453/0.01982, allocations: 1.805 MB / 410.6 MB, free: 1.398 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009767/0.0208, allocations: 1.212 MB / 411.8 MB, free: 188 kB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1584/0.1792, allocations: 337.5 kB / 412.1 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009751/0.1802, allocations: 427.3 kB / 412.6 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005424/0.1808, allocations: 0.895 MB / 413.5 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008594/0.1816, allocations: 0.9822 MB / 414.4 MB, free: 18.77 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00316/0.1848, allocations: 4.23 MB / 418.7 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1848, allocations: 3.312 kB / 418.7 MB, free: 18.59 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1848, allocations: 0 / 418.7 MB, free: 18.59 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.966e-05/0.1848, allocations: 1.375 kB / 418.7 MB, free: 18.59 MB / 330.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.003382/0.1882, allocations: 2.878 MB / 421.6 MB, free: 17.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.1883, allocations: 13.72 kB / 421.6 MB, free: 17.45 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002818/0.1885, allocations: 331.9 kB / 421.9 MB, free: 17.39 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004681/0.189, allocations: 305 kB / 422.2 MB, free: 17.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.1905, allocations: 1.42 MB / 423.6 MB, free: 16.86 MB / 330.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.0001613/0.1907, allocations: 290.8 kB / 423.9 MB, free: 16.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002535/0.191, allocations: 240.6 kB / 424.1 MB, free: 16.57 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003144/0.1941, allocations: 3.108 MB / 427.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.1941, allocations: 6.516 kB / 427.2 MB, free: 15.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.1943, allocations: 92.62 kB / 427.3 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.98e-05/0.1944, allocations: 112.5 kB / 427.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.197, allocations: 2.356 MB / 429.8 MB, free: 14.24 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0067/0.2037, allocations: 7.799 MB / 437.6 MB, free: 8.98 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/0.2051, allocations: 1.337 MB / 438.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009322/0.206, allocations: 0.8954 MB / 439.8 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001417/0.2062, allocations: 38.5 kB / 439.9 MB, free: 7.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007364/0.2069, allocations: 0.8847 MB / 440.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 2.225e-06/0.2069, allocations: 0 / 440.8 MB, free: 7.242 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.007589/0.2145, allocations: 6.453 MB / 447.2 MB, free: 1.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.131e-05/0.2146, allocations: 256.3 kB / 447.5 MB, free: 1.52 MB / 330.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.0009615/0.2155, allocations: 1.198 MB / 448.7 MB, free: 316 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.899e-05/0.2156, allocations: 49.7 kB / 448.7 MB, free: 260 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005912/0.2162, allocations: 1.051 MB / 449.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000232/0.2164, allocations: 433.9 kB / 450.2 MB, free: 14.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002844/0.2167, allocations: 263.5 kB / 450.4 MB, free: 14.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.648e-05/0.2168, allocations: 301.1 kB / 450.7 MB, free: 14.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000801/0.2176, allocations: 0.7325 MB / 451.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/0.2188, allocations: 1.301 MB / 452.8 MB, free: 12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004778/0.2236, allocations: 3.55 MB / 456.3 MB, free: 8.336 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/0.2236, allocations: 4 kB / 456.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002728/0.2263, allocations: 2.501 MB / 458.8 MB, free: 5.875 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.525e-05/0.2263, allocations: 40.7 kB / 458.9 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.2263, allocations: 8 kB / 458.9 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007085/0.227, allocations: 0.5123 MB / 459.4 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.2276, allocations: 297.7 kB / 459.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005628/0.2333, allocations: 8.341 MB / 468 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007819/0.234, allocations: 131.8 kB / 468.1 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.008e-05/0.2341, allocations: 63.98 kB / 468.2 MB, free: 12.09 MB / 362.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.001814/0.2359, allocations: 1.299 MB / 469.5 MB, free: 10.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009514/0.2369, allocations: 1.275 MB / 470.8 MB, free: 9.316 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004838/0.2417, allocations: 3.486 MB / 474.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.606e-06/0.2417, allocations: 0 / 474.3 MB, free: 5.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002522/0.2442, allocations: 2.451 MB / 476.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.2443, allocations: 48.53 kB / 476.8 MB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2443, allocations: 8 kB / 476.8 MB, free: 3.234 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006208/0.2449, allocations: 0.5007 MB / 477.3 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.2454, allocations: 300.7 kB / 477.6 MB, free: 2.453 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.2505, allocations: 8.334 MB / 485.9 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008206/0.2513, allocations: 135.9 kB / 486 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.547e-05/0.2514, allocations: 56 kB / 486.1 MB, free: 9.527 MB / 378.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.00037/0.2518, allocations: 302.6 kB / 486.4 MB, free: 9.246 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.2519, allocations: 147.1 kB / 486.5 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00284/0.2548, allocations: 2.123 MB / 488.6 MB, free: 6.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.2548, allocations: 15.98 kB / 488.7 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2548, allocations: 4 kB / 488.7 MB, free: 6.949 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.2548, allocations: 11.44 kB / 488.7 MB, free: 6.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004961/0.2597, allocations: 4.359 MB / 493 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2598, allocations: 0 / 493 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004396/0.2602, allocations: 202.4 kB / 493.2 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007536/0.2609, allocations: 0.5232 MB / 493.8 MB, free: 1.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.791e-05/0.261, allocations: 43.97 kB / 493.8 MB, free: 1.766 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005137/0.2662, allocations: 8.14 MB / 0.4902 GB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.2662, allocations: 7.281 kB / 0.4902 GB, free: 9.211 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/0.2697, allocations: 3.162 MB / 0.4933 GB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.2702, allocations: 305.2 kB / 0.4936 GB, free: 5.699 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001166/0.2703, allocations: 32 kB / 0.4936 GB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005127/0.2708, allocations: 107.9 kB / 0.4937 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002051/0.271, allocations: 115.6 kB / 0.4938 GB, free: 5.457 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.467e-05/0.2711, allocations: 39.98 kB / 0.4938 GB, free: 5.418 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000831/0.2719, allocations: 0.8067 MB / 0.4946 GB, free: 4.605 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2719, allocations: 4 kB / 0.4946 GB, free: 4.602 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001976/0.2739, allocations: 0.78 MB / 0.4954 GB, free: 3.824 MB / 394.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.003856/0.2777, allocations: 3.798 MB / 0.4991 GB, free: 15.96 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005774/0.2835, allocations: 6.415 MB / 0.5054 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.2835, allocations: 0 / 0.5054 GB, free: 9.348 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.2856, allocations: 2.687 MB / 0.508 GB, free: 6.574 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/0.2867, allocations: 383.3 kB / 0.5084 GB, free: 6.215 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.01288/0.2996, allocations: 12.32 MB / 0.5204 GB, free: 9.414 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009447/0.3005, allocations: 1.275 MB / 0.5216 GB, free: 8.094 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007663/0.3013, allocations: 419.9 kB / 0.522 GB, free: 7.68 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007024/0.302, allocations: 0.8596 MB / 0.5229 GB, free: 6.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/0.302, allocations: 0 / 0.5229 GB, free: 6.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06602/0.368, allocations: 52.2 MB / 0.5739 GB, free: 3.148 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.308/8.676, allocations: 3.938 kB / 0.5739 GB, free: 3.145 MB / 474.7 MB " [Timeout remaining time 651] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing_fmu --startTime=0 --stopTime=12 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.715358529239893] Failed to read output from testmodel.py, exit status != 0: 8.781267597340047 8.923687731 8.736784549 Calling exit ...