Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04986/0.04986, allocations: 8.033 MB / 24.34 MB, free: 396 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.00111/0.00111, allocations: 109.5 kB / 26.92 MB, free: 3.113 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.001313/0.001314, allocations: 198.6 kB / 29.62 MB, free: 444 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.486/1.486, 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.01716/0.01716, allocations: 3.132 MB / 310.1 MB, free: 2.277 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 95.84 kB / 427.6 MB, free: 17.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1225, allocations: 51.97 MB / 479.5 MB, free: 13.51 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.01205/0.1346, allocations: 9.07 MB / 488.6 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006197/0.1408, allocations: 2.556 MB / 491.2 MB, free: 1.832 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001767/0.1426, allocations: 47.81 kB / 491.2 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001779/0.1444, allocations: 476.7 kB / 491.7 MB, free: 1.316 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003096/0.1475, allocations: 0.6794 MB / 492.4 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001638/0.1492, allocations: 495 kB / 492.8 MB, free: 156 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.003858/0.153, allocations: 2.486 MB / 495.3 MB, free: 13.66 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002373/0.1554, allocations: 2.045 MB / 497.4 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00179/0.1572, allocations: 1.106 MB / 498.5 MB, free: 10.43 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00173/0.159, allocations: 1.315 MB / 499.8 MB, free: 9.113 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003806/0.1594, allocations: 300 kB / 0.4884 GB, free: 8.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000704/0.1601, allocations: 391.8 kB / 0.4887 GB, free: 8.438 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007628/0.1608, allocations: 0.787 MB / 0.4895 GB, free: 7.648 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001309/0.1622, allocations: 1.283 MB / 0.4908 GB, free: 6.359 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.1661, allocations: 3.715 MB / 0.4944 GB, free: 2.633 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.063e-05/0.1662, allocations: 8 kB / 0.4944 GB, free: 2.625 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1662, allocations: 0 / 0.4944 GB, free: 2.625 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.4e-05/0.1662, allocations: 0 / 0.4944 GB, free: 2.625 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.005934/0.1722, allocations: 2.703 MB / 0.497 GB, free: 15.85 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/0.1722, allocations: 8.031 kB / 0.497 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.173, allocations: 274 kB / 0.4973 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002525/0.1755, allocations: 1.321 MB / 0.4986 GB, free: 14.21 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.0002457/0.1758, allocations: 219.4 kB / 0.4988 GB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003013/0.1761, allocations: 211.9 kB / 0.499 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/0.1807, allocations: 2.69 MB / 0.5016 GB, free: 10.99 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.677e-05/0.1808, allocations: 7.984 kB / 0.5016 GB, free: 10.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001998/0.181, allocations: 84 kB / 0.5017 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/0.1811, allocations: 99.91 kB / 0.5018 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003888/0.185, allocations: 2.21 MB / 0.504 GB, free: 8.594 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.1982, allocations: 7.863 MB / 0.5117 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3333/0.5315, allocations: 1.577 MB / 0.5132 GB, free: 39.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002174/0.5337, allocations: 0.9418 MB / 0.5141 GB, free: 39.41 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.534, allocations: 125.2 kB / 0.5142 GB, free: 39.32 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001464/0.5355, allocations: 0.7745 MB / 0.515 GB, free: 39.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 4.338e-06/0.5355, allocations: 1.562 kB / 0.515 GB, free: 39.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.021/0.5565, allocations: 6.603 MB / 0.5214 GB, free: 36.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002038/0.5568, allocations: 246.5 kB / 0.5217 GB, free: 36.46 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.003615/0.5604, allocations: 1.173 MB / 0.5228 GB, free: 35.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/0.5608, allocations: 47.36 kB / 0.5229 GB, free: 35.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001472/0.5623, allocations: 0.9132 MB / 0.5238 GB, free: 35.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006862/0.563, allocations: 404.4 kB / 0.5241 GB, free: 34.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006964/0.5637, allocations: 253.5 kB / 0.5244 GB, free: 34.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.5639, allocations: 364.9 kB / 0.5247 GB, free: 34.47 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001837/0.5658, allocations: 0.7034 MB / 0.5254 GB, free: 34.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002152/0.5679, allocations: 1.097 MB / 0.5265 GB, free: 33.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.5787, allocations: 3.545 MB / 0.53 GB, free: 31.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.022e-05/0.5788, allocations: 7.25 kB / 0.53 GB, free: 31.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005992/0.5848, allocations: 2.511 MB / 0.5324 GB, free: 30.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/0.5849, allocations: 33.48 kB / 0.5324 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.072e-05/0.585, allocations: 15.75 kB / 0.5325 GB, free: 30.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.5861, allocations: 0.5064 MB / 0.533 GB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.5871, allocations: 290.7 kB / 0.5332 GB, free: 30.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/0.5937, allocations: 8.791 MB / 0.5418 GB, free: 23.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001641/0.5954, allocations: 130.9 kB / 0.5419 GB, free: 23.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.5955, allocations: 65.27 kB / 0.542 GB, free: 23.07 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.002006/0.5975, allocations: 1.218 MB / 0.5432 GB, free: 22.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001075/0.5986, allocations: 1.066 MB / 0.5442 GB, free: 21.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006935/0.6056, allocations: 3.492 MB / 0.5476 GB, free: 17.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.078e-05/0.6056, allocations: 4 kB / 0.5477 GB, free: 17.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003669/0.6093, allocations: 2.462 MB / 0.5501 GB, free: 15.31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.6093, allocations: 46.56 kB / 0.5501 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/0.6094, allocations: 8 kB / 0.5501 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009618/0.6103, allocations: 0.505 MB / 0.5506 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.6114, allocations: 283.5 kB / 0.5509 GB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006001/0.6174, allocations: 8.796 MB / 0.5595 GB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/0.619, allocations: 131.9 kB / 0.5596 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.82e-05/0.6192, allocations: 55.94 kB / 0.5596 GB, free: 4.945 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.0004903/0.6196, allocations: 290.7 kB / 0.5599 GB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000259/0.6199, allocations: 138.3 kB / 0.56 GB, free: 4.52 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003344/0.6233, allocations: 2.199 MB / 0.5622 GB, free: 2.285 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.6233, allocations: 16.97 kB / 0.5622 GB, free: 2.273 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6233, allocations: 8 kB / 0.5622 GB, free: 2.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.6233, allocations: 7.969 kB / 0.5622 GB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007225/0.6305, allocations: 4.587 MB / 0.5667 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6306, allocations: 4 kB / 0.5667 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008543/0.6314, allocations: 201.3 kB / 0.5669 GB, free: 13.37 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001287/0.6327, allocations: 0.5164 MB / 0.5674 GB, free: 12.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-05/0.6328, allocations: 39.97 kB / 0.5674 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007769/0.6406, allocations: 8.603 MB / 0.5758 GB, free: 3.664 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.6407, allocations: 4 kB / 0.5759 GB, free: 3.66 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005551/0.6462, allocations: 3.227 MB / 0.579 GB, free: 348 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009927/0.6472, allocations: 359 kB / 0.5793 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.6475, allocations: 35.98 kB / 0.5794 GB, free: 15.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009489/0.6484, allocations: 99.89 kB / 0.5795 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002939/0.6487, allocations: 112.7 kB / 0.5796 GB, free: 15.73 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-05/0.6488, allocations: 39.98 kB / 0.5796 GB, free: 15.69 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001181/0.65, allocations: 0.7979 MB / 0.5804 GB, free: 14.89 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.65, allocations: 0 / 0.5804 GB, free: 14.89 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002736/0.6527, allocations: 0.7448 MB / 0.5811 GB, free: 14.14 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.000378/0.6531, allocations: 187.8 kB / 0.5813 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01428/0.6674, allocations: 7.14 MB / 0.5883 GB, free: 6.582 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-05/0.6675, allocations: 4.125 kB / 0.5883 GB, free: 6.578 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006188/0.6737, allocations: 3.063 MB / 0.5913 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.6758, allocations: 380.5 kB / 0.5916 GB, free: 3.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007254/0.6831, allocations: 4.106 MB / 0.5956 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/0.6845, allocations: 1.675 MB / 0.5973 GB, free: 13.18 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004415/0.685, allocations: 105.3 kB / 0.5974 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 1.262e-06/0.685, allocations: 0 / 0.5974 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Templates: time 0.08094/0.7659, allocations: 72.48 MB / 0.6682 GB, free: 4.582 MB / 494.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_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_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_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1