Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_main_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_main_EHPTexamples.ElectricDrives.wFollowing") translateModel(EHPTexamples.ElectricDrives.wFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.6316/0.6316, allocations: 8.031 MB / 24.17 MB, free: 4.859 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.001557/0.001557, allocations: 112.2 kB / 26.75 MB, free: 3.059 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.002157/0.002157, allocations: 198.1 kB / 29.43 MB, free: 384 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.308/2.308, allocations: 222.9 MB / 254.9 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 1.475/1.475, allocations: 3.127 MB / 309.9 MB, free: 2.398 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002632/0.002633, allocations: 87.86 kB / 374.3 MB, free: 1.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2237, allocations: 51.97 MB / 426.2 MB, free: 21.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008555/0.2323, allocations: 9.124 MB / 435.3 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004544/0.2369, allocations: 2.63 MB / 438 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.2382, allocations: 47.81 kB / 438 MB, free: 9.598 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001161/0.2394, allocations: 476.5 kB / 438.5 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001706/0.2411, allocations: 0.652 MB / 439.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008959/0.242, allocations: 0.4961 MB / 439.6 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00185/0.2439, allocations: 2.472 MB / 442.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001568/0.2455, allocations: 2.057 MB / 444.2 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001165/0.2466, allocations: 1.094 MB / 445.3 MB, free: 2.281 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001999/0.2487, allocations: 1.323 MB / 446.6 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006422/0.2493, allocations: 300 kB / 446.9 MB, free: 0.6602 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001197/0.2505, allocations: 391.8 kB / 447.3 MB, free: 284 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009349/0.2515, allocations: 0.7831 MB / 448 MB, free: 15.49 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.2536, allocations: 1.295 MB / 449.3 MB, free: 14.19 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006878/0.2605, allocations: 3.692 MB / 453 MB, free: 10.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.153e-05/0.2605, allocations: 4 kB / 453 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.007e-06/0.2606, allocations: 0 / 453 MB, free: 10.48 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001641/0.2607, allocations: 0 / 453 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.01061/0.2714, allocations: 2.705 MB / 455.7 MB, free: 7.711 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.2714, allocations: 12.03 kB / 455.8 MB, free: 7.699 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001118/0.2726, allocations: 266 kB / 456 MB, free: 7.438 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003856/0.2764, allocations: 1.29 MB / 457.3 MB, free: 6.102 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.0004181/0.2769, allocations: 227.4 kB / 457.5 MB, free: 5.863 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/0.2774, allocations: 207.9 kB / 457.7 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006831/0.2843, allocations: 2.719 MB / 460.4 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.294e-05/0.2844, allocations: 7.906 kB / 460.5 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003107/0.2847, allocations: 80 kB / 460.5 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001351/0.2849, allocations: 100 kB / 460.6 MB, free: 2.66 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005248/0.2901, allocations: 2.229 MB / 462.9 MB, free: 424 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0199/0.3101, allocations: 8.004 MB / 470.9 MB, free: 8.168 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003276/0.3134, allocations: 1.621 MB / 472.5 MB, free: 6.477 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001949/0.3154, allocations: 0.9479 MB / 473.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002747/0.3157, allocations: 122.1 kB / 473.5 MB, free: 5.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.3171, allocations: 0.7811 MB / 474.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 4.378e-06/0.3172, allocations: 0 / 474.3 MB, free: 4.582 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01604/0.3332, allocations: 6.652 MB / 481 MB, free: 13.79 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000142/0.3334, allocations: 248.3 kB / 481.2 MB, free: 13.49 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.002346/0.3358, allocations: 1.199 MB / 482.4 MB, free: 12.28 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.3359, allocations: 53.7 kB / 482.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001174/0.3371, allocations: 0.927 MB / 483.4 MB, free: 11.28 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/0.3377, allocations: 410.2 kB / 483.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007441/0.3384, allocations: 255.4 kB / 484.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002757/0.3387, allocations: 369.8 kB / 484.4 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001616/0.3403, allocations: 0.7153 MB / 485.1 MB, free: 9.531 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.3422, allocations: 1.103 MB / 486.2 MB, free: 8.273 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009444/0.3517, allocations: 3.595 MB / 489.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.3517, allocations: 4 kB / 489.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004781/0.3565, allocations: 2.525 MB / 492.4 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.978e-05/0.3566, allocations: 33.7 kB / 492.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.771e-05/0.3566, allocations: 12 kB / 492.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00124/0.3579, allocations: 0.5079 MB / 492.9 MB, free: 1.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.359, allocations: 299.5 kB / 493.2 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009359/0.3684, allocations: 8.804 MB / 0.4902 GB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001508/0.3699, allocations: 127.9 kB / 0.4904 GB, free: 7.594 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002744/0.3702, allocations: 59.98 kB / 0.4904 GB, free: 7.535 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.00255/0.3728, allocations: 1.239 MB / 0.4916 GB, free: 6.297 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001573/0.3744, allocations: 1.072 MB / 0.4927 GB, free: 5.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009082/0.3835, allocations: 3.532 MB / 0.4961 GB, free: 1.375 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/0.3835, allocations: 4 kB / 0.4961 GB, free: 1.371 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004685/0.3882, allocations: 2.478 MB / 0.4985 GB, free: 14.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.523e-05/0.3883, allocations: 40.67 kB / 0.4986 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.3883, allocations: 12 kB / 0.4986 GB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001236/0.3896, allocations: 0.5076 MB / 0.4991 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/0.3906, allocations: 279.6 kB / 0.4994 GB, free: 13.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008644/0.3993, allocations: 8.802 MB / 0.508 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.4008, allocations: 135.8 kB / 0.5081 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.401, allocations: 59.98 kB / 0.5081 GB, free: 4.441 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.0005615/0.4016, allocations: 284.9 kB / 0.5084 GB, free: 4.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/0.402, allocations: 138.4 kB / 0.5085 GB, free: 4.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004197/0.4062, allocations: 2.203 MB / 0.5107 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.4062, allocations: 23.86 kB / 0.5107 GB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.4062, allocations: 8 kB / 0.5107 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.4063, allocations: 7.922 kB / 0.5107 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2251/0.6314, allocations: 4.619 MB / 0.5152 GB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.6314, allocations: 5.297 kB / 0.5153 GB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001423/0.6329, allocations: 201.2 kB / 0.5154 GB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.6351, allocations: 0.523 MB / 0.516 GB, free: 84.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002272/0.6353, allocations: 35.67 kB / 0.516 GB, free: 84.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009906/0.6452, allocations: 8.633 MB / 0.5244 GB, free: 78.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.6453, allocations: 7.391 kB / 0.5244 GB, free: 78.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007664/0.6529, allocations: 3.246 MB / 0.5276 GB, free: 76.65 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00134/0.6543, allocations: 356.3 kB / 0.5279 GB, free: 76.48 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003492/0.6547, allocations: 36.94 kB / 0.528 GB, free: 76.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.6562, allocations: 102.9 kB / 0.5281 GB, free: 76.44 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/0.6566, allocations: 111.6 kB / 0.5282 GB, free: 76.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/0.6567, allocations: 46.27 kB / 0.5282 GB, free: 76.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001584/0.6583, allocations: 0.799 MB / 0.529 GB, free: 76.07 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6583, allocations: 0 / 0.529 GB, free: 76.07 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003889/0.6622, allocations: 0.7477 MB / 0.5297 GB, free: 76 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.000475/0.6627, allocations: 185.6 kB / 0.5299 GB, free: 75.89 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01881/0.6816, allocations: 7.579 MB / 0.5373 GB, free: 70.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.281e-05/0.6816, allocations: 0 / 0.5373 GB, free: 70.72 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0082/0.6898, allocations: 3.057 MB / 0.5403 GB, free: 67.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.693, allocations: 376.3 kB / 0.5407 GB, free: 67.46 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007951/0.701, allocations: 4.22 MB / 0.5448 GB, free: 63.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.7026, allocations: 1.69 MB / 0.5464 GB, free: 61.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005188/0.7031, allocations: 103.4 kB / 0.5465 GB, free: 61.41 MB / 382.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7031, allocations: 0 / 0.5465 GB, free: 61.41 MB / 382.1 MB Notification: Performance of Templates: time 0.1407/0.8438, allocations: 72.78 MB / 0.6176 GB, free: 4.629 MB / 398.1 MB make -j1 -f EHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.makefile make -j1 -f EHPTexamples_main_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_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1166:30: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:47: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:46: error: use of undeclared identifier '_algLoopLinearSolver100'; did you mean '_algLoopLinearSolver130'? bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1169:5: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->getReal(algloop100Vars); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1173:10: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->evaluate(); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1181:16: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_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_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_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_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1168:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_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_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1167:30: note: 'conditions0100' declared here bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1193:13: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1206:18: error: use of undeclared identifier '_algLoop100'; did you mean '_algLoop130'? _algLoop100->setReal(algloop100Vars ); ^~~~~~~~~~~ _algLoop130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:991:10: note: '_algLoop130' declared here _algLoop130; ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1207:18: error: use of undeclared identifier '_algLoopNonLinearSolver100'; did you mean '_algLoopLinearSolver130'? _algLoopNonLinearSolver100->solve(); ^~~~~~~~~~~~~~~~~~~~~~~~~~ _algLoopLinearSolver130 ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowing.h:937:14: note: '_algLoopLinearSolver130' declared here _algLoopLinearSolver130; ///< Solver for algebraic loop */ ^ In file included from OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1223:30: error: use of undeclared identifier '_algLoopLinearSolver103' double* algloop103Vars = _algLoopLinearSolver103->getVariableWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1224:47: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions0103 = _algLoopLinearSolver103->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1225:46: error: use of undeclared identifier '_algLoopLinearSolver103' bool* conditions1103 = _algLoopLinearSolver103->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1226:5: error: use of undeclared identifier '_algLoop103' _algLoop103->getReal(algloop103Vars); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1230:10: error: use of undeclared identifier '_algLoop103' _algLoop103->evaluate(); ^ ./OMCppEHPTexamples_main_EHPTexamples.ElectricDrives.wFollowingInitialize.cpp:1238:16: error: use of undeclared identifier '_algLoopNonLinearSolver103' _algLoopNonLinearSolver103->solve(); ^ ./OMCppEHPTexamples_main_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_main_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_main_EHPTexamples.ElectricDrives.wFollowingCalcHelperMain.o] Error 1