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.002003/0.002003, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.00222/0.00222, allocations: 211.6 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.56/1.56, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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.04301/0.04301, allocations: 8.549 MB / 321.7 MB, free: 10.42 MB / 254.1 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: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002077/0.002077, allocations: 75.88 kB / 448.1 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1214, allocations: 55.43 MB / 0.4917 GB, free: 7.633 MB / 366.1 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.01229/0.1337, allocations: 8.615 MB / 0.5001 GB, free: 14.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006091/0.1397, allocations: 2.653 MB / 0.5027 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001297/0.141, allocations: 63.62 kB / 0.5028 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001338/0.1424, allocations: 488.3 kB / 0.5033 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002126/0.1445, allocations: 0.722 MB / 0.504 GB, free: 11.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1457, allocations: 0.5383 MB / 0.5045 GB, free: 10.51 MB / 382.1 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.003327/0.149, allocations: 2.67 MB / 0.5071 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.151, allocations: 1.281 MB / 0.5084 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001858/0.1528, allocations: 1.231 MB / 0.5096 GB, free: 5.246 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002117/0.1549, allocations: 1.369 MB / 0.5109 GB, free: 3.871 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004981/0.1554, allocations: 332 kB / 0.5112 GB, free: 3.547 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008351/0.1563, allocations: 431.8 kB / 0.5116 GB, free: 3.125 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000922/0.1572, allocations: 0.8766 MB / 0.5125 GB, free: 2.246 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.1591, allocations: 1.151 MB / 0.5136 GB, free: 1.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2384/0.3975, allocations: 4.181 MB / 0.5177 GB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.3975, allocations: 0 / 0.5177 GB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3975, allocations: 0 / 0.5177 GB, free: 14.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001534/0.3977, allocations: 1.219 kB / 0.5177 GB, free: 14.72 MB / 382.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.007568/0.4052, allocations: 2.898 MB / 0.5205 GB, free: 13.58 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.4053, allocations: 11.81 kB / 0.5205 GB, free: 13.58 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/0.4062, allocations: 311.4 kB / 0.5208 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002961/0.4092, allocations: 1.418 MB / 0.5222 GB, free: 13.08 MB / 382.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.0002646/0.4094, allocations: 291.6 kB / 0.5225 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004058/0.4098, allocations: 238 kB / 0.5227 GB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006069/0.4159, allocations: 3.108 MB / 0.5258 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.918e-05/0.416, allocations: 11.67 kB / 0.5258 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002512/0.4162, allocations: 93.8 kB / 0.5259 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001308/0.4164, allocations: 110.2 kB / 0.526 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005033/0.4214, allocations: 2.36 MB / 0.5283 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01365/0.4351, allocations: 7.461 MB / 0.5355 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002646/0.4377, allocations: 1.324 MB / 0.5368 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001693/0.4394, allocations: 0.8938 MB / 0.5377 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002176/0.4396, allocations: 43.56 kB / 0.5378 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.4409, allocations: 0.8878 MB / 0.5386 GB, free: 7.594 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.396e-06/0.4409, allocations: 0 / 0.5386 GB, free: 7.594 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01465/0.4556, allocations: 6.455 MB / 0.5449 GB, free: 4.172 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/0.4556, allocations: 245.9 kB / 0.5452 GB, free: 3.891 MB / 382.1 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.001388/0.457, allocations: 1.019 MB / 0.5462 GB, free: 3.305 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4571, allocations: 48.2 kB / 0.5462 GB, free: 3.258 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007948/0.4579, allocations: 1.05 MB / 0.5472 GB, free: 2.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000312/0.4582, allocations: 439.4 kB / 0.5476 GB, free: 1.969 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004062/0.4586, allocations: 262.1 kB / 0.5479 GB, free: 1.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.871e-05/0.4587, allocations: 302.8 kB / 0.5482 GB, free: 1.523 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.4599, allocations: 0.7364 MB / 0.5489 GB, free: 1.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001448/0.4613, allocations: 1.303 MB / 0.5502 GB, free: 44 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008444/0.4698, allocations: 3.546 MB / 0.5536 GB, free: 13.95 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.042e-05/0.4698, allocations: 6.75 kB / 0.5536 GB, free: 13.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004937/0.4747, allocations: 2.492 MB / 0.5561 GB, free: 12.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.498e-05/0.4748, allocations: 37.69 kB / 0.5561 GB, free: 12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/0.4748, allocations: 12 kB / 0.5561 GB, free: 11.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/0.4761, allocations: 0.4996 MB / 0.5566 GB, free: 11.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.4773, allocations: 305 kB / 0.5569 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009605/0.4869, allocations: 8.254 MB / 0.565 GB, free: 2.605 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.4887, allocations: 131.9 kB / 0.5651 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4888, allocations: 63.98 kB / 0.5652 GB, free: 2.414 MB / 398.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.002791/0.4916, allocations: 1.297 MB / 0.5664 GB, free: 1.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00181/0.4934, allocations: 1.274 MB / 0.5677 GB, free: 15.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008645/0.5021, allocations: 3.484 MB / 0.5711 GB, free: 12.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.575e-05/0.5021, allocations: 6.719 kB / 0.5711 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004949/0.5071, allocations: 2.431 MB / 0.5734 GB, free: 9.633 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.362e-05/0.5071, allocations: 41.95 kB / 0.5735 GB, free: 9.586 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.5071, allocations: 16 kB / 0.5735 GB, free: 9.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.5084, allocations: 0.4947 MB / 0.574 GB, free: 9.066 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.5095, allocations: 299.2 kB / 0.5743 GB, free: 8.793 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00967/0.5192, allocations: 8.247 MB / 0.5823 GB, free: 200 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/0.5209, allocations: 135.9 kB / 0.5825 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002823/0.5212, allocations: 59.98 kB / 0.5825 GB, free: 4 kB / 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: 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.000806/0.522, allocations: 297.9 kB / 0.5828 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.5225, allocations: 131.2 kB / 0.5829 GB, free: 15.6 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004794/0.5273, allocations: 2.107 MB / 0.585 GB, free: 13.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001097/0.5274, allocations: 15.94 kB / 0.585 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.077e-05/0.5274, allocations: 4 kB / 0.585 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.5275, allocations: 11.97 kB / 0.585 GB, free: 13.45 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00976/0.5372, allocations: 4.083 MB / 0.589 GB, free: 9.336 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/0.5372, allocations: 4 kB / 0.589 GB, free: 9.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009399/0.5382, allocations: 202.4 kB / 0.5892 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00151/0.5397, allocations: 0.5153 MB / 0.5897 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001546/0.5398, allocations: 43.97 kB / 0.5897 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009632/0.5495, allocations: 8.056 MB / 0.5976 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.351e-05/0.5495, allocations: 16.72 kB / 0.5976 GB, free: 148 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006646/0.5561, allocations: 3.151 MB / 0.6007 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.5572, allocations: 271 kB / 0.601 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/0.5576, allocations: 39.92 kB / 0.601 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001248/0.5589, allocations: 99.89 kB / 0.6011 GB, free: 12.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.5592, allocations: 115.7 kB / 0.6012 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001164/0.5593, allocations: 45.95 kB / 0.6012 GB, free: 12.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.5607, allocations: 0.6714 MB / 0.6019 GB, free: 11.7 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5607, allocations: 0 / 0.6019 GB, free: 11.7 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003744/0.5645, allocations: 0.7773 MB / 0.6027 GB, free: 10.92 MB / 446.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.0005089/0.565, allocations: 206.1 kB / 0.6029 GB, free: 10.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01448/0.5795, allocations: 6.769 MB / 0.6095 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/0.5795, allocations: 0 / 0.6095 GB, free: 3.836 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006268/0.5858, allocations: 2.861 MB / 0.6123 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002465/0.5882, allocations: 326.4 kB / 0.6126 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.5983, allocations: 4.457 MB / 0.6169 GB, free: 12.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002045/0.6003, allocations: 1.182 MB / 0.6181 GB, free: 10.88 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006506/0.601, allocations: 111.4 kB / 0.6182 GB, free: 10.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.403e-06/0.601, allocations: 0 / 0.6182 GB, free: 10.77 MB / 462.1 MB Notification: Performance of Templates: time 0.1061/0.7071, allocations: 78.9 MB / 0.6952 GB, free: 11.86 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile [Timeout 660] make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1165:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1165:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1165:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1222:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1201:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.180218174122274] Failed to read output from testmodel.py, exit status != 0: 0.7169821755960584 0.734187207 0.33323508599999996 Calling exit ...