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.04657/0.04657, allocations: 8.013 MB / 23.9 MB, free: 496 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.001016/0.001016, allocations: 115 kB / 26.47 MB, free: 3.469 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.001115/0.001115, allocations: 203.4 kB / 29.15 MB, free: 0.8047 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.344/1.344, allocations: 222.9 MB / 254.6 MB, free: 3.289 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01262/0.01262, allocations: 3.115 MB / 309.6 MB, free: 2.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 91.86 kB / 373.7 MB, free: 2.137 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2434, allocations: 51.98 MB / 425.7 MB, free: 21.6 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.wFollowing): time 0.008402/0.2519, allocations: 9.08 MB / 434.8 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005149/0.2571, allocations: 2.591 MB / 437.4 MB, free: 9.891 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001939/0.2591, allocations: 43.81 kB / 437.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.2605, allocations: 385.6 kB / 437.8 MB, free: 9.469 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001949/0.2624, allocations: 0.5827 MB / 438.4 MB, free: 8.883 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009457/0.2634, allocations: 451.5 kB / 438.8 MB, free: 8.441 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002462/0.2659, allocations: 2.472 MB / 441.3 MB, free: 5.961 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.2679, allocations: 2.053 MB / 443.3 MB, free: 3.844 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001517/0.2695, allocations: 1.098 MB / 444.4 MB, free: 2.742 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.2708, allocations: 1.358 MB / 445.8 MB, free: 1.379 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003072/0.2711, allocations: 300 kB / 446.1 MB, free: 1.086 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006092/0.2717, allocations: 395.8 kB / 446.5 MB, free: 0.6992 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006116/0.2724, allocations: 0.7832 MB / 447.3 MB, free: 15.91 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001339/0.2737, allocations: 1.291 MB / 448.6 MB, free: 14.62 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002888/0.2766, allocations: 3.087 MB / 451.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2766, allocations: 0 / 451.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2766, allocations: 0 / 451.6 MB, free: 11.52 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.805e-05/0.2767, allocations: 0 / 451.6 MB, free: 11.52 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.005803/0.2826, allocations: 2.709 MB / 454.3 MB, free: 8.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.2826, allocations: 8.031 kB / 454.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007416/0.2834, allocations: 266 kB / 454.6 MB, free: 8.477 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002001/0.2854, allocations: 1.29 MB / 455.9 MB, free: 7.141 MB / 318.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002713/0.2857, allocations: 228.5 kB / 456.1 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003063/0.286, allocations: 207.9 kB / 456.3 MB, free: 6.703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004604/0.2906, allocations: 2.719 MB / 459.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.175e-05/0.2907, allocations: 11.91 kB / 459.1 MB, free: 3.879 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001824/0.2909, allocations: 80 kB / 459.1 MB, free: 3.801 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.897e-05/0.291, allocations: 100 kB / 459.2 MB, free: 3.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003757/0.2947, allocations: 2.229 MB / 461.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01197/0.3067, allocations: 8.012 MB / 469.5 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002544/0.3093, allocations: 1.613 MB / 471.1 MB, free: 7.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001637/0.311, allocations: 0.9517 MB / 472 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002344/0.3112, allocations: 130 kB / 472.2 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001251/0.3125, allocations: 0.7772 MB / 472.9 MB, free: 5.617 MB / 334.1 MB Notification: Performance of pre-optimization done (n=103): time 3.246e-06/0.3125, allocations: 0 / 472.9 MB, free: 5.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=120): time 0.01392/0.3264, allocations: 6.65 MB / 479.6 MB, free: 14.83 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.3266, allocations: 244.3 kB / 479.8 MB, free: 14.53 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.001833/0.3284, allocations: 1.206 MB / 481 MB, free: 13.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001666/0.3286, allocations: 45.7 kB / 481.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007972/0.3294, allocations: 0.9309 MB / 482 MB, free: 12.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003964/0.3298, allocations: 406.2 kB / 482.4 MB, free: 11.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004256/0.3303, allocations: 255.4 kB / 482.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.3304, allocations: 369.9 kB / 483 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001181/0.3316, allocations: 0.7074 MB / 483.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001396/0.333, allocations: 1.1 MB / 484.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008546/0.3416, allocations: 3.602 MB / 488.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/0.3416, allocations: 0 / 488.4 MB, free: 5.562 MB / 350.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.00442/0.3461, allocations: 2.529 MB / 491 MB, free: 2.984 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.915e-05/0.3461, allocations: 37.64 kB / 491 MB, free: 2.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.982e-05/0.3462, allocations: 12 kB / 491 MB, free: 2.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001179/0.3473, allocations: 0.5041 MB / 491.5 MB, free: 2.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.3484, allocations: 303.4 kB / 491.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007775/0.3562, allocations: 8.803 MB / 0.4889 GB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.3578, allocations: 119.9 kB / 0.489 GB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.358, allocations: 59.98 kB / 0.4891 GB, free: 8.582 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.002124/0.3601, allocations: 1.239 MB / 0.4903 GB, free: 7.344 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00129/0.3614, allocations: 1.072 MB / 0.4913 GB, free: 6.117 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008147/0.3696, allocations: 3.532 MB / 0.4948 GB, free: 2.426 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.085e-05/0.3696, allocations: 0 / 0.4948 GB, free: 2.426 MB / 366.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.004113/0.3737, allocations: 2.478 MB / 0.4972 GB, free: 15.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.3738, allocations: 37.7 kB / 0.4972 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.3738, allocations: 16.31 kB / 0.4972 GB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.375, allocations: 0.4998 MB / 0.4977 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.376, allocations: 283.6 kB / 0.498 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007832/0.3838, allocations: 8.807 MB / 0.5066 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/0.3855, allocations: 143.8 kB / 0.5067 GB, free: 5.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.3857, allocations: 55.98 kB / 0.5068 GB, free: 5.488 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005108/0.3862, allocations: 302.3 kB / 0.5071 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002987/0.3865, allocations: 130.4 kB / 0.5072 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003825/0.3903, allocations: 2.203 MB / 0.5093 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/0.3904, allocations: 15.94 kB / 0.5094 GB, free: 2.793 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.3904, allocations: 8 kB / 0.5094 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.3904, allocations: 3.984 kB / 0.5094 GB, free: 2.781 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2033/0.5937, allocations: 4.621 MB / 0.5139 GB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-05/0.5938, allocations: 3.844 kB / 0.5139 GB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009211/0.5947, allocations: 201.3 kB / 0.5141 GB, free: 84.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00139/0.5961, allocations: 0.5178 MB / 0.5146 GB, free: 84.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000122/0.5962, allocations: 38.11 kB / 0.5146 GB, free: 84.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006474/0.6027, allocations: 8.629 MB / 0.523 GB, free: 78.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.6027, allocations: 7.875 kB / 0.5231 GB, free: 78.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004669/0.6074, allocations: 3.243 MB / 0.5262 GB, free: 76.92 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007408/0.6082, allocations: 363.3 kB / 0.5266 GB, free: 76.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000246/0.6084, allocations: 29.47 kB / 0.5266 GB, free: 76.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009997/0.6094, allocations: 108.9 kB / 0.5267 GB, free: 76.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002887/0.6097, allocations: 112.1 kB / 0.5268 GB, free: 76.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.653e-05/0.6098, allocations: 38.64 kB / 0.5268 GB, free: 76.68 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001064/0.6109, allocations: 0.8045 MB / 0.5276 GB, free: 76.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6109, allocations: 0 / 0.5276 GB, free: 76.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00227/0.6132, allocations: 0.7451 MB / 0.5284 GB, free: 76.27 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.0003239/0.6135, allocations: 189.6 kB / 0.5285 GB, free: 76.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01289/0.6264, allocations: 7.586 MB / 0.5359 GB, free: 71.43 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/0.6265, allocations: 0 / 0.5359 GB, free: 71.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005522/0.632, allocations: 3.057 MB / 0.5389 GB, free: 68.59 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/0.6339, allocations: 382.4 kB / 0.5393 GB, free: 68.31 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005792/0.6397, allocations: 5.086 MB / 0.5443 GB, free: 63.36 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009058/0.6407, allocations: 1.679 MB / 0.5459 GB, free: 61.65 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004385/0.6411, allocations: 107.4 kB / 0.546 GB, free: 61.54 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6411, allocations: 0 / 0.546 GB, free: 61.54 MB / 382.1 MB Notification: Performance of Templates: time 0.05455/0.6957, allocations: 72.77 MB / 0.6171 GB, free: 4.77 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++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_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