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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001728/0.001728, allocations: 101.9 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002026/0.002026, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 247.8 MB, free: 3.742 MB / 190.1 MB " [Timeout remaining time 178] 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.0389/0.0389, allocations: 8.547 MB / 311.2 MB, free: 2.141 MB / 238.1 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001937/0.001937, allocations: 63.84 kB / 433.2 MB, free: 11.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2567/0.2587, allocations: 54.2 MB / 487.4 MB, free: 25.34 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.01016/0.2688, allocations: 9.759 MB / 497.2 MB, free: 18.42 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005338/0.2742, allocations: 2.71 MB / 499.9 MB, free: 16.44 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001517/0.2757, allocations: 52.16 kB / 499.9 MB, free: 16.43 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.2769, allocations: 0.5146 MB / 0.4887 GB, free: 16.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001836/0.2787, allocations: 0.7077 MB / 0.4894 GB, free: 15.61 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.2798, allocations: 0.5389 MB / 0.4899 GB, free: 15.13 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.002463/0.2822, allocations: 2.674 MB / 0.4925 GB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.284, allocations: 1.668 MB / 0.4942 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00143/0.2854, allocations: 1.19 MB / 0.4953 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.2869, allocations: 1.471 MB / 0.4968 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005044/0.2874, allocations: 334.5 kB / 0.4971 GB, free: 10.81 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008198/0.2882, allocations: 425.6 kB / 0.4975 GB, free: 10.76 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000634/0.2889, allocations: 0.8707 MB / 0.4983 GB, free: 10.09 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.2901, allocations: 1.419 MB / 0.4997 GB, free: 9.055 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003603/0.2937, allocations: 4.153 MB / 0.5038 GB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.2937, allocations: 1.5 kB / 0.5038 GB, free: 5.926 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2937, allocations: 0 / 0.5038 GB, free: 5.926 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.613e-05/0.2938, allocations: 0 / 0.5038 GB, free: 5.926 MB / 366.1 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.005445/0.2993, allocations: 2.961 MB / 0.5067 GB, free: 3.859 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.2993, allocations: 13.11 kB / 0.5067 GB, free: 3.855 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003519/0.2996, allocations: 337.3 kB / 0.507 GB, free: 3.602 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007255/0.3004, allocations: 303.8 kB / 0.5073 GB, free: 3.449 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002457/0.3028, allocations: 1.441 MB / 0.5087 GB, free: 2.383 MB / 366.1 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.0002282/0.3031, allocations: 236.9 kB / 0.5089 GB, free: 2.234 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/0.3034, allocations: 239.6 kB / 0.5092 GB, free: 2.148 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004359/0.3078, allocations: 2.965 MB / 0.5121 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.152e-05/0.3078, allocations: 4 kB / 0.5121 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002222/0.308, allocations: 92 kB / 0.5122 GB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000122/0.3082, allocations: 108.5 kB / 0.5123 GB, free: 15.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004537/0.3127, allocations: 2.376 MB / 0.5146 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01563/0.3283, allocations: 8.716 MB / 0.5231 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003082/0.3314, allocations: 1.561 MB / 0.5246 GB, free: 2.141 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.3332, allocations: 0.912 MB / 0.5255 GB, free: 1.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002626/0.3335, allocations: 126 kB / 0.5256 GB, free: 1.082 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00151/0.335, allocations: 0.785 MB / 0.5264 GB, free: 272 kB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.985e-06/0.335, allocations: 0 / 0.5264 GB, free: 272 kB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01631/0.3513, allocations: 6.998 MB / 0.5332 GB, free: 9.094 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.3515, allocations: 244.3 kB / 0.5335 GB, free: 8.801 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.00205/0.3536, allocations: 1.202 MB / 0.5346 GB, free: 7.586 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.3537, allocations: 49.7 kB / 0.5347 GB, free: 7.531 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.3547, allocations: 1.043 MB / 0.5357 GB, free: 6.477 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.3551, allocations: 436.3 kB / 0.5361 GB, free: 6.047 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004953/0.3556, allocations: 267.5 kB / 0.5364 GB, free: 5.781 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.3558, allocations: 305.1 kB / 0.5367 GB, free: 5.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/0.3572, allocations: 0.7153 MB / 0.5374 GB, free: 4.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/0.3589, allocations: 1.127 MB / 0.5385 GB, free: 3.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008798/0.3677, allocations: 3.606 MB / 0.542 GB, free: 15.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.3677, allocations: 4 kB / 0.542 GB, free: 15.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004907/0.3726, allocations: 2.569 MB / 0.5445 GB, free: 13.06 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.243e-05/0.3727, allocations: 38.02 kB / 0.5445 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/0.3727, allocations: 16 kB / 0.5445 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3739, allocations: 0.5064 MB / 0.545 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.375, allocations: 299.5 kB / 0.5453 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009424/0.3845, allocations: 8.802 MB / 0.5539 GB, free: 2.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/0.3859, allocations: 131.9 kB / 0.554 GB, free: 2.711 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002035/0.3861, allocations: 63.92 kB / 0.5541 GB, free: 2.648 MB / 414.1 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.002571/0.3887, allocations: 1.278 MB / 0.5554 GB, free: 1.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001635/0.3903, allocations: 1.107 MB / 0.5564 GB, free: 96 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008656/0.399, allocations: 3.528 MB / 0.5599 GB, free: 12.39 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.338e-05/0.399, allocations: 4 kB / 0.5599 GB, free: 12.39 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004989/0.404, allocations: 2.518 MB / 0.5623 GB, free: 9.824 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.4041, allocations: 37.69 kB / 0.5624 GB, free: 9.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.819e-05/0.4041, allocations: 12 kB / 0.5624 GB, free: 9.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/0.4053, allocations: 0.5081 MB / 0.5629 GB, free: 9.246 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4064, allocations: 295.5 kB / 0.5632 GB, free: 8.957 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.416, allocations: 8.803 MB / 0.5718 GB, free: 15.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.4176, allocations: 135.8 kB / 0.5719 GB, free: 15.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002343/0.4178, allocations: 67.98 kB / 0.572 GB, free: 15.4 MB / 446.1 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.0005603/0.4184, allocations: 286.1 kB / 0.5722 GB, free: 15.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004037/0.4188, allocations: 151.1 kB / 0.5724 GB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004372/0.4232, allocations: 2.207 MB / 0.5745 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.4232, allocations: 12 kB / 0.5745 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.605e-05/0.4232, allocations: 11.94 kB / 0.5746 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.4232, allocations: 3.984 kB / 0.5746 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00947/0.4327, allocations: 4.724 MB / 0.5792 GB, free: 7.82 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.4327, allocations: 4 kB / 0.5792 GB, free: 7.816 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008738/0.4336, allocations: 195.7 kB / 0.5794 GB, free: 7.625 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.4349, allocations: 0.5236 MB / 0.5799 GB, free: 7.086 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001176/0.435, allocations: 39.97 kB / 0.5799 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009254/0.4443, allocations: 8.62 MB / 0.5883 GB, free: 13.87 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.336e-06/0.4443, allocations: 7.938 kB / 0.5883 GB, free: 13.86 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.4501, allocations: 3.252 MB / 0.5915 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/0.4511, allocations: 372 kB / 0.5919 GB, free: 10.13 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/0.4515, allocations: 32 kB / 0.5919 GB, free: 10.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001093/0.4526, allocations: 107.9 kB / 0.592 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002883/0.4529, allocations: 112.7 kB / 0.5921 GB, free: 9.883 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.459e-05/0.453, allocations: 43.97 kB / 0.5922 GB, free: 9.84 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001439/0.4544, allocations: 0.8146 MB / 0.593 GB, free: 9.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4544, allocations: 0 / 0.593 GB, free: 9.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002981/0.4574, allocations: 0.7851 MB / 0.5937 GB, free: 8.234 MB / 462.1 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.006292/0.4637, allocations: 3.899 MB / 0.5975 GB, free: 4.227 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/0.4747, allocations: 6.584 MB / 0.604 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.983e-06/0.4747, allocations: 0 / 0.604 GB, free: 13.41 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004774/0.4795, allocations: 2.791 MB / 0.6067 GB, free: 10.5 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.4818, allocations: 404.1 kB / 0.6071 GB, free: 10.12 MB / 478.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2093/0.6911, allocations: 12.57 MB / 0.6193 GB, free: 118.7 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001598/0.6927, allocations: 1.839 MB / 0.6211 GB, free: 117.9 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.694, allocations: 418.2 kB / 0.6215 GB, free: 117.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009141/0.6949, allocations: 0.8573 MB / 0.6224 GB, free: 117.9 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/0.6949, allocations: 0 / 0.6224 GB, free: 117.9 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1015/0.7964, allocations: 49.55 MB / 0.6708 GB, free: 88.21 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.77/14.57, allocations: 22.78 kB / 0.6708 GB, free: 88.19 MB / 478.1 MB " [Timeout remaining time 645] (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: 17.56451517622918] Failed to read output from testmodel.py, exit status != 0: 14.680823285132647 14.689817775 14.394041283 Calling exit ...