Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04413/0.04413, allocations: 8.032 MB / 24.34 MB, free: 364 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.001046/0.001047, allocations: 109.7 kB / 26.92 MB, free: 3.09 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.001248/0.001248, allocations: 195.2 kB / 29.62 MB, free: 416 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.332/1.332, allocations: 222.9 MB / 255.1 MB, free: 4.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0124/0.0124, allocations: 3.129 MB / 310.1 MB, free: 2.328 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001692/0.001692, allocations: 95.84 kB / 427.6 MB, free: 17.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0847/0.08641, 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: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(EHPTexamples.ElectricDrives.wFollowing): time 0.01065/0.0971, allocations: 9.17 MB / 488.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005202/0.1023, allocations: 2.645 MB / 491.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.1035, allocations: 47.81 kB / 491.4 MB, free: 1.641 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001426/0.1049, allocations: 476.6 kB / 491.9 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002287/0.1072, allocations: 0.6794 MB / 492.6 MB, free: 500 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1086, allocations: 0.4991 MB / 493.1 MB, free: 15.99 MB / 366.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.003284/0.1119, allocations: 2.503 MB / 495.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002713/0.1146, allocations: 2.057 MB / 497.6 MB, free: 11.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.1162, allocations: 1.102 MB / 498.7 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001976/0.1182, allocations: 1.339 MB / 0.4883 GB, free: 8.902 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006715/0.1189, allocations: 300 kB / 0.4886 GB, free: 8.609 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001034/0.1199, allocations: 391.8 kB / 0.489 GB, free: 8.227 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009823/0.1209, allocations: 0.7948 MB / 0.4898 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001865/0.1228, allocations: 1.295 MB / 0.491 GB, free: 6.129 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.1264, allocations: 3.75 MB / 0.4947 GB, free: 2.367 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1265, allocations: 0 / 0.4947 GB, free: 2.367 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1265, allocations: 0 / 0.4947 GB, free: 2.367 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.377e-05/0.1265, allocations: 0 / 0.4947 GB, free: 2.367 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.00528/0.1318, allocations: 2.712 MB / 0.4973 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.1319, allocations: 12.03 kB / 0.4974 GB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007059/0.1326, allocations: 274 kB / 0.4976 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.1349, allocations: 1.329 MB / 0.4989 GB, free: 13.93 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.0002239/0.1351, allocations: 219.4 kB / 0.4991 GB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003139/0.1354, allocations: 212 kB / 0.4993 GB, free: 13.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004234/0.1397, allocations: 2.715 MB / 0.502 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.1397, allocations: 11.91 kB / 0.502 GB, free: 10.67 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002118/0.14, allocations: 83.98 kB / 0.5021 GB, free: 10.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.493e-05/0.1401, allocations: 99.97 kB / 0.5022 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003741/0.1438, allocations: 2.229 MB / 0.5043 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01181/0.1556, allocations: 7.926 MB / 0.5121 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1872/0.3429, allocations: 1.593 MB / 0.5136 GB, free: 40.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001776/0.3447, allocations: 0.9507 MB / 0.5146 GB, free: 39.88 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002126/0.3449, allocations: 121.6 kB / 0.5147 GB, free: 39.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001214/0.3461, allocations: 0.7769 MB / 0.5154 GB, free: 39.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 3.376e-06/0.3461, allocations: 1.188 kB / 0.5154 GB, free: 39.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01404/0.3602, allocations: 6.672 MB / 0.522 GB, free: 36.97 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.3603, allocations: 247 kB / 0.5222 GB, free: 36.68 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.001642/0.3619, allocations: 1.17 MB / 0.5233 GB, free: 36.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/0.3621, allocations: 52.05 kB / 0.5234 GB, free: 36.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006135/0.3627, allocations: 0.9232 MB / 0.5243 GB, free: 35.45 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002821/0.363, allocations: 418.3 kB / 0.5247 GB, free: 35.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.3634, allocations: 251.6 kB / 0.5249 GB, free: 35.02 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.802e-05/0.3635, allocations: 365.4 kB / 0.5253 GB, free: 34.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.3647, allocations: 0.7152 MB / 0.526 GB, free: 34.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001366/0.3661, allocations: 1.101 MB / 0.5271 GB, free: 33.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008116/0.3742, allocations: 3.574 MB / 0.5305 GB, free: 32.17 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.305e-05/0.3742, allocations: 2.75 kB / 0.5305 GB, free: 32.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004001/0.3783, allocations: 2.53 MB / 0.533 GB, free: 31.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.559e-05/0.3783, allocations: 37.55 kB / 0.5331 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.3783, allocations: 11.81 kB / 0.5331 GB, free: 31.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.3794, allocations: 0.4951 MB / 0.5335 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/0.3804, allocations: 298.8 kB / 0.5338 GB, free: 30.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005891/0.3863, allocations: 8.794 MB / 0.5424 GB, free: 23.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.3877, allocations: 134.6 kB / 0.5425 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.766e-05/0.3878, allocations: 53.19 kB / 0.5426 GB, free: 23.13 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.001791/0.3896, allocations: 1.238 MB / 0.5438 GB, free: 22.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/0.3906, allocations: 1.072 MB / 0.5449 GB, free: 21.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0072/0.3978, allocations: 3.513 MB / 0.5483 GB, free: 17.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.354e-06/0.3979, allocations: 4.938 kB / 0.5483 GB, free: 17.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003479/0.4014, allocations: 2.486 MB / 0.5507 GB, free: 14.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/0.4014, allocations: 37.7 kB / 0.5508 GB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.4014, allocations: 8 kB / 0.5508 GB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009515/0.4024, allocations: 0.5055 MB / 0.5513 GB, free: 14.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009348/0.4033, allocations: 287.5 kB / 0.5515 GB, free: 13.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005683/0.409, allocations: 8.799 MB / 0.5601 GB, free: 4.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.4104, allocations: 135.9 kB / 0.5603 GB, free: 4.516 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.99e-05/0.4105, allocations: 63.92 kB / 0.5603 GB, free: 4.453 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0003773/0.4109, allocations: 288.4 kB / 0.5606 GB, free: 4.172 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/0.4111, allocations: 142.3 kB / 0.5607 GB, free: 4.031 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.4144, allocations: 2.203 MB / 0.5629 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.4144, allocations: 12.56 kB / 0.5629 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.4144, allocations: 4 kB / 0.5629 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4144, allocations: 15.97 kB / 0.5629 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00711/0.4216, allocations: 4.618 MB / 0.5674 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.4216, allocations: 4 kB / 0.5674 GB, free: 13.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.4225, allocations: 200.2 kB / 0.5676 GB, free: 12.83 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001307/0.4238, allocations: 0.5274 MB / 0.5681 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/0.4239, allocations: 31.98 kB / 0.5682 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007775/0.4317, allocations: 8.615 MB / 0.5766 GB, free: 3.121 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.062e-06/0.4317, allocations: 7.938 kB / 0.5766 GB, free: 3.113 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00532/0.437, allocations: 3.247 MB / 0.5797 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000894/0.438, allocations: 359.3 kB / 0.5801 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000215/0.4382, allocations: 39.92 kB / 0.5801 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009742/0.4392, allocations: 99.88 kB / 0.5802 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002831/0.4395, allocations: 116.2 kB / 0.5803 GB, free: 15.15 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.86e-05/0.4396, allocations: 43.97 kB / 0.5804 GB, free: 15.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.4407, allocations: 0.8019 MB / 0.5812 GB, free: 14.3 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4407, allocations: 0 / 0.5812 GB, free: 14.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002513/0.4432, allocations: 0.7526 MB / 0.5819 GB, free: 13.55 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.000356/0.4436, allocations: 187 kB / 0.5821 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01419/0.4578, allocations: 7.167 MB / 0.5891 GB, free: 5.957 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/0.4578, allocations: 8.125 kB / 0.5891 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006296/0.4641, allocations: 3.062 MB / 0.5921 GB, free: 2.785 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001975/0.4661, allocations: 387 kB / 0.5924 GB, free: 2.418 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006677/0.4728, allocations: 4.147 MB / 0.5965 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001287/0.4741, allocations: 1.675 MB / 0.5981 GB, free: 12.5 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/0.4746, allocations: 107.4 kB / 0.5982 GB, free: 12.39 MB / 430.1 MB Notification: Performance of SimCode: time 1.613e-06/0.4746, allocations: 0 / 0.5982 GB, free: 12.39 MB / 430.1 MB Notification: Performance of Templates: time 0.07197/0.5466, allocations: 72.96 MB / 0.6695 GB, free: 3.41 MB / 494.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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.wFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1166:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1173:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1181:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions0100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1193:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1206:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1207:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1223:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1224:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1230:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1238:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1246:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); ^~~~~~~~~~~~~~~ conditions1103 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:29: note: 'conditions1103' declared here bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1