Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.06982/0.06982, allocations: 8.041 MB / 23.93 MB, free: 468 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.001428/0.001428, allocations: 108.8 kB / 26.48 MB, free: 3.457 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: 198.5 kB / 29.17 MB, free: 0.7852 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.292/1.292, allocations: 222.9 MB / 254.6 MB, free: 3.258 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01269/0.01269, allocations: 3.122 MB / 309.6 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00172/0.00172, allocations: 91.86 kB / 373.8 MB, free: 2.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.201, allocations: 51.97 MB / 425.7 MB, free: 21.72 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.008455/0.2095, allocations: 8.986 MB / 434.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.2139, allocations: 2.509 MB / 437.2 MB, free: 10.19 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001537/0.2155, allocations: 43.81 kB / 437.3 MB, free: 10.14 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2169, allocations: 385.7 kB / 437.7 MB, free: 9.766 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002032/0.219, allocations: 0.5749 MB / 438.2 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.2201, allocations: 443.5 kB / 438.7 MB, free: 8.754 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002408/0.2226, allocations: 2.459 MB / 441.1 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002212/0.2248, allocations: 2.049 MB / 443.2 MB, free: 4.18 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.2262, allocations: 1.082 MB / 444.3 MB, free: 3.094 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.2279, allocations: 1.347 MB / 445.6 MB, free: 1.742 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006768/0.2286, allocations: 300 kB / 445.9 MB, free: 1.449 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000923/0.2295, allocations: 387.8 kB / 446.3 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008152/0.2304, allocations: 0.787 MB / 447.1 MB, free: 288 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.2322, allocations: 1.283 MB / 448.3 MB, free: 14.99 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.2354, allocations: 3.063 MB / 451.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2354, allocations: 0 / 451.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.2355, allocations: 0 / 451.4 MB, free: 11.92 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.156e-05/0.2356, allocations: 0 / 451.4 MB, free: 11.92 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.006233/0.2418, allocations: 2.697 MB / 454.1 MB, free: 9.156 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.2419, allocations: 12.03 kB / 454.1 MB, free: 9.145 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.2426, allocations: 254.1 kB / 454.4 MB, free: 8.895 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002056/0.2446, allocations: 1.29 MB / 455.7 MB, free: 7.555 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.0002689/0.2449, allocations: 219.4 kB / 455.9 MB, free: 7.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.2452, allocations: 207.9 kB / 456.1 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004637/0.2499, allocations: 2.69 MB / 458.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.003e-05/0.25, allocations: 7.938 kB / 458.8 MB, free: 4.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.2502, allocations: 87.98 kB / 458.9 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/0.2503, allocations: 99.91 kB / 459 MB, free: 4.148 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.2543, allocations: 2.213 MB / 461.2 MB, free: 1.934 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01321/0.2675, allocations: 7.953 MB / 469.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/0.2702, allocations: 1.581 MB / 470.7 MB, free: 8.113 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001786/0.272, allocations: 0.9439 MB / 471.6 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002615/0.2723, allocations: 122 kB / 471.8 MB, free: 7.035 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001376/0.2737, allocations: 0.7694 MB / 472.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 3.566e-06/0.2737, allocations: 0 / 472.5 MB, free: 6.234 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01433/0.2881, allocations: 6.61 MB / 479.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.2882, allocations: 248.3 kB / 479.4 MB, free: 15.18 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.001702/0.2899, allocations: 1.203 MB / 480.6 MB, free: 13.96 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.2901, allocations: 45.7 kB / 480.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006951/0.2908, allocations: 0.9153 MB / 481.5 MB, free: 12.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003402/0.2911, allocations: 410.3 kB / 481.9 MB, free: 12.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004042/0.2915, allocations: 250.8 kB / 482.2 MB, free: 12.33 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2917, allocations: 357.9 kB / 482.5 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001226/0.2929, allocations: 0.7015 MB / 483.2 MB, free: 11.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.2944, allocations: 1.089 MB / 484.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008957/0.3033, allocations: 3.574 MB / 487.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.346e-05/0.3034, allocations: 4 kB / 487.9 MB, free: 6.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004501/0.3079, allocations: 2.511 MB / 490.4 MB, free: 3.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.308, allocations: 33.7 kB / 490.5 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.154e-05/0.308, allocations: 12 kB / 490.5 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00121/0.3092, allocations: 0.5009 MB / 491 MB, free: 3.16 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.3103, allocations: 299.5 kB / 491.3 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007999/0.3183, allocations: 8.803 MB / 0.4883 GB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/0.3198, allocations: 127.7 kB / 0.4885 GB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.3199, allocations: 59.98 kB / 0.4885 GB, free: 9.328 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.002035/0.322, allocations: 1.23 MB / 0.4897 GB, free: 8.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001351/0.3233, allocations: 1.07 MB / 0.4908 GB, free: 6.871 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008651/0.332, allocations: 3.503 MB / 0.4942 GB, free: 3.203 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.727e-06/0.332, allocations: 0 / 0.4942 GB, free: 3.203 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004221/0.3363, allocations: 2.461 MB / 0.4966 GB, free: 0.6953 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.3363, allocations: 46 kB / 0.4966 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/0.3363, allocations: 15.94 kB / 0.4967 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3375, allocations: 0.5038 MB / 0.4971 GB, free: 112 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/0.3386, allocations: 283.5 kB / 0.4974 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007836/0.3464, allocations: 8.787 MB / 0.506 GB, free: 6.484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.348, allocations: 135.9 kB / 0.5061 GB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/0.3481, allocations: 56 kB / 0.5062 GB, free: 6.297 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.0004498/0.3486, allocations: 300.4 kB / 0.5065 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.3488, allocations: 130.4 kB / 0.5066 GB, free: 5.871 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004035/0.3529, allocations: 2.187 MB / 0.5087 GB, free: 3.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-05/0.3529, allocations: 12 kB / 0.5087 GB, free: 3.625 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.3529, allocations: 8 kB / 0.5087 GB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3529, allocations: 7.922 kB / 0.5088 GB, free: 3.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1735/0.5264, allocations: 4.592 MB / 0.5132 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.358e-05/0.5265, allocations: 4.062 kB / 0.5132 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009858/0.5275, allocations: 192.5 kB / 0.5134 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001491/0.529, allocations: 0.5249 MB / 0.5139 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001668/0.5292, allocations: 37.02 kB / 0.514 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006839/0.536, allocations: 8.614 MB / 0.5224 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.401e-06/0.536, allocations: 4 kB / 0.5224 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004754/0.5408, allocations: 3.219 MB / 0.5255 GB, free: 77.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005897/0.5414, allocations: 359.2 kB / 0.5259 GB, free: 77.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002079/0.5416, allocations: 39.03 kB / 0.5259 GB, free: 77.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009319/0.5426, allocations: 99.47 kB / 0.526 GB, free: 77 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002661/0.5429, allocations: 113 kB / 0.5261 GB, free: 76.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.518e-05/0.5429, allocations: 39.45 kB / 0.5262 GB, free: 76.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001202/0.5442, allocations: 0.7972 MB / 0.5269 GB, free: 76.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5442, allocations: 0 / 0.5269 GB, free: 76.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002179/0.5463, allocations: 0.744 MB / 0.5277 GB, free: 76.56 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.0003122/0.5467, allocations: 187.9 kB / 0.5278 GB, free: 76.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01358/0.5603, allocations: 7.543 MB / 0.5352 GB, free: 72.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.5603, allocations: 0 / 0.5352 GB, free: 72.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005744/0.5661, allocations: 3.054 MB / 0.5382 GB, free: 69.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001907/0.568, allocations: 383.2 kB / 0.5386 GB, free: 69.32 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005638/0.5737, allocations: 5.026 MB / 0.5435 GB, free: 64.57 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008795/0.5746, allocations: 1.671 MB / 0.5451 GB, free: 62.87 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004033/0.575, allocations: 107.4 kB / 0.5452 GB, free: 62.76 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.575, allocations: 0 / 0.5452 GB, free: 62.76 MB / 382.1 MB Notification: Performance of Templates: time 0.05371/0.6287, allocations: 72.29 MB / 0.6158 GB, free: 6.461 MB / 398.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1