Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 103.8 kB / 16.4 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009727/0.0009728, allocations: 189.7 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.0358/0.0358, allocations: 8.038 MB / 299.2 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001131/0.001131, allocations: 67.83 kB / 413.7 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08054/0.08169, allocations: 51.19 MB / 464.9 MB, free: 3.039 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start="Y") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01036/0.09209, allocations: 9.724 MB / 474.7 MB, free: 9.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004904/0.09701, allocations: 2.704 MB / 477.4 MB, free: 6.562 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000848/0.09787, allocations: 51.81 kB / 477.4 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.09894, allocations: 0.5042 MB / 477.9 MB, free: 6.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.1005, allocations: 0.7064 MB / 478.6 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009288/0.1014, allocations: 0.5373 MB / 479.2 MB, free: 4.758 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.002407/0.1038, allocations: 2.674 MB / 481.8 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.106, allocations: 2.304 MB / 484.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001542/0.1076, allocations: 1.195 MB / 485.3 MB, free: 14.5 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.1092, allocations: 1.44 MB / 486.8 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000412/0.1097, allocations: 332 kB / 487.1 MB, free: 12.73 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006973/0.1104, allocations: 427.8 kB / 487.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007371/0.1111, allocations: 0.8571 MB / 488.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.1124, allocations: 1.42 MB / 489.8 MB, free: 10.03 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.1161, allocations: 4.136 MB / 493.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1162, allocations: 0 / 493.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.657e-06/0.1162, allocations: 0 / 493.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.46e-05/0.1162, allocations: 3.938 kB / 493.9 MB, free: 5.875 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.005169/0.1214, allocations: 2.909 MB / 496.8 MB, free: 2.898 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.1214, allocations: 12.03 kB / 496.8 MB, free: 2.887 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006425/0.1221, allocations: 289.8 kB / 497.1 MB, free: 2.602 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.1244, allocations: 1.415 MB / 498.5 MB, free: 1.137 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002257/0.1246, allocations: 251.9 kB / 498.8 MB, free: 0.875 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.1249, allocations: 232 kB / 499 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004308/0.1293, allocations: 2.961 MB / 0.4902 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.665e-05/0.1293, allocations: 7.906 kB / 0.4902 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.1295, allocations: 92 kB / 0.4903 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.477e-05/0.1296, allocations: 108.5 kB / 0.4904 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003739/0.1334, allocations: 2.376 MB / 0.4927 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01216/0.1455, allocations: 8.686 MB / 0.5012 GB, free: 2.055 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002648/0.1482, allocations: 1.632 MB / 0.5028 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1833/0.3315, allocations: 0.9635 MB / 0.5038 GB, free: 44.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000218/0.3318, allocations: 118.9 kB / 0.5039 GB, free: 44.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.3331, allocations: 0.7803 MB / 0.5046 GB, free: 44.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.405e-06/0.3331, allocations: 0 / 0.5046 GB, free: 44.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01325/0.3464, allocations: 6.945 MB / 0.5114 GB, free: 41.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.3464, allocations: 252.4 kB / 0.5116 GB, free: 41.64 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/0.3481, allocations: 1.197 MB / 0.5128 GB, free: 41.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.3482, allocations: 46.77 kB / 0.5129 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007508/0.349, allocations: 1.009 MB / 0.5138 GB, free: 40.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003055/0.3493, allocations: 420 kB / 0.5142 GB, free: 40.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004252/0.3497, allocations: 264.3 kB / 0.5145 GB, free: 39.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.356e-05/0.3498, allocations: 308.9 kB / 0.5148 GB, free: 39.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001166/0.3509, allocations: 0.7209 MB / 0.5155 GB, free: 39.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.3523, allocations: 1.129 MB / 0.5166 GB, free: 38.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007735/0.36, allocations: 3.608 MB / 0.5201 GB, free: 36.99 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.36, allocations: 3.5 kB / 0.5201 GB, free: 36.99 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003739/0.3638, allocations: 2.56 MB / 0.5226 GB, free: 35.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.3638, allocations: 37.47 kB / 0.5227 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.3638, allocations: 11.81 kB / 0.5227 GB, free: 35.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009442/0.3648, allocations: 0.5037 MB / 0.5232 GB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009396/0.3657, allocations: 311.8 kB / 0.5235 GB, free: 35.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005442/0.3712, allocations: 8.796 MB / 0.5321 GB, free: 28.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/0.3723, allocations: 132.7 kB / 0.5322 GB, free: 28.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.369e-05/0.3724, allocations: 65.03 kB / 0.5322 GB, free: 28.06 MB / 382.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.001628/0.374, allocations: 1.283 MB / 0.5335 GB, free: 27.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001011/0.375, allocations: 1.098 MB / 0.5346 GB, free: 26.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006595/0.3816, allocations: 3.536 MB / 0.538 GB, free: 22.33 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.3e-06/0.3816, allocations: 4 kB / 0.538 GB, free: 22.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003141/0.3848, allocations: 2.53 MB / 0.5405 GB, free: 19.75 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.3848, allocations: 33.7 kB / 0.5405 GB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/0.3848, allocations: 12 kB / 0.5405 GB, free: 19.7 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008763/0.3857, allocations: 0.4933 MB / 0.541 GB, free: 19.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.3866, allocations: 299.5 kB / 0.5413 GB, free: 18.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005244/0.3919, allocations: 8.801 MB / 0.5499 GB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.3929, allocations: 131.9 kB / 0.55 GB, free: 9.449 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.971e-05/0.393, allocations: 67.92 kB / 0.5501 GB, free: 9.383 MB / 382.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.0003392/0.3934, allocations: 298.3 kB / 0.5504 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.3935, allocations: 142.3 kB / 0.5505 GB, free: 8.949 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.3966, allocations: 2.217 MB / 0.5527 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/0.3966, allocations: 12 kB / 0.5527 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3966, allocations: 4 kB / 0.5527 GB, free: 6.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.3966, allocations: 7.969 kB / 0.5527 GB, free: 6.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/0.4024, allocations: 4.737 MB / 0.5573 GB, free: 1.816 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/0.4024, allocations: 5.875 kB / 0.5573 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007386/0.4032, allocations: 203.7 kB / 0.5575 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001035/0.4042, allocations: 0.5143 MB / 0.558 GB, free: 1.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.372e-05/0.4043, allocations: 39.98 kB / 0.5581 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006682/0.411, allocations: 8.616 MB / 0.5665 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.908e-06/0.411, allocations: 4 kB / 0.5665 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004613/0.4156, allocations: 3.262 MB / 0.5697 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006702/0.4163, allocations: 365.2 kB / 0.57 GB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000176/0.4165, allocations: 39.98 kB / 0.5701 GB, free: 4.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000886/0.4174, allocations: 99.89 kB / 0.5702 GB, free: 4.027 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.4176, allocations: 115.3 kB / 0.5703 GB, free: 3.918 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.303e-05/0.4177, allocations: 39.98 kB / 0.5703 GB, free: 3.879 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0009984/0.4187, allocations: 0.8185 MB / 0.5711 GB, free: 3.055 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.273e-06/0.4187, allocations: 0 / 0.5711 GB, free: 3.055 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002284/0.421, allocations: 0.7887 MB / 0.5719 GB, free: 2.27 MB / 398.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.0002901/0.4213, allocations: 199.7 kB / 0.5721 GB, free: 2.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01243/0.4337, allocations: 7.197 MB / 0.5791 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.4337, allocations: 0 / 0.5791 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00553/0.4393, allocations: 3.067 MB / 0.5821 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.4409, allocations: 401 kB / 0.5825 GB, free: 7.086 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/0.4467, allocations: 4.374 MB / 0.5867 GB, free: 2.656 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00121/0.448, allocations: 1.761 MB / 0.5885 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.4483, allocations: 107.4 kB / 0.5886 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4483, allocations: 0 / 0.5886 GB, free: 0.7539 MB / 414.1 MB Notification: Performance of Templates: time 0.06968/0.518, allocations: 79.16 MB / 0.6659 GB, free: 1.586 MB / 494.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile 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:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162: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:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162: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:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162: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:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1219: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:1198: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