Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06365/0.06365, allocations: 8.023 MB / 24.33 MB, free: 408 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 104.8 kB / 26.92 MB, free: 3.109 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001358/0.001359, allocations: 191.3 kB / 29.62 MB, free: 436 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 255.1 MB, free: 4.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01388/0.01388, allocations: 3.119 MB / 310.1 MB, free: 2.312 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 95.84 kB / 427.6 MB, free: 17.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09959/0.1013, allocations: 51.97 MB / 479.5 MB, free: 13.55 MB / 350.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: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: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(EHPTexamples.ElectricDrives.tqFollowing): time 0.01138/0.1128, allocations: 9.068 MB / 488.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0056/0.1184, allocations: 2.556 MB / 491.2 MB, free: 1.879 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001414/0.1198, allocations: 51.81 kB / 491.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00148/0.1213, allocations: 472.7 kB / 491.7 MB, free: 1.363 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002433/0.1238, allocations: 0.6794 MB / 492.4 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.1252, allocations: 0.491 MB / 492.9 MB, free: 196 kB / 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.003563/0.1288, allocations: 2.479 MB / 495.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.1318, allocations: 2.049 MB / 497.4 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001801/0.1337, allocations: 1.102 MB / 498.5 MB, free: 10.48 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002039/0.1357, allocations: 1.319 MB / 499.8 MB, free: 9.152 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007615/0.1365, allocations: 296 kB / 0.4884 GB, free: 8.863 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001133/0.1376, allocations: 399.8 kB / 0.4888 GB, free: 8.473 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001114/0.1388, allocations: 0.7792 MB / 0.4895 GB, free: 7.691 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002092/0.1409, allocations: 1.279 MB / 0.4908 GB, free: 6.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004535/0.1454, allocations: 3.727 MB / 0.4944 GB, free: 2.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1454, allocations: 4 kB / 0.4944 GB, free: 2.664 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1455, allocations: 0 / 0.4944 GB, free: 2.664 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001434/0.1456, allocations: 0 / 0.4944 GB, free: 2.664 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: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.007039/0.1526, allocations: 2.695 MB / 0.497 GB, free: 15.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.1527, allocations: 12.03 kB / 0.4971 GB, free: 15.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/0.1537, allocations: 270 kB / 0.4973 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002887/0.1566, allocations: 1.325 MB / 0.4986 GB, free: 14.25 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.0002723/0.1569, allocations: 223.4 kB / 0.4988 GB, free: 14.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000527/0.1575, allocations: 207.9 kB / 0.499 GB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005632/0.1631, allocations: 2.694 MB / 0.5016 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.682e-05/0.1632, allocations: 0 / 0.5016 GB, free: 11.03 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002862/0.1635, allocations: 84 kB / 0.5017 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/0.1636, allocations: 103.9 kB / 0.5018 GB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004409/0.168, allocations: 2.206 MB / 0.504 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.1819, allocations: 7.863 MB / 0.5117 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.22/0.4019, allocations: 1.587 MB / 0.5132 GB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001887/0.4038, allocations: 0.9307 MB / 0.5141 GB, free: 39.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002256/0.4041, allocations: 134.4 kB / 0.5142 GB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00119/0.4053, allocations: 0.7659 MB / 0.515 GB, free: 39.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.855e-06/0.4053, allocations: 1.094 kB / 0.515 GB, free: 39.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01481/0.4201, allocations: 6.597 MB / 0.5214 GB, free: 36.8 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.737e-05/0.4203, allocations: 251.2 kB / 0.5217 GB, free: 36.52 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.002083/0.4223, allocations: 1.169 MB / 0.5228 GB, free: 36.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001979/0.4226, allocations: 47.02 kB / 0.5229 GB, free: 35.99 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007294/0.4233, allocations: 0.9212 MB / 0.5238 GB, free: 35.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003794/0.4237, allocations: 400.9 kB / 0.5241 GB, free: 34.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004571/0.4242, allocations: 254.1 kB / 0.5244 GB, free: 34.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.4243, allocations: 364.2 kB / 0.5247 GB, free: 34.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/0.4256, allocations: 0.7032 MB / 0.5254 GB, free: 34.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/0.427, allocations: 1.098 MB / 0.5265 GB, free: 33.58 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008396/0.4354, allocations: 3.549 MB / 0.53 GB, free: 32.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.801e-05/0.4355, allocations: 3.312 kB / 0.53 GB, free: 32.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004478/0.44, allocations: 2.522 MB / 0.5324 GB, free: 30.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.957e-05/0.44, allocations: 37.52 kB / 0.5325 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.4401, allocations: 7.75 kB / 0.5325 GB, free: 30.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/0.4411, allocations: 0.4925 MB / 0.5329 GB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000955/0.442, allocations: 297.1 kB / 0.5332 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005927/0.448, allocations: 8.794 MB / 0.5418 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.4494, allocations: 127.1 kB / 0.5419 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000131/0.4496, allocations: 64.86 kB / 0.542 GB, free: 23.12 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001813/0.4514, allocations: 1.22 MB / 0.5432 GB, free: 22.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.4525, allocations: 1.07 MB / 0.5442 GB, free: 21.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007099/0.4596, allocations: 3.494 MB / 0.5477 GB, free: 17.91 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.468e-06/0.4596, allocations: 4 kB / 0.5477 GB, free: 17.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003567/0.4632, allocations: 2.461 MB / 0.5501 GB, free: 15.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.88e-05/0.4633, allocations: 45.94 kB / 0.5501 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.4633, allocations: 16 kB / 0.5501 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009605/0.4642, allocations: 0.5029 MB / 0.5506 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.4652, allocations: 279.6 kB / 0.5509 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005806/0.471, allocations: 8.795 MB / 0.5595 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/0.4725, allocations: 135.9 kB / 0.5596 GB, free: 5.078 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.4726, allocations: 59.94 kB / 0.5596 GB, free: 5.02 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 140 * 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.0004095/0.473, allocations: 289.4 kB / 0.5599 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/0.4733, allocations: 138.3 kB / 0.5601 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003361/0.4767, allocations: 2.198 MB / 0.5622 GB, free: 2.359 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.4767, allocations: 12 kB / 0.5622 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/0.4767, allocations: 8 kB / 0.5622 GB, free: 2.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.4768, allocations: 7.969 kB / 0.5622 GB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007357/0.4841, allocations: 4.584 MB / 0.5667 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.4842, allocations: 9.234 kB / 0.5667 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008314/0.485, allocations: 195.7 kB / 0.5669 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.4863, allocations: 0.514 MB / 0.5674 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001036/0.4865, allocations: 35.97 kB / 0.5674 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007907/0.4944, allocations: 8.613 MB / 0.5758 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4944, allocations: 4 kB / 0.5759 GB, free: 3.734 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005462/0.4999, allocations: 3.227 MB / 0.579 GB, free: 428 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009153/0.5008, allocations: 355.4 kB / 0.5793 GB, free: 52 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002267/0.5011, allocations: 39.98 kB / 0.5794 GB, free: 12 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.5021, allocations: 99.89 kB / 0.5795 GB, free: 15.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002842/0.5024, allocations: 112.7 kB / 0.5796 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.886e-05/0.5025, allocations: 43.98 kB / 0.5796 GB, free: 15.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.5036, allocations: 0.7979 MB / 0.5804 GB, free: 14.96 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5036, allocations: 4 kB / 0.5804 GB, free: 14.95 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002656/0.5063, allocations: 0.7408 MB / 0.5811 GB, free: 14.21 MB / 414.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 (98): * Single equations (assignments): 90 * 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.0003813/0.5067, allocations: 191.7 kB / 0.5813 GB, free: 14.02 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01428/0.521, allocations: 7.139 MB / 0.5883 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.521, allocations: 0 / 0.5883 GB, free: 6.645 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006372/0.5274, allocations: 3.068 MB / 0.5913 GB, free: 3.473 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.5295, allocations: 373 kB / 0.5916 GB, free: 3.117 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/0.5363, allocations: 4.11 MB / 0.5957 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.5377, allocations: 1.669 MB / 0.5973 GB, free: 13.25 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004569/0.5382, allocations: 103.4 kB / 0.5974 GB, free: 13.15 MB / 430.1 MB Notification: Performance of SimCode: time 5.71e-07/0.5382, allocations: 4 kB / 0.5974 GB, free: 13.14 MB / 430.1 MB Notification: Performance of Templates: time 0.08036/0.6185, allocations: 72.49 MB / 0.6682 GB, free: 4.652 MB / 494.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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 OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.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: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1