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.0008663/0.0008663, allocations: 83.58 kB / 19.43 MB, free: 484 kB / 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.0009725/0.0009725, allocations: 162 kB / 22.75 MB, free: 1.801 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.9241/0.9241, allocations: 177.1 MB / 203.1 MB, free: 5.656 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.02467/0.02467, allocations: 6.472 MB / 266 MB, free: 6.723 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.773e-06/1.773e-06, allocations: 3.938 kB / 336.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.141e-05/1.318e-05, allocations: 4.984 kB / 336.8 MB, free: 11.74 MB / 266.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.00625/0.006263, allocations: 8.635 MB / 345.4 MB, free: 3.062 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004399/0.01066, allocations: 2.653 MB / 348.1 MB, free: 412 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006418/0.0113, allocations: 67.56 kB / 348.2 MB, free: 344 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009342/0.01224, allocations: 496.2 kB / 348.6 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001476/0.01371, allocations: 0.7408 MB / 349.4 MB, free: 15.1 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000774/0.01449, allocations: 0.546 MB / 349.9 MB, free: 14.55 MB / 282.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.002431/0.01692, allocations: 2.755 MB / 352.7 MB, free: 11.79 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001287/0.01821, allocations: 1.285 MB / 354 MB, free: 10.44 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001937/0.02014, allocations: 1.801 MB / 355.8 MB, free: 8.633 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.02127, allocations: 1.216 MB / 357 MB, free: 7.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002746/0.02155, allocations: 336 kB / 357.3 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007604/0.02231, allocations: 435.7 kB / 357.7 MB, free: 6.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005496/0.02286, allocations: 0.8959 MB / 358.6 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006876/0.02355, allocations: 0.9822 MB / 359.6 MB, free: 4.777 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002968/0.02652, allocations: 4.23 MB / 363.8 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.02652, allocations: 4 kB / 363.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02652, allocations: 0 / 363.8 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.23e-05/0.02655, allocations: 4 kB / 363.9 MB, free: 0.5273 MB / 282.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.00388/0.03043, allocations: 2.87 MB / 366.7 MB, free: 13.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.111e-05/0.0305, allocations: 16.03 kB / 366.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003263/0.03083, allocations: 337.5 kB / 367.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008858/0.03172, allocations: 0.4913 MB / 367.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.03348, allocations: 1.476 MB / 369 MB, free: 11.25 MB / 298.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.000221/0.0337, allocations: 284 kB / 369.3 MB, free: 10.94 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002352/0.03393, allocations: 247.9 kB / 369.6 MB, free: 10.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003711/0.03764, allocations: 3.104 MB / 372.7 MB, free: 7.465 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.111e-05/0.03768, allocations: 3.984 kB / 372.7 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/0.03783, allocations: 100 kB / 372.8 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.536e-05/0.03791, allocations: 100.5 kB / 372.9 MB, free: 7.262 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002612/0.04052, allocations: 2.36 MB / 375.2 MB, free: 4.887 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008042/0.04856, allocations: 7.947 MB / 383.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001675/0.05024, allocations: 1.333 MB / 384.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/0.05138, allocations: 0.912 MB / 385.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000157/0.05153, allocations: 52.97 kB / 385.5 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001298/0.05283, allocations: 0.8816 MB / 386.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=104): time 2.264e-06/0.05283, allocations: 0 / 386.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=121): time 0.008512/0.06135, allocations: 6.493 MB / 392.8 MB, free: 2.906 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.06147, allocations: 248.3 kB / 393.1 MB, free: 2.609 MB / 314.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.001429/0.0629, allocations: 1.198 MB / 394.3 MB, free: 1.398 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.895e-05/0.06297, allocations: 53.7 kB / 394.3 MB, free: 1.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006073/0.06357, allocations: 1.043 MB / 395.4 MB, free: 292 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.06381, allocations: 428.5 kB / 395.8 MB, free: 15.86 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.06409, allocations: 263.5 kB / 396 MB, free: 15.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.967e-05/0.06418, allocations: 309.1 kB / 396.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008246/0.065, allocations: 0.7325 MB / 397.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.06606, allocations: 1.291 MB / 398.4 MB, free: 13.05 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.07115, allocations: 3.555 MB / 401.9 MB, free: 9.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.07116, allocations: 7.938 kB / 401.9 MB, free: 9.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.002811/0.07397, allocations: 2.565 MB / 404.5 MB, free: 6.715 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.07401, allocations: 40.2 kB / 404.5 MB, free: 6.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/0.07402, allocations: 8 kB / 404.5 MB, free: 6.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007138/0.07474, allocations: 0.5118 MB / 405.1 MB, free: 6.137 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005994/0.07534, allocations: 303.5 kB / 405.4 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.167/0.2423, allocations: 8.352 MB / 413.7 MB, free: 76.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.244, allocations: 140.9 kB / 413.8 MB, free: 76.23 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.2442, allocations: 60.69 kB / 413.9 MB, free: 76.22 MB / 330.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.002578/0.2468, allocations: 1.3 MB / 415.2 MB, free: 75.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001385/0.2481, allocations: 1.277 MB / 416.5 MB, free: 74.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005582/0.2537, allocations: 3.484 MB / 420 MB, free: 73.23 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.314e-05/0.2537, allocations: 3.906 kB / 420 MB, free: 73.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.002931/0.2567, allocations: 2.526 MB / 422.5 MB, free: 72.32 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.868e-05/0.2567, allocations: 45.8 kB / 422.5 MB, free: 72.28 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.2567, allocations: 7.719 kB / 422.5 MB, free: 72.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006737/0.2574, allocations: 0.5057 MB / 423.1 MB, free: 72.13 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.258, allocations: 296 kB / 423.3 MB, free: 72.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.2624, allocations: 8.358 MB / 431.7 MB, free: 64.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009979/0.2634, allocations: 135.8 kB / 431.8 MB, free: 64.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.648e-05/0.2635, allocations: 59.98 kB / 431.9 MB, free: 64.39 MB / 330.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.0004078/0.2639, allocations: 294.9 kB / 432.2 MB, free: 64.12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003305/0.2642, allocations: 196.8 kB / 432.4 MB, free: 64 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002536/0.2667, allocations: 2.123 MB / 434.5 MB, free: 61.86 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.2667, allocations: 12 kB / 434.5 MB, free: 61.85 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.2668, allocations: 4 kB / 434.5 MB, free: 61.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.2668, allocations: 7.984 kB / 434.5 MB, free: 61.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004767/0.2715, allocations: 4.366 MB / 438.9 MB, free: 57.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.2715, allocations: 0 / 438.9 MB, free: 57.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004947/0.272, allocations: 207.2 kB / 439.1 MB, free: 57.21 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007528/0.2728, allocations: 0.5166 MB / 439.6 MB, free: 56.69 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-05/0.2729, allocations: 39.98 kB / 439.6 MB, free: 56.65 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004004/0.2769, allocations: 8.182 MB / 447.8 MB, free: 48.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.2769, allocations: 7.938 kB / 447.8 MB, free: 48.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00331/0.2802, allocations: 3.202 MB / 451 MB, free: 44.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005075/0.2807, allocations: 290.9 kB / 451.3 MB, free: 44.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001301/0.2808, allocations: 39.94 kB / 451.4 MB, free: 44.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005155/0.2813, allocations: 107.8 kB / 451.5 MB, free: 44.47 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002094/0.2815, allocations: 108.7 kB / 451.6 MB, free: 44.36 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.115e-05/0.2816, allocations: 43.92 kB / 451.6 MB, free: 44.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008126/0.2824, allocations: 0.8067 MB / 452.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.2824, allocations: 0 / 452.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002099/0.2845, allocations: 0.7793 MB / 453.2 MB, free: 42.73 MB / 330.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.003261/0.2878, allocations: 3.843 MB / 457 MB, free: 38.8 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005091/0.2929, allocations: 6.425 MB / 463.5 MB, free: 32.17 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.2929, allocations: 4 kB / 463.5 MB, free: 32.17 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001923/0.2948, allocations: 2.684 MB / 466.2 MB, free: 29.39 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2961, allocations: 401 kB / 466.5 MB, free: 29.02 MB / 330.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.01291/0.309, allocations: 12.38 MB / 478.9 MB, free: 16.16 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009233/0.3099, allocations: 1.263 MB / 480.2 MB, free: 14.86 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009251/0.3108, allocations: 424 kB / 480.6 MB, free: 14.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000638/0.3115, allocations: 0.8635 MB / 481.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of SimCode: time 2.234e-06/0.3115, allocations: 3.938 kB / 481.5 MB, free: 13.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07577/0.3872, allocations: 52.43 MB / 0.5214 GB, free: 9.617 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.467/8.854, allocations: 8.062 kB / 0.5214 GB, free: 9.609 MB / 378.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: 10.73062348458916] Failed to read output from testmodel.py, exit status != 0: 8.963363035582006 8.973974849 8.945671009 Calling exit ...