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.001454/0.001454, 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.001552/0.001552, allocations: 217.4 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.04474/0.04474, allocations: 8.547 MB / 321.7 MB, free: 10.45 MB / 254.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.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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_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.00208/0.00208, allocations: 63.91 kB / 448.1 MB, free: 15.21 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.121, allocations: 55.42 MB / 0.4917 GB, free: 7.699 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.01281/0.1338, allocations: 8.629 MB / 0.5001 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006458/0.1403, allocations: 2.649 MB / 0.5027 GB, free: 12.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001887/0.1422, allocations: 63.62 kB / 0.5028 GB, free: 12.3 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001948/0.1441, allocations: 492.4 kB / 0.5033 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003118/0.1472, allocations: 0.7142 MB / 0.504 GB, free: 11.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.149, allocations: 0.5564 MB / 0.5045 GB, free: 10.55 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.004369/0.1534, allocations: 2.662 MB / 0.5071 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002876/0.1563, allocations: 1.281 MB / 0.5084 GB, free: 6.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.1587, allocations: 1.231 MB / 0.5096 GB, free: 5.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00298/0.1617, allocations: 1.362 MB / 0.5109 GB, free: 3.926 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001073/0.1627, allocations: 339.9 kB / 0.5112 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001672/0.1644, allocations: 427.8 kB / 0.5116 GB, free: 3.176 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001528/0.1659, allocations: 0.8727 MB / 0.5125 GB, free: 2.301 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002288/0.1682, allocations: 1.155 MB / 0.5136 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2596/0.4278, allocations: 4.181 MB / 0.5177 GB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.087e-06/0.4279, allocations: 0 / 0.5177 GB, free: 14.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.554e-06/0.4279, allocations: 0 / 0.5177 GB, free: 14.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.428, allocations: 0.9375 kB / 0.5177 GB, free: 14.73 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.007759/0.4358, allocations: 2.91 MB / 0.5205 GB, free: 13.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.4358, allocations: 6.625 kB / 0.5205 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009365/0.4368, allocations: 308.8 kB / 0.5208 GB, free: 13.45 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.4397, allocations: 1.418 MB / 0.5222 GB, free: 13.09 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.000248/0.4399, allocations: 288 kB / 0.5225 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003804/0.4403, allocations: 237.7 kB / 0.5227 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005891/0.4462, allocations: 3.103 MB / 0.5257 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.862e-05/0.4463, allocations: 15.03 kB / 0.5258 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002508/0.4465, allocations: 92.72 kB / 0.5258 GB, free: 12.51 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001651/0.4467, allocations: 106.7 kB / 0.5259 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005043/0.4518, allocations: 2.357 MB / 0.5283 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.4649, allocations: 7.456 MB / 0.5355 GB, free: 8.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.4674, allocations: 1.331 MB / 0.5368 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001649/0.469, allocations: 0.8882 MB / 0.5377 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/0.4692, allocations: 50.89 kB / 0.5377 GB, free: 8.059 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001275/0.4705, allocations: 0.8813 MB / 0.5386 GB, free: 7.609 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.537e-06/0.4705, allocations: 1.219 kB / 0.5386 GB, free: 7.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01405/0.4845, allocations: 6.46 MB / 0.5449 GB, free: 4.211 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.4846, allocations: 249.2 kB / 0.5452 GB, free: 3.926 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.001232/0.4858, allocations: 1.014 MB / 0.5461 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.28e-05/0.4859, allocations: 48.11 kB / 0.5462 GB, free: 3.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006801/0.4866, allocations: 1.054 MB / 0.5472 GB, free: 2.379 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002424/0.4869, allocations: 441.8 kB / 0.5476 GB, free: 2.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.4872, allocations: 262.7 kB / 0.5479 GB, free: 1.859 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.124e-05/0.4872, allocations: 305.1 kB / 0.5482 GB, free: 1.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001115/0.4884, allocations: 0.741 MB / 0.5489 GB, free: 1.164 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001288/0.4896, allocations: 1.292 MB / 0.5502 GB, free: 84 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008253/0.4979, allocations: 3.548 MB / 0.5536 GB, free: 13.98 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.31e-05/0.4979, allocations: 3 kB / 0.5536 GB, free: 13.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004946/0.5029, allocations: 2.496 MB / 0.5561 GB, free: 12.13 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.78e-05/0.5029, allocations: 33.7 kB / 0.5561 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.5029, allocations: 12 kB / 0.5561 GB, free: 12.08 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.5042, allocations: 0.5019 MB / 0.5566 GB, free: 11.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.5054, allocations: 308.6 kB / 0.5569 GB, free: 11.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009203/0.5146, allocations: 8.245 MB / 0.565 GB, free: 2.703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.5162, allocations: 132.6 kB / 0.5651 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/0.5163, allocations: 60 kB / 0.5651 GB, free: 2.516 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.002658/0.5189, allocations: 1.303 MB / 0.5664 GB, free: 1.211 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00173/0.5207, allocations: 1.27 MB / 0.5677 GB, free: 15.74 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008464/0.5291, allocations: 3.482 MB / 0.5711 GB, free: 12.13 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.754e-06/0.5291, allocations: 6.297 kB / 0.5711 GB, free: 12.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004734/0.5339, allocations: 2.438 MB / 0.5734 GB, free: 9.734 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.5339, allocations: 45.7 kB / 0.5735 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.5339, allocations: 8 kB / 0.5735 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001185/0.5351, allocations: 0.5081 MB / 0.574 GB, free: 9.16 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/0.5362, allocations: 293.7 kB / 0.5743 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009006/0.5453, allocations: 8.24 MB / 0.5823 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.5468, allocations: 132.1 kB / 0.5824 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.547, allocations: 67.98 kB / 0.5825 GB, free: 112 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.0005528/0.5475, allocations: 301 kB / 0.5828 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002886/0.5478, allocations: 135.2 kB / 0.5829 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004272/0.5521, allocations: 2.102 MB / 0.585 GB, free: 13.58 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/0.5521, allocations: 15.94 kB / 0.585 GB, free: 13.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5521, allocations: 11.98 kB / 0.585 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/0.5521, allocations: 6.609 kB / 0.585 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008255/0.5604, allocations: 4.077 MB / 0.589 GB, free: 9.445 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.437e-06/0.5604, allocations: 4 kB / 0.589 GB, free: 9.441 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.5613, allocations: 201.9 kB / 0.5892 GB, free: 9.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001356/0.5626, allocations: 0.5211 MB / 0.5897 GB, free: 8.723 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.5627, allocations: 35.97 kB / 0.5897 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00911/0.5718, allocations: 8.057 MB / 0.5976 GB, free: 272 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.5718, allocations: 16.84 kB / 0.5976 GB, free: 260 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006091/0.5779, allocations: 3.165 MB / 0.6007 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009464/0.5789, allocations: 268 kB / 0.601 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.5791, allocations: 39.92 kB / 0.601 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.58, allocations: 103.9 kB / 0.6011 GB, free: 12.63 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000316/0.5803, allocations: 115.6 kB / 0.6012 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.057e-05/0.5804, allocations: 43.98 kB / 0.6012 GB, free: 12.48 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001099/0.5815, allocations: 0.67 MB / 0.6019 GB, free: 11.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5815, allocations: 0 / 0.6019 GB, free: 11.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002756/0.5843, allocations: 0.7773 MB / 0.6027 GB, free: 11.02 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.0003761/0.5847, allocations: 196.2 kB / 0.6028 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01543/0.6001, allocations: 6.772 MB / 0.6095 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.192e-05/0.6001, allocations: 0 / 0.6095 GB, free: 3.941 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007625/0.6077, allocations: 2.857 MB / 0.6123 GB, free: 1.023 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/0.6105, allocations: 329.7 kB / 0.6126 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.6206, allocations: 4.455 MB / 0.6169 GB, free: 12.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002105/0.6227, allocations: 1.179 MB / 0.6181 GB, free: 10.98 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007338/0.6235, allocations: 103.4 kB / 0.6182 GB, free: 10.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.112e-06/0.6235, allocations: 0 / 0.6182 GB, free: 10.88 MB / 462.1 MB Notification: Performance of Templates: time 0.1102/0.7337, allocations: 78.9 MB / 0.6952 GB, free: 11.97 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile [Timeout 660] make -j1 -f EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_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_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.165117844007909] Failed to read output from testmodel.py, exit status != 0: 0.7430492350831628 0.773296366 0.339678388 Calling exit ...