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.001557/0.001557, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001982/0.001982, allocations: 219.9 kB / 23.01 MB, free: 4.609 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.418/1.418, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.04085/0.04085, allocations: 8.561 MB / 321.7 MB, free: 10.64 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.001984/0.001984, allocations: 67.91 kB / 448.2 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1023, allocations: 55.41 MB / 0.4918 GB, free: 8.012 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.01238/0.1146, allocations: 9.85 MB / 0.5014 GB, free: 14.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005918/0.1206, allocations: 2.77 MB / 0.5041 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.122, allocations: 67.56 kB / 0.5042 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.1238, allocations: 0.5003 MB / 0.5047 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00267/0.1265, allocations: 0.7104 MB / 0.5054 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001565/0.128, allocations: 0.5563 MB / 0.5059 GB, free: 9.496 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.003873/0.1319, allocations: 2.67 MB / 0.5085 GB, free: 6.812 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002546/0.1345, allocations: 1.34 MB / 0.5098 GB, free: 5.41 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002004/0.1365, allocations: 1.231 MB / 0.511 GB, free: 4.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002642/0.1391, allocations: 1.467 MB / 0.5125 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008757/0.14, allocations: 340 kB / 0.5128 GB, free: 2.371 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.1413, allocations: 431.8 kB / 0.5132 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00139/0.1427, allocations: 0.8804 MB / 0.5141 GB, free: 1.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.1959/0.3386, allocations: 1.419 MB / 0.5154 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005355/0.344, allocations: 4.153 MB / 0.5195 GB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.905e-06/0.344, allocations: 3.219 kB / 0.5195 GB, free: 14.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.344, allocations: 2.438 kB / 0.5195 GB, free: 14.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001865/0.3442, allocations: 0.5312 kB / 0.5195 GB, free: 14.55 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.008124/0.3523, allocations: 2.902 MB / 0.5223 GB, free: 13.39 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3523, allocations: 8.031 kB / 0.5223 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001256/0.3536, allocations: 307 kB / 0.5226 GB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003253/0.3568, allocations: 1.415 MB / 0.524 GB, free: 12.88 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.0003146/0.3572, allocations: 297 kB / 0.5243 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006054/0.3578, allocations: 235.2 kB / 0.5245 GB, free: 12.74 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00607/0.3638, allocations: 2.956 MB / 0.5274 GB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001185/0.3639, allocations: 8.906 kB / 0.5274 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.3643, allocations: 101 kB / 0.5275 GB, free: 12.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001155/0.3644, allocations: 106.8 kB / 0.5276 GB, free: 12.47 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004636/0.369, allocations: 2.362 MB / 0.5299 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.383, allocations: 8.508 MB / 0.5382 GB, free: 7.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002449/0.3855, allocations: 1.326 MB / 0.5395 GB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.3871, allocations: 0.9002 MB / 0.5404 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002131/0.3873, allocations: 40.97 kB / 0.5405 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001207/0.3885, allocations: 0.7836 MB / 0.5412 GB, free: 6.094 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.969e-06/0.3885, allocations: 0 / 0.5412 GB, free: 6.094 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01346/0.402, allocations: 6.465 MB / 0.5475 GB, free: 2.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.851e-05/0.402, allocations: 252.8 kB / 0.5478 GB, free: 2.371 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.001622/0.4037, allocations: 1.178 MB / 0.5489 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001187/0.4038, allocations: 52.58 kB / 0.549 GB, free: 1.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.4044, allocations: 1.036 MB / 0.55 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002715/0.4047, allocations: 447.3 kB / 0.5504 GB, free: 400 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003539/0.405, allocations: 263.8 kB / 0.5507 GB, free: 244 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.4051, allocations: 301.1 kB / 0.5509 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/0.4063, allocations: 0.7167 MB / 0.5516 GB, free: 15.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4078, allocations: 1.116 MB / 0.5527 GB, free: 14.7 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008338/0.4161, allocations: 3.552 MB / 0.5562 GB, free: 12.06 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.49e-05/0.4162, allocations: 7.938 kB / 0.5562 GB, free: 12.05 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004833/0.421, allocations: 2.47 MB / 0.5586 GB, free: 9.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.968e-05/0.421, allocations: 37.7 kB / 0.5587 GB, free: 9.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/0.4211, allocations: 19.11 kB / 0.5587 GB, free: 9.574 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.4223, allocations: 0.491 MB / 0.5592 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.4234, allocations: 302.2 kB / 0.5594 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008827/0.4322, allocations: 8.389 MB / 0.5676 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.4338, allocations: 135.9 kB / 0.5678 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/0.434, allocations: 60 kB / 0.5678 GB, free: 15.82 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.002475/0.4365, allocations: 1.288 MB / 0.5691 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001625/0.4381, allocations: 1.094 MB / 0.5702 GB, free: 13.29 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008258/0.4463, allocations: 3.481 MB / 0.5736 GB, free: 9.684 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.344e-05/0.4464, allocations: 7.938 kB / 0.5736 GB, free: 9.676 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004543/0.4509, allocations: 2.423 MB / 0.5759 GB, free: 7.301 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/0.4509, allocations: 37.7 kB / 0.576 GB, free: 7.258 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.696e-05/0.451, allocations: 8 kB / 0.576 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001171/0.4521, allocations: 0.4963 MB / 0.5765 GB, free: 6.738 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/0.4532, allocations: 300 kB / 0.5767 GB, free: 6.465 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008883/0.4621, allocations: 8.39 MB / 0.5849 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.4638, allocations: 135.9 kB / 0.5851 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.464, allocations: 59.98 kB / 0.5851 GB, free: 13.49 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.000588/0.4646, allocations: 308.3 kB / 0.5854 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004479/0.4651, allocations: 143.1 kB / 0.5856 GB, free: 13.07 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.4694, allocations: 2.127 MB / 0.5876 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.36e-05/0.4694, allocations: 13.41 kB / 0.5876 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.474e-05/0.4694, allocations: 7.938 kB / 0.5877 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/0.4695, allocations: 11.97 kB / 0.5877 GB, free: 10.89 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009164/0.4786, allocations: 4.587 MB / 0.5921 GB, free: 6.266 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-05/0.4786, allocations: 4 kB / 0.5921 GB, free: 6.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009061/0.4795, allocations: 202.6 kB / 0.5923 GB, free: 6.074 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001376/0.4809, allocations: 0.5163 MB / 0.5928 GB, free: 5.547 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/0.4811, allocations: 35.97 kB / 0.5929 GB, free: 5.512 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008668/0.4897, allocations: 8.218 MB / 0.6009 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.4897, allocations: 4 kB / 0.6009 GB, free: 12.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005843/0.4956, allocations: 3.166 MB / 0.604 GB, free: 9.664 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009378/0.4965, allocations: 298.9 kB / 0.6043 GB, free: 9.371 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003667/0.4969, allocations: 35.98 kB / 0.6043 GB, free: 9.336 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.498, allocations: 99.89 kB / 0.6044 GB, free: 9.238 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002734/0.4982, allocations: 123.3 kB / 0.6045 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/0.4983, allocations: 39.92 kB / 0.6046 GB, free: 9.086 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001371/0.4997, allocations: 0.8067 MB / 0.6054 GB, free: 8.273 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4997, allocations: 0 / 0.6054 GB, free: 8.273 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002897/0.5026, allocations: 0.7812 MB / 0.6061 GB, free: 7.492 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.0004044/0.503, allocations: 198 kB / 0.6063 GB, free: 7.301 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01295/0.5159, allocations: 6.718 MB / 0.6129 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/0.516, allocations: 0 / 0.6129 GB, free: 476 kB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005673/0.5216, allocations: 2.858 MB / 0.6157 GB, free: 13.55 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/0.5241, allocations: 397.7 kB / 0.616 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008533/0.5326, allocations: 4.46 MB / 0.6204 GB, free: 8.641 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00184/0.5344, allocations: 1.765 MB / 0.6221 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000536/0.535, allocations: 107.4 kB / 0.6222 GB, free: 6.738 MB / 462.1 MB Notification: Performance of SimCode: time 8.72e-07/0.535, allocations: 4 kB / 0.6222 GB, free: 6.734 MB / 462.1 MB Notification: Performance of Templates: time 0.09793/0.6329, allocations: 79.31 MB / 0.6997 GB, free: 7.438 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 -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_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: 4.5133113141637295] Failed to read output from testmodel.py, exit status != 0: 0.6423065508715808 0.6594268999999999 0.311878152 Calling exit ...