Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json 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/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-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) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008358/0.0008358, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008866/0.0008866, allocations: 182.9 kB / 16.92 MB, free: 6.672 MB / 14.72 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: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1743/0.1743, allocations: 8.022 MB / 300.1 MB, free: 3.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003121/0.0003121, allocations: 8 kB / 363.1 MB, free: 13.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.1072, allocations: 52.19 MB / 415.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.009465/0.1167, allocations: 9.07 MB / 424.3 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2108/0.3276, allocations: 2.62 MB / 426.9 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001191/0.3288, allocations: 51.22 kB / 427 MB, free: 35.29 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00108/0.3299, allocations: 411.5 kB / 427.4 MB, free: 35.26 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001797/0.3317, allocations: 0.5988 MB / 428 MB, free: 35.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001021/0.3327, allocations: 499 kB / 428.5 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002753/0.3355, allocations: 2.909 MB / 431.4 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3375, allocations: 1.927 MB / 433.3 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001311/0.3388, allocations: 0.8785 MB / 434.2 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001205/0.34, allocations: 1.175 MB / 435.4 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002129/0.3402, allocations: 132.2 kB / 435.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004896/0.3407, allocations: 238.1 kB / 435.7 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004577/0.3412, allocations: 0.6303 MB / 436.4 MB, free: 33.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009305/0.3421, allocations: 1.175 MB / 437.5 MB, free: 33.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002081/0.3442, allocations: 3.291 MB / 440.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3442, allocations: 0 / 440.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3443, allocations: 0 / 440.8 MB, free: 32.6 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.618e-05/0.3443, allocations: 0 / 440.8 MB, free: 32.6 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.004384/0.3487, allocations: 2.483 MB / 443.3 MB, free: 31.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.3488, allocations: 9.625 kB / 443.3 MB, free: 31.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006547/0.3494, allocations: 283.5 kB / 443.6 MB, free: 31.14 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00174/0.3512, allocations: 1.374 MB / 445 MB, free: 30.34 MB / 350.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.0002124/0.3514, allocations: 249.6 kB / 445.2 MB, free: 30.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002883/0.3517, allocations: 235.7 kB / 445.4 MB, free: 30.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.3559, allocations: 2.989 MB / 448.4 MB, free: 28.87 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.356, allocations: 7 kB / 448.4 MB, free: 28.86 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.3562, allocations: 99.97 kB / 448.5 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-05/0.3563, allocations: 107.9 kB / 448.6 MB, free: 28.78 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.36, allocations: 2.422 MB / 451.1 MB, free: 27.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01166/0.3717, allocations: 8.855 MB / 459.9 MB, free: 23.27 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002795/0.3745, allocations: 1.693 MB / 461.6 MB, free: 22.45 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.3764, allocations: 0.9867 MB / 462.6 MB, free: 22.15 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000241/0.3766, allocations: 124.9 kB / 462.7 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001479/0.3781, allocations: 0.8058 MB / 463.5 MB, free: 21.72 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.206e-06/0.3781, allocations: 0 / 463.5 MB, free: 21.72 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0158/0.394, allocations: 7.114 MB / 470.6 MB, free: 18.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.893e-05/0.3941, allocations: 255.4 kB / 470.9 MB, free: 18.39 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.001991/0.3961, allocations: 1.228 MB / 472.1 MB, free: 17.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001393/0.3962, allocations: 49.28 kB / 472.2 MB, free: 17.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008234/0.397, allocations: 1.009 MB / 473.2 MB, free: 17.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003264/0.3974, allocations: 419.3 kB / 473.6 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001736/0.3976, allocations: 117.3 kB / 473.7 MB, free: 16.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.264e-05/0.3976, allocations: 303.2 kB / 474 MB, free: 16.42 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.3989, allocations: 0.7303 MB / 474.7 MB, free: 16.17 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.4004, allocations: 1.153 MB / 475.9 MB, free: 15.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008829/0.4093, allocations: 3.697 MB / 479.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.609e-05/0.4093, allocations: 7.094 kB / 479.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004696/0.414, allocations: 2.618 MB / 482.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002321/0.4143, allocations: 446.9 kB / 482.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.4143, allocations: 11.72 kB / 482.6 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.4154, allocations: 0.498 MB / 483.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.4166, allocations: 317.3 kB / 483.4 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/0.4226, allocations: 8.1 MB / 491.5 MB, free: 4.68 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4243, allocations: 152.2 kB / 491.7 MB, free: 4.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/0.4244, allocations: 61.98 kB / 491.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.775e-06/0.4244, allocations: 2.75 kB / 491.8 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003534/0.428, allocations: 2.415 MB / 494.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.428, allocations: 8 kB / 494.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/0.429, allocations: 0.5008 MB / 494.7 MB, free: 1.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009439/0.4299, allocations: 303.5 kB / 495 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007015/0.4369, allocations: 8.081 MB / 0.4913 GB, free: 8.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001638/0.4386, allocations: 131.9 kB / 0.4914 GB, free: 8.762 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/0.4387, allocations: 59.98 kB / 0.4915 GB, free: 8.703 MB / 366.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * 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.001581/0.4403, allocations: 0.7712 MB / 0.4922 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003129/0.4407, allocations: 142.3 kB / 0.4923 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004046/0.4447, allocations: 2.255 MB / 0.4945 GB, free: 5.484 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.4447, allocations: 12 kB / 0.4946 GB, free: 5.473 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.4447, allocations: 7.938 kB / 0.4946 GB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.4448, allocations: 3.984 kB / 0.4946 GB, free: 5.461 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008263/0.453, allocations: 4.795 MB / 0.4992 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.4531, allocations: 4 kB / 0.4993 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008704/0.4539, allocations: 220.1 kB / 0.4995 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001322/0.4553, allocations: 0.5123 MB / 0.5 GB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.834e-05/0.4554, allocations: 35.98 kB / 0.5 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00771/0.4631, allocations: 7.914 MB / 0.5077 GB, free: 7.324 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.4631, allocations: 4 kB / 0.5077 GB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/0.4689, allocations: 3.322 MB / 0.511 GB, free: 3.902 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008883/0.4698, allocations: 375.2 kB / 0.5113 GB, free: 3.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/0.47, allocations: 35.98 kB / 0.5114 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009852/0.471, allocations: 123.9 kB / 0.5115 GB, free: 3.359 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003057/0.4713, allocations: 112.7 kB / 0.5116 GB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.095e-05/0.4714, allocations: 43.92 kB / 0.5116 GB, free: 3.207 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001251/0.4727, allocations: 0.8224 MB / 0.5124 GB, free: 2.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4727, allocations: 0 / 0.5124 GB, free: 2.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002888/0.4756, allocations: 0.7853 MB / 0.5132 GB, free: 1.594 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * 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.0003963/0.476, allocations: 194.9 kB / 0.5134 GB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01489/0.4909, allocations: 7.264 MB / 0.5205 GB, free: 9.895 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.364e-05/0.4909, allocations: 4 kB / 0.5205 GB, free: 9.891 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006742/0.4977, allocations: 3.096 MB / 0.5235 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002965/0.5007, allocations: 379.4 kB / 0.5239 GB, free: 6.324 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009001/0.5097, allocations: 5.538 MB / 0.5293 GB, free: 0.707 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.5112, allocations: 1.753 MB / 0.531 GB, free: 14.92 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005469/0.5118, allocations: 103.4 kB / 0.5311 GB, free: 14.82 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5118, allocations: 0 / 0.5311 GB, free: 14.82 MB / 414.1 MB Notification: Performance of Templates: time 0.2722/0.784, allocations: 78.66 MB / 0.6079 GB, free: 116.1 MB / 446.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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 OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1