Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04492/0.04492, allocations: 8.026 MB / 24.19 MB, free: 4.816 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.001042/0.001042, allocations: 106.1 kB / 26.78 MB, free: 3.031 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.001163/0.001163, allocations: 195 kB / 29.47 MB, free: 356 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 222.9 MB / 254.9 MB, free: 4.805 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01337/0.01337, allocations: 3.122 MB / 310 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00186/0.00186, allocations: 87.86 kB / 374.3 MB, free: 1.969 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1871, allocations: 51.98 MB / 426.3 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008103/0.1952, allocations: 9.126 MB / 435.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004355/0.1996, allocations: 2.63 MB / 438.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008853/0.2005, allocations: 43.81 kB / 438.1 MB, free: 9.594 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.2015, allocations: 472.5 kB / 438.6 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001475/0.203, allocations: 0.6521 MB / 439.2 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.204, allocations: 0.4953 MB / 439.7 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001752/0.2058, allocations: 2.472 MB / 442.2 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001688/0.2075, allocations: 2.053 MB / 444.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009363/0.2084, allocations: 1.086 MB / 445.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001092/0.2095, allocations: 1.335 MB / 446.7 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003593/0.2099, allocations: 300 kB / 447 MB, free: 0.6562 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005806/0.2105, allocations: 395.8 kB / 447.3 MB, free: 276 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006782/0.2112, allocations: 0.7832 MB / 448.1 MB, free: 15.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.2124, allocations: 1.295 MB / 449.4 MB, free: 14.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003142/0.2155, allocations: 3.688 MB / 453.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.2155, allocations: 0 / 453.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.2155, allocations: 0 / 453.1 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.454e-05/0.2156, allocations: 0 / 453.1 MB, free: 10.48 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.005513/0.2211, allocations: 2.716 MB / 455.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.2211, allocations: 8.031 kB / 455.8 MB, free: 7.691 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007245/0.2219, allocations: 266 kB / 456.1 MB, free: 7.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002057/0.224, allocations: 1.29 MB / 457.4 MB, free: 6.094 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.0002493/0.2243, allocations: 219.4 kB / 457.6 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003045/0.2246, allocations: 211.9 kB / 457.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.2291, allocations: 2.715 MB / 460.5 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.049e-05/0.2292, allocations: 7.906 kB / 460.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002511/0.2294, allocations: 91.98 kB / 460.6 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001017/0.2295, allocations: 100 kB / 460.7 MB, free: 2.648 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004054/0.2336, allocations: 2.221 MB / 462.9 MB, free: 420 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.2459, allocations: 8.012 MB / 470.9 MB, free: 8.156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002832/0.2488, allocations: 1.611 MB / 472.6 MB, free: 6.48 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001817/0.2506, allocations: 0.9529 MB / 473.5 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000249/0.2509, allocations: 126 kB / 473.6 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/0.2523, allocations: 0.785 MB / 474.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 2.805e-06/0.2523, allocations: 0 / 474.4 MB, free: 4.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.0153/0.2676, allocations: 6.651 MB / 481.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.2678, allocations: 248.3 kB / 481.3 MB, free: 13.48 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.001728/0.2695, allocations: 1.203 MB / 482.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.2696, allocations: 49.7 kB / 482.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007552/0.2704, allocations: 0.927 MB / 483.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003257/0.2707, allocations: 410.2 kB / 483.9 MB, free: 10.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004537/0.2712, allocations: 255.4 kB / 484.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.2713, allocations: 361.9 kB / 484.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.2726, allocations: 0.7153 MB / 485.2 MB, free: 9.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.2742, allocations: 1.1 MB / 486.3 MB, free: 8.277 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009372/0.2836, allocations: 3.598 MB / 489.9 MB, free: 4.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.388e-06/0.2836, allocations: 4 kB / 489.9 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004619/0.2883, allocations: 2.525 MB / 492.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.482e-05/0.2883, allocations: 41.69 kB / 492.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.201e-05/0.2884, allocations: 12.25 kB / 492.5 MB, free: 1.883 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.2896, allocations: 0.5038 MB / 493 MB, free: 1.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.2908, allocations: 303.5 kB / 493.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008321/0.2991, allocations: 8.804 MB / 0.4903 GB, free: 7.711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/0.3007, allocations: 123.9 kB / 0.4904 GB, free: 7.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.3008, allocations: 59.98 kB / 0.4905 GB, free: 7.531 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.002146/0.303, allocations: 1.227 MB / 0.4917 GB, free: 6.301 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001481/0.3045, allocations: 1.076 MB / 0.4928 GB, free: 5.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008752/0.3132, allocations: 3.532 MB / 0.4962 GB, free: 1.379 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.035e-06/0.3133, allocations: 4 kB / 0.4962 GB, free: 1.375 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004423/0.3177, allocations: 2.482 MB / 0.4986 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.273e-05/0.3177, allocations: 35.89 kB / 0.4987 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.3178, allocations: 12 kB / 0.4987 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.319, allocations: 0.5039 MB / 0.4992 GB, free: 14.27 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.3201, allocations: 287.6 kB / 0.4994 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008363/0.3285, allocations: 8.791 MB / 0.508 GB, free: 4.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.3299, allocations: 139.8 kB / 0.5082 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.954e-05/0.33, allocations: 63.98 kB / 0.5082 GB, free: 4.445 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.0004139/0.3305, allocations: 304.4 kB / 0.5085 GB, free: 4.141 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002273/0.3307, allocations: 134.4 kB / 0.5086 GB, free: 4.008 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004189/0.3349, allocations: 2.203 MB / 0.5108 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.27e-05/0.3349, allocations: 15.94 kB / 0.5108 GB, free: 1.742 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.3349, allocations: 4 kB / 0.5108 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.179e-05/0.3349, allocations: 3.984 kB / 0.5108 GB, free: 1.734 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1676/0.5025, allocations: 4.624 MB / 0.5153 GB, free: 85.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5026, allocations: 4.984 kB / 0.5153 GB, free: 85.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009435/0.5035, allocations: 203.8 kB / 0.5155 GB, free: 85.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001358/0.5049, allocations: 0.5155 MB / 0.516 GB, free: 85.05 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.568e-05/0.505, allocations: 39.28 kB / 0.5161 GB, free: 85.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006504/0.5115, allocations: 8.631 MB / 0.5245 GB, free: 78.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.5116, allocations: 3.969 kB / 0.5245 GB, free: 78.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005092/0.5167, allocations: 3.242 MB / 0.5277 GB, free: 76.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/0.5173, allocations: 355.9 kB / 0.528 GB, free: 76.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002157/0.5176, allocations: 40.17 kB / 0.528 GB, free: 76.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.5186, allocations: 97.67 kB / 0.5281 GB, free: 76.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002506/0.5188, allocations: 116.3 kB / 0.5283 GB, free: 76.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.447e-05/0.5189, allocations: 42.09 kB / 0.5283 GB, free: 76.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001063/0.52, allocations: 0.7994 MB / 0.5291 GB, free: 76.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.52, allocations: 0 / 0.5291 GB, free: 76.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002182/0.5222, allocations: 0.7458 MB / 0.5298 GB, free: 76.3 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.0002851/0.5225, allocations: 195.4 kB / 0.53 GB, free: 76.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01352/0.536, allocations: 7.583 MB / 0.5374 GB, free: 71.09 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.536, allocations: 0 / 0.5374 GB, free: 71.09 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005505/0.5415, allocations: 3.063 MB / 0.5404 GB, free: 68.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001833/0.5434, allocations: 381.5 kB / 0.5407 GB, free: 67.9 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005353/0.5488, allocations: 4.213 MB / 0.5449 GB, free: 63.67 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009271/0.5497, allocations: 1.683 MB / 0.5465 GB, free: 61.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003632/0.5501, allocations: 111.4 kB / 0.5466 GB, free: 61.84 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.5501, allocations: 4 kB / 0.5466 GB, free: 61.84 MB / 382.1 MB Notification: Performance of Templates: time 0.05548/0.6056, allocations: 72.76 MB / 0.6177 GB, free: 5.074 MB / 398.1 MB make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1166:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1173:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1181:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:59: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1189:88: error: use of undeclared identifier '_conditions0100'; did you mean 'conditions0100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions0100 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1193:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1206:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1207:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1223:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1224:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1230:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1238:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1246:42: error: use of undeclared identifier '_conditions1103'; did you mean 'conditions1103'? restart103 = !std::equal (_conditions1103, _conditions1103+_dimZeroFunc,_conditions0103); ^~~~~~~~~~~~~~~ conditions1103 ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:29: note: 'conditions1103' declared here bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1