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.001583/0.001583, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001528/0.001528, allocations: 213.8 kB / 23.01 MB, free: 5.109 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.407/1.407, allocations: 230.6 MB / 256.8 MB, free: 8.016 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.04102/0.04102, allocations: 8.542 MB / 321.7 MB, free: 10.61 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.001944/0.001944, allocations: 75.88 kB / 448.2 MB, free: 15.45 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1091, allocations: 55.43 MB / 0.4918 GB, free: 7.922 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.01341/0.1225, allocations: 9.834 MB / 0.5014 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006365/0.1289, allocations: 2.77 MB / 0.5041 GB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001648/0.1306, allocations: 63.62 kB / 0.5042 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00155/0.1321, allocations: 0.5081 MB / 0.5047 GB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00343/0.1355, allocations: 0.7103 MB / 0.5054 GB, free: 9.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00167/0.1372, allocations: 0.5422 MB / 0.5059 GB, free: 9.43 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.004155/0.1414, allocations: 2.674 MB / 0.5085 GB, free: 6.742 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001986/0.1433, allocations: 1.336 MB / 0.5098 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001934/0.1453, allocations: 1.231 MB / 0.511 GB, free: 4.109 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002242/0.1475, allocations: 1.479 MB / 0.5125 GB, free: 2.625 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005145/0.148, allocations: 336 kB / 0.5128 GB, free: 2.297 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008258/0.1489, allocations: 431.9 kB / 0.5132 GB, free: 1.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009617/0.1498, allocations: 0.8765 MB / 0.514 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2379/0.3877, allocations: 1.421 MB / 0.5154 GB, free: 14.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005948/0.3937, allocations: 4.159 MB / 0.5195 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3937, allocations: 0 / 0.5195 GB, free: 14.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.3937, allocations: 1.312 kB / 0.5195 GB, free: 14.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002211/0.3939, allocations: 0 / 0.5195 GB, free: 14.36 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.008653/0.4026, allocations: 2.898 MB / 0.5223 GB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.4026, allocations: 13.09 kB / 0.5223 GB, free: 13.21 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008748/0.4035, allocations: 304.1 kB / 0.5226 GB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.4064, allocations: 1.424 MB / 0.524 GB, free: 12.7 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.0002794/0.4067, allocations: 285.9 kB / 0.5243 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.4071, allocations: 238.5 kB / 0.5245 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005684/0.4127, allocations: 2.958 MB / 0.5274 GB, free: 12.31 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.042e-05/0.4128, allocations: 13.23 kB / 0.5274 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002238/0.413, allocations: 96.22 kB / 0.5275 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.4132, allocations: 105.8 kB / 0.5276 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004728/0.4179, allocations: 2.365 MB / 0.5299 GB, free: 12.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0142/0.4321, allocations: 8.502 MB / 0.5382 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.4347, allocations: 1.334 MB / 0.5395 GB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00188/0.4366, allocations: 0.8993 MB / 0.5404 GB, free: 6.469 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002427/0.4368, allocations: 45.03 kB / 0.5404 GB, free: 6.461 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.4383, allocations: 0.7783 MB / 0.5412 GB, free: 5.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.4383, allocations: 1.344 kB / 0.5412 GB, free: 5.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01451/0.4528, allocations: 6.464 MB / 0.5475 GB, free: 2.531 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.82e-05/0.4529, allocations: 244.8 kB / 0.5478 GB, free: 2.25 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.002238/0.4551, allocations: 1.185 MB / 0.5489 GB, free: 1.594 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001642/0.4553, allocations: 48.58 kB / 0.549 GB, free: 1.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008308/0.4561, allocations: 1.049 MB / 0.55 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002936/0.4564, allocations: 446.4 kB / 0.5504 GB, free: 264 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003642/0.4568, allocations: 258.8 kB / 0.5507 GB, free: 116 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.4569, allocations: 305.1 kB / 0.5509 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.4581, allocations: 0.7097 MB / 0.5516 GB, free: 15.45 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4597, allocations: 1.117 MB / 0.5527 GB, free: 14.58 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008551/0.4683, allocations: 3.549 MB / 0.5562 GB, free: 11.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.581e-05/0.4683, allocations: 7.938 kB / 0.5562 GB, free: 11.87 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005058/0.4733, allocations: 2.467 MB / 0.5586 GB, free: 9.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.482e-05/0.4734, allocations: 37.7 kB / 0.5586 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.161e-05/0.4734, allocations: 12 kB / 0.5587 GB, free: 9.395 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.4747, allocations: 0.5044 MB / 0.5592 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4758, allocations: 304.5 kB / 0.5594 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009045/0.4849, allocations: 8.392 MB / 0.5676 GB, free: 15.82 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001843/0.4867, allocations: 131.9 kB / 0.5678 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.4868, allocations: 60 kB / 0.5678 GB, free: 15.64 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.002676/0.4895, allocations: 1.28 MB / 0.5691 GB, free: 14.36 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001608/0.4911, allocations: 1.094 MB / 0.5701 GB, free: 13.11 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008232/0.4994, allocations: 3.478 MB / 0.5735 GB, free: 9.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.406e-05/0.4994, allocations: 7.938 kB / 0.5735 GB, free: 9.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004646/0.504, allocations: 2.428 MB / 0.5759 GB, free: 7.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.41e-05/0.5041, allocations: 37.7 kB / 0.5759 GB, free: 7.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.5041, allocations: 8 kB / 0.576 GB, free: 7.062 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.5052, allocations: 0.5036 MB / 0.5764 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001041/0.5063, allocations: 294.7 kB / 0.5767 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008877/0.5152, allocations: 8.39 MB / 0.5849 GB, free: 13.49 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.5168, allocations: 135.9 kB / 0.5851 GB, free: 13.36 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.517, allocations: 59.98 kB / 0.5851 GB, free: 13.3 MB / 430.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.0005605/0.5175, allocations: 314.5 kB / 0.5854 GB, free: 13.01 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002963/0.5178, allocations: 143.1 kB / 0.5855 GB, free: 12.87 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00422/0.5221, allocations: 2.124 MB / 0.5876 GB, free: 10.73 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.5221, allocations: 12 kB / 0.5876 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/0.5221, allocations: 7.938 kB / 0.5876 GB, free: 10.71 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.5e-05/0.5221, allocations: 7.969 kB / 0.5876 GB, free: 10.7 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008747/0.5308, allocations: 4.593 MB / 0.5921 GB, free: 6.066 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.5309, allocations: 4 kB / 0.5921 GB, free: 6.062 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008722/0.5317, allocations: 199.2 kB / 0.5923 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001381/0.5331, allocations: 0.5189 MB / 0.5928 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001144/0.5332, allocations: 39.97 kB / 0.5929 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009278/0.5425, allocations: 8.212 MB / 0.6009 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.5425, allocations: 7.375 kB / 0.6009 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006356/0.5489, allocations: 3.163 MB / 0.604 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000909/0.5498, allocations: 290.9 kB / 0.6043 GB, free: 9.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.55, allocations: 35.98 kB / 0.6043 GB, free: 9.145 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.5509, allocations: 103.9 kB / 0.6044 GB, free: 9.043 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002643/0.5512, allocations: 128.1 kB / 0.6045 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.438e-05/0.5513, allocations: 35.98 kB / 0.6046 GB, free: 8.887 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001323/0.5526, allocations: 0.8029 MB / 0.6053 GB, free: 8.078 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5526, allocations: 4 kB / 0.6053 GB, free: 8.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002663/0.5552, allocations: 0.7812 MB / 0.6061 GB, free: 7.293 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.0003987/0.5556, allocations: 203.2 kB / 0.6063 GB, free: 7.105 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01261/0.5683, allocations: 6.718 MB / 0.6129 GB, free: 280 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.5683, allocations: 4 kB / 0.6129 GB, free: 276 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005591/0.5739, allocations: 2.857 MB / 0.6157 GB, free: 13.36 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/0.576, allocations: 395.7 kB / 0.616 GB, free: 12.98 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007947/0.584, allocations: 4.463 MB / 0.6204 GB, free: 8.445 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001694/0.5857, allocations: 1.761 MB / 0.6221 GB, free: 6.652 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.5862, allocations: 111.4 kB / 0.6222 GB, free: 6.543 MB / 462.1 MB Notification: Performance of SimCode: time 1.353e-06/0.5862, allocations: 0 / 0.6222 GB, free: 6.543 MB / 462.1 MB Notification: Performance of Templates: time 0.0953/0.6815, allocations: 79.31 MB / 0.6997 GB, free: 7.242 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 -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -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: 4.585290976101533] Failed to read output from testmodel.py, exit status != 0: 0.6901930330786854 0.705338593 0.308493784 Calling exit ...