Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.071/0.071, allocations: 8.033 MB / 24.33 MB, free: 372 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.001392/0.001392, allocations: 94.03 kB / 26.91 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.001927/0.001927, allocations: 195.6 kB / 29.62 MB, free: 408 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.395/1.395, allocations: 222.9 MB / 255.1 MB, free: 4.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01292/0.01292, allocations: 3.115 MB / 310.1 MB, free: 2.289 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 99.84 kB / 427.6 MB, free: 17.51 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1024, allocations: 51.96 MB / 479.6 MB, free: 13.5 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.01202/0.1144, allocations: 9.169 MB / 488.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005932/0.1204, allocations: 2.642 MB / 491.4 MB, free: 1.645 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.122, allocations: 47.81 kB / 491.4 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.1237, allocations: 468.6 kB / 491.9 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002622/0.1263, allocations: 0.6833 MB / 492.6 MB, free: 460 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.1279, allocations: 0.507 MB / 493.1 MB, free: 15.94 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.00353/0.1314, allocations: 2.495 MB / 495.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002984/0.1344, allocations: 2.053 MB / 497.6 MB, free: 11.32 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001889/0.1363, allocations: 1.106 MB / 498.7 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002246/0.1386, allocations: 1.335 MB / 0.4883 GB, free: 8.867 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008061/0.1394, allocations: 300 kB / 0.4886 GB, free: 8.574 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001179/0.1406, allocations: 399.8 kB / 0.489 GB, free: 8.184 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001175/0.1418, allocations: 0.7948 MB / 0.4898 GB, free: 7.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0024/0.1442, allocations: 1.295 MB / 0.491 GB, free: 6.086 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004886/0.1491, allocations: 3.756 MB / 0.4947 GB, free: 2.316 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.1491, allocations: 0 / 0.4947 GB, free: 2.316 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1491, allocations: 0 / 0.4947 GB, free: 2.316 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000134/0.1493, allocations: 0 / 0.4947 GB, free: 2.316 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.00671/0.156, allocations: 2.78 MB / 0.4974 GB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.156, allocations: 8.031 kB / 0.4974 GB, free: 15.46 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007707/0.1568, allocations: 283.3 kB / 0.4977 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002185/0.159, allocations: 1.342 MB / 0.499 GB, free: 13.79 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.0003001/0.1593, allocations: 227.4 kB / 0.4992 GB, free: 13.55 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003145/0.1596, allocations: 208 kB / 0.4994 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004631/0.1643, allocations: 2.715 MB / 0.5021 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.104e-05/0.1644, allocations: 7.953 kB / 0.5021 GB, free: 10.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001933/0.1646, allocations: 87.94 kB / 0.5022 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.1647, allocations: 100 kB / 0.5023 GB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00391/0.1686, allocations: 2.225 MB / 0.5044 GB, free: 8.102 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2281/0.3967, allocations: 7.935 MB / 0.5122 GB, free: 38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.3999, allocations: 1.599 MB / 0.5138 GB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.4019, allocations: 0.9566 MB / 0.5147 GB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002322/0.4022, allocations: 118.5 kB / 0.5148 GB, free: 37.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.4035, allocations: 0.7774 MB / 0.5156 GB, free: 37.46 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.344e-06/0.4036, allocations: 0 / 0.5156 GB, free: 37.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01446/0.418, allocations: 6.722 MB / 0.5221 GB, free: 35.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/0.4181, allocations: 250.9 kB / 0.5224 GB, free: 34.95 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.001752/0.4199, allocations: 1.172 MB / 0.5235 GB, free: 34.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.875e-05/0.42, allocations: 48.2 kB / 0.5236 GB, free: 34.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007055/0.4207, allocations: 0.9512 MB / 0.5245 GB, free: 33.81 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003059/0.421, allocations: 440.9 kB / 0.5249 GB, free: 33.53 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004196/0.4214, allocations: 255.7 kB / 0.5251 GB, free: 33.41 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.4215, allocations: 360.6 kB / 0.5255 GB, free: 33.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001242/0.4228, allocations: 0.7094 MB / 0.5262 GB, free: 32.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.4242, allocations: 1.101 MB / 0.5273 GB, free: 32.12 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008325/0.4326, allocations: 3.58 MB / 0.5308 GB, free: 30.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.14e-05/0.4326, allocations: 2.75 kB / 0.5308 GB, free: 30.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003977/0.4366, allocations: 2.541 MB / 0.5332 GB, free: 29.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.256e-05/0.4366, allocations: 37.58 kB / 0.5333 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.4367, allocations: 7.906 kB / 0.5333 GB, free: 29.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000999/0.4377, allocations: 0.5016 MB / 0.5338 GB, free: 29.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001011/0.4387, allocations: 297.8 kB / 0.5341 GB, free: 29.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00656/0.4453, allocations: 8.794 MB / 0.5426 GB, free: 21.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.4468, allocations: 128.1 kB / 0.5428 GB, free: 21.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.912e-05/0.4469, allocations: 58.64 kB / 0.5428 GB, free: 21.57 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.001857/0.4488, allocations: 1.228 MB / 0.544 GB, free: 20.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.4499, allocations: 1.085 MB / 0.5451 GB, free: 20.04 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007166/0.457, allocations: 3.521 MB / 0.5485 GB, free: 16.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.364e-06/0.4571, allocations: 4 kB / 0.5485 GB, free: 16.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003513/0.4606, allocations: 2.487 MB / 0.551 GB, free: 14.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.624e-05/0.4606, allocations: 39.42 kB / 0.551 GB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.4606, allocations: 9.562 kB / 0.551 GB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000917/0.4616, allocations: 0.5073 MB / 0.5515 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/0.4625, allocations: 283.2 kB / 0.5518 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.468, allocations: 8.802 MB / 0.5604 GB, free: 3.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4693, allocations: 135.9 kB / 0.5605 GB, free: 3.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.662e-05/0.4694, allocations: 59.98 kB / 0.5605 GB, free: 3.738 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.0003926/0.4698, allocations: 286.2 kB / 0.5608 GB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002107/0.47, allocations: 148.2 kB / 0.561 GB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003162/0.4732, allocations: 2.218 MB / 0.5631 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.4732, allocations: 12 kB / 0.5631 GB, free: 1.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4732, allocations: 8 kB / 0.5631 GB, free: 1.027 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.938e-06/0.4732, allocations: 7.969 kB / 0.5632 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006942/0.4802, allocations: 4.626 MB / 0.5677 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.4802, allocations: 4 kB / 0.5677 GB, free: 12.29 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008569/0.4811, allocations: 203.7 kB / 0.5679 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001266/0.4824, allocations: 0.5175 MB / 0.5684 GB, free: 11.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/0.4825, allocations: 35.98 kB / 0.5684 GB, free: 11.53 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.4902, allocations: 8.619 MB / 0.5768 GB, free: 2.371 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/0.4902, allocations: 7.938 kB / 0.5768 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005323/0.4955, allocations: 3.249 MB / 0.58 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/0.4962, allocations: 364.1 kB / 0.5804 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.4965, allocations: 39.92 kB / 0.5804 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009843/0.4975, allocations: 103.9 kB / 0.5805 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002666/0.4977, allocations: 112.7 kB / 0.5806 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.144e-05/0.4978, allocations: 39.98 kB / 0.5806 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001139/0.499, allocations: 0.798 MB / 0.5814 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.499, allocations: 0 / 0.5814 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002481/0.5015, allocations: 0.75 MB / 0.5821 GB, free: 12.79 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.0003651/0.5018, allocations: 192 kB / 0.5823 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01389/0.5157, allocations: 7.172 MB / 0.5893 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.5158, allocations: 0 / 0.5893 GB, free: 5.191 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006178/0.522, allocations: 3.074 MB / 0.5923 GB, free: 2.016 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.5239, allocations: 382.8 kB / 0.5927 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006791/0.5307, allocations: 4.219 MB / 0.5968 GB, free: 13.34 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.5321, allocations: 1.675 MB / 0.5985 GB, free: 11.64 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000392/0.5325, allocations: 111.4 kB / 0.5986 GB, free: 11.53 MB / 430.1 MB Notification: Performance of SimCode: time 9.41e-07/0.5325, allocations: 3.5 kB / 0.5986 GB, free: 11.53 MB / 430.1 MB Notification: Performance of Templates: time 0.07311/0.6056, allocations: 72.95 MB / 0.6698 GB, free: 2.562 MB / 494.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1166:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1173:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1181:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1193:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1206:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1207:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1223:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1224:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1230:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1238:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_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_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_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1