Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04257/0.04257, allocations: 8.039 MB / 23.92 MB, free: 480 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.001032/0.001032, allocations: 113.3 kB / 26.49 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.001378/0.001378, allocations: 198.9 kB / 29.17 MB, free: 0.793 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.296/1.296, allocations: 222.9 MB / 254.6 MB, free: 4.957 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01256/0.01256, allocations: 3.121 MB / 309.6 MB, free: 2.555 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001739/0.001739, allocations: 87.86 kB / 373.8 MB, free: 2.332 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1878, allocations: 51.97 MB / 425.8 MB, free: 21.61 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007876/0.1957, allocations: 8.968 MB / 434.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004175/0.1999, allocations: 2.525 MB / 437.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00106/0.201, allocations: 43.81 kB / 437.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001014/0.2021, allocations: 377.7 kB / 437.7 MB, free: 9.672 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001395/0.2035, allocations: 0.5788 MB / 438.2 MB, free: 9.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008117/0.2043, allocations: 434.5 kB / 438.7 MB, free: 8.668 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001937/0.2063, allocations: 2.456 MB / 441.1 MB, free: 6.203 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.2079, allocations: 2.049 MB / 443.2 MB, free: 4.094 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001109/0.209, allocations: 1.09 MB / 444.3 MB, free: 3 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.2101, allocations: 1.335 MB / 445.6 MB, free: 1.66 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002732/0.2104, allocations: 304 kB / 445.9 MB, free: 1.363 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004969/0.2109, allocations: 391.8 kB / 446.3 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004756/0.2114, allocations: 0.7831 MB / 447.1 MB, free: 200 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001211/0.2126, allocations: 1.28 MB / 448.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003041/0.2157, allocations: 3.071 MB / 451.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.2157, allocations: 7.938 kB / 451.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2157, allocations: 0 / 451.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.932e-05/0.2158, allocations: 0 / 451.4 MB, free: 11.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.006015/0.2218, allocations: 2.693 MB / 454.1 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.2219, allocations: 8.031 kB / 454.1 MB, free: 9.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007108/0.2226, allocations: 262.1 kB / 454.4 MB, free: 8.797 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002232/0.2249, allocations: 1.286 MB / 455.7 MB, free: 7.461 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.0002658/0.2251, allocations: 223.4 kB / 455.9 MB, free: 7.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003739/0.2255, allocations: 203.9 kB / 456.1 MB, free: 7.027 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005127/0.2307, allocations: 2.694 MB / 458.8 MB, free: 4.242 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.343e-05/0.2308, allocations: 7.984 kB / 458.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.231, allocations: 83.98 kB / 458.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.2311, allocations: 99.92 kB / 459 MB, free: 4.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004102/0.2352, allocations: 2.209 MB / 461.2 MB, free: 1.844 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01312/0.2484, allocations: 7.945 MB / 469.1 MB, free: 9.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002625/0.251, allocations: 1.581 MB / 470.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001714/0.2528, allocations: 0.9483 MB / 471.6 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002394/0.253, allocations: 126 kB / 471.8 MB, free: 6.945 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001332/0.2544, allocations: 0.7655 MB / 472.5 MB, free: 6.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.735e-06/0.2544, allocations: 8 kB / 472.5 MB, free: 6.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01471/0.2691, allocations: 6.602 MB / 479.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001325/0.2693, allocations: 256.3 kB / 479.4 MB, free: 15.09 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.00179/0.2711, allocations: 1.195 MB / 480.6 MB, free: 13.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.2713, allocations: 49.7 kB / 480.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007689/0.272, allocations: 0.9153 MB / 481.5 MB, free: 12.9 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004219/0.2725, allocations: 406.3 kB / 481.9 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004399/0.2729, allocations: 254.7 kB / 482.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.2731, allocations: 353.9 kB / 482.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/0.2747, allocations: 0.7093 MB / 483.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.2764, allocations: 1.085 MB / 484.3 MB, free: 9.941 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009137/0.2855, allocations: 3.57 MB / 487.9 MB, free: 6.215 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/0.2856, allocations: 4 kB / 487.9 MB, free: 6.211 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004731/0.2903, allocations: 2.515 MB / 490.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.102e-05/0.2904, allocations: 37.7 kB / 490.5 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.772e-05/0.2904, allocations: 8 kB / 490.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.2917, allocations: 0.504 MB / 491 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001245/0.2929, allocations: 295.5 kB / 491.3 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008584/0.3015, allocations: 8.805 MB / 0.4883 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.303, allocations: 131.9 kB / 0.4885 GB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/0.3031, allocations: 55.98 kB / 0.4885 GB, free: 9.238 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.002118/0.3053, allocations: 1.231 MB / 0.4897 GB, free: 8.008 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001391/0.3067, allocations: 1.062 MB / 0.4908 GB, free: 6.789 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008716/0.3154, allocations: 3.511 MB / 0.4942 GB, free: 3.113 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.039e-05/0.3154, allocations: 4 kB / 0.4942 GB, free: 3.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004269/0.3197, allocations: 2.468 MB / 0.4966 GB, free: 0.5938 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.762e-05/0.3198, allocations: 33.7 kB / 0.4966 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.3198, allocations: 12 kB / 0.4966 GB, free: 0.543 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.321, allocations: 0.4963 MB / 0.4971 GB, free: 32 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.3221, allocations: 283.5 kB / 0.4974 GB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008105/0.3302, allocations: 8.795 MB / 0.506 GB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.3317, allocations: 131.9 kB / 0.5061 GB, free: 6.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.3318, allocations: 59.98 kB / 0.5062 GB, free: 6.211 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.0004367/0.3322, allocations: 304.1 kB / 0.5065 GB, free: 5.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002276/0.3325, allocations: 134.4 kB / 0.5066 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004007/0.3365, allocations: 2.187 MB / 0.5087 GB, free: 3.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.3365, allocations: 12 kB / 0.5087 GB, free: 3.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.3365, allocations: 4 kB / 0.5087 GB, free: 3.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.3365, allocations: 7.922 kB / 0.5087 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1638/0.5004, allocations: 4.59 MB / 0.5132 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/0.5004, allocations: 2.969 kB / 0.5132 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009217/0.5013, allocations: 196.1 kB / 0.5134 GB, free: 84.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.5027, allocations: 0.5259 MB / 0.5139 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/0.5029, allocations: 38 kB / 0.514 GB, free: 84.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006277/0.5092, allocations: 8.606 MB / 0.5224 GB, free: 78.56 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5092, allocations: 12.62 kB / 0.5224 GB, free: 78.56 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004595/0.5138, allocations: 3.22 MB / 0.5255 GB, free: 77.2 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006289/0.5145, allocations: 360.5 kB / 0.5259 GB, free: 77.03 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.5147, allocations: 32.59 kB / 0.5259 GB, free: 77.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00093/0.5156, allocations: 105.9 kB / 0.526 GB, free: 76.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/0.5159, allocations: 109.4 kB / 0.5261 GB, free: 76.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.402e-05/0.516, allocations: 43.09 kB / 0.5262 GB, free: 76.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009498/0.5169, allocations: 0.7998 MB / 0.5269 GB, free: 76.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5169, allocations: 0 / 0.5269 GB, free: 76.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002126/0.5191, allocations: 0.7416 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.0003023/0.5194, allocations: 186.7 kB / 0.5278 GB, free: 76.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01319/0.5326, allocations: 7.54 MB / 0.5352 GB, free: 72.12 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.697e-06/0.5326, allocations: 3.219 kB / 0.5352 GB, free: 72.12 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005531/0.5382, allocations: 3.05 MB / 0.5382 GB, free: 69.52 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001935/0.5401, allocations: 387.8 kB / 0.5386 GB, free: 69.24 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005618/0.5458, allocations: 5.015 MB / 0.5435 GB, free: 64.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/0.5466, allocations: 1.687 MB / 0.5451 GB, free: 62.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003823/0.547, allocations: 103.4 kB / 0.5452 GB, free: 62.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.21e-07/0.547, allocations: 3.938 kB / 0.5452 GB, free: 62.56 MB / 382.1 MB Notification: Performance of Templates: time 0.05319/0.6002, allocations: 72.28 MB / 0.6158 GB, free: 6.273 MB / 398.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile make -j1 -f EHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_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_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_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1