Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 2.963/2.963, allocations: 8.03 MB / 24.17 MB, free: 0.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 101.6 kB / 26.75 MB, free: 3.387 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.002886/0.002886, allocations: 202.7 kB / 29.44 MB, free: 0.7031 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.057/2.057, allocations: 222.9 MB / 254.9 MB, free: 4.797 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 2.498/2.498, allocations: 3.12 MB / 309.9 MB, free: 2.43 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 91.86 kB / 374.3 MB, free: 2.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/0.242, allocations: 51.96 MB / 426.2 MB, free: 21.48 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007522/0.2496, allocations: 9.032 MB / 435.3 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004249/0.2539, allocations: 2.544 MB / 437.8 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.2552, allocations: 51.81 kB / 437.9 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.2563, allocations: 460.6 kB / 438.3 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001605/0.2579, allocations: 0.6443 MB / 439 MB, free: 8.703 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008234/0.2588, allocations: 497.6 kB / 439.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.2606, allocations: 2.452 MB / 441.9 MB, free: 5.758 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001532/0.2622, allocations: 2.053 MB / 443.9 MB, free: 3.645 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001056/0.2632, allocations: 1.082 MB / 445 MB, free: 2.559 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001001/0.2642, allocations: 1.315 MB / 446.3 MB, free: 1.238 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002784/0.2645, allocations: 300 kB / 446.6 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000525/0.2651, allocations: 383.8 kB / 447 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005738/0.2656, allocations: 0.7832 MB / 447.8 MB, free: 15.78 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001446/0.2671, allocations: 1.279 MB / 449.1 MB, free: 14.5 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003608/0.2707, allocations: 3.665 MB / 452.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/0.2707, allocations: 8 kB / 452.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2707, allocations: 0 / 452.7 MB, free: 10.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.306e-05/0.2708, allocations: 0 / 452.7 MB, free: 10.82 MB / 318.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.005626/0.2765, allocations: 2.701 MB / 455.4 MB, free: 8.047 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.2765, allocations: 8.031 kB / 455.5 MB, free: 8.039 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006705/0.2772, allocations: 262.1 kB / 455.7 MB, free: 7.781 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.2795, allocations: 1.286 MB / 457 MB, free: 6.445 MB / 318.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.0002634/0.2798, allocations: 223.4 kB / 457.2 MB, free: 6.211 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.2801, allocations: 207.9 kB / 457.4 MB, free: 6.008 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004371/0.2845, allocations: 2.694 MB / 460.1 MB, free: 3.223 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/0.2846, allocations: 4 kB / 460.1 MB, free: 3.219 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001715/0.2847, allocations: 80 kB / 460.2 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.553e-05/0.2848, allocations: 104 kB / 460.3 MB, free: 3.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003715/0.2886, allocations: 2.206 MB / 462.5 MB, free: 0.832 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01158/0.3002, allocations: 7.957 MB / 470.5 MB, free: 8.652 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/0.3027, allocations: 1.585 MB / 472 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001677/0.3044, allocations: 0.94 MB / 473 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002359/0.3047, allocations: 126 kB / 473.1 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.3059, allocations: 0.7733 MB / 473.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.625e-06/0.306, allocations: 0 / 473.9 MB, free: 5.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01358/0.3195, allocations: 6.603 MB / 480.5 MB, free: 14.38 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001425/0.3197, allocations: 248.3 kB / 480.7 MB, free: 14.07 MB / 350.1 MB [/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. [/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: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:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) 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. [/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/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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) 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: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: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: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.0) 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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.3214, allocations: 1.199 MB / 481.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001682/0.3216, allocations: 49.7 kB / 482 MB, free: 12.81 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007454/0.3223, allocations: 0.9154 MB / 482.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003/0.3226, allocations: 410.2 kB / 483.3 MB, free: 11.47 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004259/0.323, allocations: 250.8 kB / 483.5 MB, free: 11.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3232, allocations: 353.9 kB / 483.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/0.3244, allocations: 0.7093 MB / 484.6 MB, free: 10.16 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.3259, allocations: 1.085 MB / 485.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008235/0.3341, allocations: 3.566 MB / 489.2 MB, free: 5.199 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.158e-05/0.3342, allocations: 11.98 kB / 489.2 MB, free: 5.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004226/0.3384, allocations: 2.511 MB / 491.8 MB, free: 2.617 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.3384, allocations: 38.02 kB / 491.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.3385, allocations: 12 kB / 491.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.3396, allocations: 0.5037 MB / 492.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.3407, allocations: 291.5 kB / 492.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01429/0.355, allocations: 8.81 MB / 0.4897 GB, free: 8.398 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002368/0.3574, allocations: 127.9 kB / 0.4898 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003675/0.3578, allocations: 59.98 kB / 0.4898 GB, free: 8.215 MB / 366.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.003999/0.3618, allocations: 1.226 MB / 0.491 GB, free: 6.988 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002989/0.3648, allocations: 1.058 MB / 0.4921 GB, free: 5.77 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01773/0.3826, allocations: 3.503 MB / 0.4955 GB, free: 2.105 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.676e-05/0.3827, allocations: 4 kB / 0.4955 GB, free: 2.102 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.009762/0.3925, allocations: 2.469 MB / 0.4979 GB, free: 15.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.953e-05/0.3926, allocations: 41.69 kB / 0.4979 GB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.41e-05/0.3927, allocations: 12 kB / 0.498 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002266/0.395, allocations: 0.4962 MB / 0.4984 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002178/0.3972, allocations: 291.5 kB / 0.4987 GB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0178/0.415, allocations: 8.794 MB / 0.5073 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002979/0.4181, allocations: 135.9 kB / 0.5074 GB, free: 5.242 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005031/0.4186, allocations: 59.94 kB / 0.5075 GB, free: 5.184 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.0013/0.42, allocations: 299.4 kB / 0.5078 GB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008878/0.4209, allocations: 138.4 kB / 0.5079 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007922/0.4288, allocations: 2.183 MB / 0.51 GB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.4289, allocations: 12 kB / 0.51 GB, free: 2.512 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.2e-05/0.4289, allocations: 4 kB / 0.5101 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-05/0.4289, allocations: 11.92 kB / 0.5101 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2768/0.7058, allocations: 4.598 MB / 0.5146 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/0.7058, allocations: 4.375 kB / 0.5146 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009455/0.7068, allocations: 195.6 kB / 0.5147 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001451/0.7082, allocations: 0.5159 MB / 0.5152 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001662/0.7084, allocations: 37.22 kB / 0.5153 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007297/0.7157, allocations: 8.614 MB / 0.5237 GB, free: 78.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.7158, allocations: 8.562 kB / 0.5237 GB, free: 78.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.7213, allocations: 3.227 MB / 0.5269 GB, free: 76.79 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008555/0.7222, allocations: 359.9 kB / 0.5272 GB, free: 76.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003928/0.7226, allocations: 30.03 kB / 0.5272 GB, free: 76.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.7238, allocations: 112.2 kB / 0.5273 GB, free: 76.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003127/0.7241, allocations: 109 kB / 0.5274 GB, free: 76.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.135e-05/0.7242, allocations: 39.2 kB / 0.5275 GB, free: 76.55 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.7255, allocations: 0.7972 MB / 0.5283 GB, free: 76.21 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7255, allocations: 0 / 0.5283 GB, free: 76.21 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002867/0.7284, allocations: 0.7426 MB / 0.529 GB, free: 76.15 MB / 382.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.0004105/0.7288, allocations: 189.7 kB / 0.5292 GB, free: 76.03 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01445/0.7433, allocations: 7.534 MB / 0.5365 GB, free: 71.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/0.7433, allocations: 3.844 kB / 0.5365 GB, free: 71.25 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00598/0.7493, allocations: 3.054 MB / 0.5395 GB, free: 68.41 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/0.7519, allocations: 385.8 kB / 0.5399 GB, free: 68.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.7592, allocations: 4.161 MB / 0.5439 GB, free: 64.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001448/0.7607, allocations: 1.671 MB / 0.5456 GB, free: 62.36 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.7612, allocations: 111.4 kB / 0.5457 GB, free: 62.25 MB / 382.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7612, allocations: 0 / 0.5457 GB, free: 62.25 MB / 382.1 MB Notification: Performance of Templates: time 0.06447/0.8257, allocations: 72.3 MB / 0.6163 GB, free: 5.945 MB / 398.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_main_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_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_main_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_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_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_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_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_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_main_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_main_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_main_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1