Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.05599/0.05599, allocations: 8.026 MB / 23.91 MB, free: 4.898 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 105.2 kB / 26.48 MB, free: 3.219 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.001834/0.001834, allocations: 198.5 kB / 29.16 MB, free: 0.5469 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.51/1.51, allocations: 222.9 MB / 254.6 MB, free: 3.246 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01349/0.01349, allocations: 3.126 MB / 309.6 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002533/0.002533, allocations: 99.84 kB / 373.8 MB, free: 2.109 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2938, allocations: 51.97 MB / 425.8 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008303/0.3022, allocations: 9.076 MB / 434.9 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006681/0.3089, allocations: 2.591 MB / 437.5 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.311, allocations: 43.81 kB / 437.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001441/0.3125, allocations: 389.6 kB / 437.9 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002053/0.3146, allocations: 0.5749 MB / 438.4 MB, free: 8.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.3157, allocations: 466 kB / 438.9 MB, free: 8.438 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002534/0.3182, allocations: 2.465 MB / 441.4 MB, free: 5.965 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001781/0.32, allocations: 2.053 MB / 443.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001494/0.3215, allocations: 1.102 MB / 444.5 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001497/0.323, allocations: 1.35 MB / 445.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003695/0.3234, allocations: 300 kB / 446.2 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006571/0.3241, allocations: 399.8 kB / 446.6 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006123/0.3247, allocations: 0.7871 MB / 447.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001562/0.3263, allocations: 1.299 MB / 448.6 MB, free: 14.61 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00347/0.3297, allocations: 3.071 MB / 451.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3298, allocations: 0 / 451.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3298, allocations: 4 kB / 451.7 MB, free: 11.53 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001049/0.3299, allocations: 0 / 451.7 MB, free: 11.53 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.00693/0.3368, allocations: 2.716 MB / 454.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.719e-05/0.3369, allocations: 12.03 kB / 454.4 MB, free: 8.73 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009218/0.3378, allocations: 262 kB / 454.7 MB, free: 8.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003014/0.3409, allocations: 1.286 MB / 456 MB, free: 7.141 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.0003333/0.3412, allocations: 235.4 kB / 456.2 MB, free: 6.895 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004696/0.3417, allocations: 211.9 kB / 456.4 MB, free: 6.688 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005482/0.3472, allocations: 2.711 MB / 459.1 MB, free: 3.883 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-05/0.3473, allocations: 3.906 kB / 459.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002029/0.3475, allocations: 88 kB / 459.2 MB, free: 3.793 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001182/0.3476, allocations: 100 kB / 459.3 MB, free: 3.691 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004334/0.352, allocations: 2.225 MB / 461.5 MB, free: 1.449 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01564/0.3676, allocations: 8.016 MB / 469.6 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002986/0.3706, allocations: 1.609 MB / 471.2 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00192/0.3726, allocations: 0.9634 MB / 472.1 MB, free: 6.555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002666/0.3729, allocations: 114.1 kB / 472.3 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001396/0.3743, allocations: 0.7811 MB / 473 MB, free: 5.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.705e-06/0.3743, allocations: 0 / 473 MB, free: 5.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01564/0.3899, allocations: 6.658 MB / 479.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002211/0.3902, allocations: 244.3 kB / 479.9 MB, free: 14.52 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: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.0) 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: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.0) 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.002283/0.3925, allocations: 1.203 MB / 481.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.3926, allocations: 49.7 kB / 481.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000963/0.3936, allocations: 0.9309 MB / 482.1 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004156/0.394, allocations: 410.2 kB / 482.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004629/0.3945, allocations: 259.4 kB / 482.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.3947, allocations: 357.9 kB / 483.1 MB, free: 11.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.396, allocations: 0.7113 MB / 483.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001671/0.3977, allocations: 1.1 MB / 484.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009222/0.4069, allocations: 3.602 MB / 488.5 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/0.407, allocations: 8 kB / 488.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.005254/0.4123, allocations: 2.513 MB / 491 MB, free: 2.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.017e-05/0.4124, allocations: 37.69 kB / 491.1 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.346e-05/0.4124, allocations: 16.31 kB / 491.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00139/0.4138, allocations: 0.5044 MB / 491.6 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.415, allocations: 307.5 kB / 491.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4253, allocations: 8.801 MB / 0.489 GB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.4271, allocations: 123.9 kB / 0.4891 GB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000318/0.4275, allocations: 59.98 kB / 0.4891 GB, free: 8.57 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.002896/0.4304, allocations: 1.231 MB / 0.4903 GB, free: 7.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001792/0.4322, allocations: 1.076 MB / 0.4914 GB, free: 6.109 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0093/0.4415, allocations: 3.524 MB / 0.4948 GB, free: 2.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.797e-05/0.4415, allocations: 4.156 kB / 0.4948 GB, free: 2.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.005287/0.4468, allocations: 2.486 MB / 0.4973 GB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.309e-05/0.4469, allocations: 40.36 kB / 0.4973 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.957e-05/0.4469, allocations: 8 kB / 0.4973 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.4482, allocations: 0.504 MB / 0.4978 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4494, allocations: 283.6 kB / 0.4981 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.4602, allocations: 8.794 MB / 0.5067 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.4622, allocations: 143.8 kB / 0.5068 GB, free: 5.547 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000332/0.4626, allocations: 59.98 kB / 0.5069 GB, free: 5.488 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.0007884/0.4634, allocations: 292 kB / 0.5071 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.4639, allocations: 134.4 kB / 0.5073 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005265/0.4692, allocations: 2.207 MB / 0.5094 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.772e-05/0.4693, allocations: 15.94 kB / 0.5094 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.078e-05/0.4693, allocations: 4 kB / 0.5094 GB, free: 2.789 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.641e-05/0.4693, allocations: 3.984 kB / 0.5094 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2256/0.6949, allocations: 4.623 MB / 0.514 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/0.695, allocations: 4.25 kB / 0.514 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009462/0.6959, allocations: 203.9 kB / 0.5142 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.6973, allocations: 0.5264 MB / 0.5147 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/0.6974, allocations: 37.62 kB / 0.5147 GB, free: 84.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/0.7045, allocations: 8.614 MB / 0.5231 GB, free: 78.28 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/0.7046, allocations: 8.812 kB / 0.5231 GB, free: 78.27 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005233/0.7098, allocations: 3.249 MB / 0.5263 GB, free: 76.88 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007515/0.7106, allocations: 353.8 kB / 0.5266 GB, free: 76.71 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002038/0.7108, allocations: 36.69 kB / 0.5267 GB, free: 76.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009521/0.7118, allocations: 102.2 kB / 0.5268 GB, free: 76.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003227/0.7121, allocations: 116.4 kB / 0.5269 GB, free: 76.64 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.484e-05/0.7122, allocations: 40.7 kB / 0.5269 GB, free: 76.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000995/0.7132, allocations: 0.7953 MB / 0.5277 GB, free: 76.3 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.7132, allocations: 2.938 kB / 0.5277 GB, free: 76.3 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002467/0.7157, allocations: 0.7462 MB / 0.5284 GB, free: 76.24 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,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.000386/0.7161, allocations: 201.1 kB / 0.5286 GB, free: 76.12 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01601/0.7321, allocations: 7.584 MB / 0.536 GB, free: 71.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/0.7322, allocations: 0 / 0.536 GB, free: 71.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007654/0.7398, allocations: 3.064 MB / 0.539 GB, free: 68.58 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003414/0.7433, allocations: 383.3 kB / 0.5394 GB, free: 68.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009901/0.7532, allocations: 5.064 MB / 0.5443 GB, free: 63.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.7549, allocations: 1.691 MB / 0.546 GB, free: 61.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006752/0.7556, allocations: 107.4 kB / 0.5461 GB, free: 61.56 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.7556, allocations: 4 kB / 0.5461 GB, free: 61.56 MB / 382.1 MB Notification: Performance of Templates: time 0.06932/0.825, allocations: 72.76 MB / 0.6171 GB, free: 4.789 MB / 398.1 MB make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.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.wFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1166:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1173:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1181:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions0100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1193:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1206:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1207:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1223:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1224:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1230:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1238:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1246:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); ^~~~~~~~~~~~~~~ conditions1103 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:29: note: 'conditions1103' declared here bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1