Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_main_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.001034/0.001034, allocations: 94.14 kB / 16.23 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 190.8 kB / 17.17 MB, free: 5.973 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.293/1.293, allocations: 222.9 MB / 240.8 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03882/0.03882, allocations: 8.038 MB / 299 MB, free: 6.891 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 60.14 kB / 361.2 MB, free: 8.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2069, allocations: 51.2 MB / 412.4 MB, free: 26.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.008153/0.2151, allocations: 9.679 MB / 422.1 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00475/0.2199, allocations: 2.688 MB / 424.8 MB, free: 13.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001316/0.2212, allocations: 55.75 kB / 424.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.2224, allocations: 0.4885 MB / 425.3 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.2243, allocations: 0.6752 MB / 426 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.2253, allocations: 0.5336 MB / 426.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002135/0.2275, allocations: 2.639 MB / 429.2 MB, free: 9.348 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001859/0.2293, allocations: 2.3 MB / 431.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001323/0.2307, allocations: 1.18 MB / 432.7 MB, free: 5.801 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.232, allocations: 1.432 MB / 434.1 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003577/0.2323, allocations: 336 kB / 434.4 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006349/0.233, allocations: 419.8 kB / 434.8 MB, free: 3.625 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006032/0.2336, allocations: 0.8688 MB / 435.7 MB, free: 2.754 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001144/0.2347, allocations: 1.416 MB / 437.1 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003502/0.2382, allocations: 4.074 MB / 441.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.335e-06/0.2383, allocations: 0 / 441.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2383, allocations: 0 / 441.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.533e-05/0.2384, allocations: 0 / 441.2 MB, free: 13.25 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: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.0065/0.2449, allocations: 2.897 MB / 444.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.245, allocations: 8.031 kB / 444.1 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007058/0.2457, allocations: 293.7 kB / 444.4 MB, free: 9.984 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002567/0.2482, allocations: 1.373 MB / 445.7 MB, free: 8.566 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.0002698/0.2485, allocations: 243.9 kB / 446 MB, free: 8.312 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003664/0.2489, allocations: 231.9 kB / 446.2 MB, free: 8.086 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005807/0.2547, allocations: 2.961 MB / 449.2 MB, free: 5.031 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.338e-05/0.2548, allocations: 7.906 kB / 449.2 MB, free: 5.023 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002289/0.2551, allocations: 96 kB / 449.3 MB, free: 4.93 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001503/0.2552, allocations: 112.5 kB / 449.4 MB, free: 4.816 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004863/0.2601, allocations: 2.372 MB / 451.8 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/0.2754, allocations: 8.807 MB / 460.6 MB, free: 9.363 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.2783, allocations: 1.631 MB / 462.2 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001809/0.2802, allocations: 0.9589 MB / 463.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002665/0.2805, allocations: 130 kB / 463.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001381/0.2819, allocations: 0.7811 MB / 464.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.807e-06/0.2819, allocations: 0 / 464.1 MB, free: 5.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01524/0.2971, allocations: 6.946 MB / 471 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.2973, allocations: 256.2 kB / 471.3 MB, free: 14.32 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.002397/0.2997, allocations: 1.234 MB / 472.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001886/0.2999, allocations: 45.7 kB / 472.5 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009172/0.3008, allocations: 1.02 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004025/0.3012, allocations: 418 kB / 474 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.3017, allocations: 259.4 kB / 474.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.3018, allocations: 309.1 kB / 474.5 MB, free: 11.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3031, allocations: 0.7192 MB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/0.3046, allocations: 1.127 MB / 476.4 MB, free: 8.984 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008934/0.3136, allocations: 3.623 MB / 480 MB, free: 5.191 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.406e-05/0.3136, allocations: 8 kB / 480 MB, free: 5.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004795/0.3184, allocations: 2.564 MB / 482.6 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.616e-05/0.3185, allocations: 41.73 kB / 482.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.913e-05/0.3186, allocations: 15.98 kB / 482.6 MB, free: 2.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3198, allocations: 0.4999 MB / 483.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.3211, allocations: 303.5 kB / 483.4 MB, free: 1.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008303/0.3294, allocations: 8.801 MB / 492.2 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/0.3311, allocations: 127.9 kB / 492.3 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002703/0.3314, allocations: 63.98 kB / 492.4 MB, free: 8.148 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002419/0.3338, allocations: 1.283 MB / 493.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001504/0.3353, allocations: 1.107 MB / 494.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008739/0.3441, allocations: 3.549 MB / 498.3 MB, free: 1.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.464e-05/0.3441, allocations: 4 kB / 498.3 MB, free: 1.867 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004638/0.3488, allocations: 2.521 MB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.727e-05/0.3488, allocations: 38.02 kB / 0.4892 GB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/0.3489, allocations: 12.16 kB / 0.4892 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001214/0.3501, allocations: 0.515 MB / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/0.3513, allocations: 295.5 kB / 0.49 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008445/0.3598, allocations: 8.789 MB / 0.4985 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001623/0.3614, allocations: 139.9 kB / 0.4987 GB, free: 4.945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002622/0.3617, allocations: 56 kB / 0.4987 GB, free: 4.891 MB / 382.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.000644/0.3624, allocations: 297.7 kB / 0.499 GB, free: 4.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.3628, allocations: 142.2 kB / 0.4991 GB, free: 4.449 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004268/0.3671, allocations: 2.207 MB / 0.5013 GB, free: 2.199 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.3672, allocations: 19.92 kB / 0.5013 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.72e-05/0.3672, allocations: 8 kB / 0.5013 GB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.3672, allocations: 3.984 kB / 0.5013 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1964/0.5636, allocations: 4.745 MB / 0.506 GB, free: 88.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.5636, allocations: 4.75 kB / 0.506 GB, free: 88.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008277/0.5645, allocations: 193.7 kB / 0.5062 GB, free: 88.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.5657, allocations: 0.5328 MB / 0.5067 GB, free: 88.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001094/0.5659, allocations: 37.47 kB / 0.5067 GB, free: 88.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006387/0.5723, allocations: 8.632 MB / 0.5151 GB, free: 81.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5723, allocations: 3.969 kB / 0.5151 GB, free: 81.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004627/0.5769, allocations: 3.25 MB / 0.5183 GB, free: 80.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007199/0.5777, allocations: 370.6 kB / 0.5187 GB, free: 80.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001833/0.5779, allocations: 31.66 kB / 0.5187 GB, free: 80.38 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009062/0.5788, allocations: 104.2 kB / 0.5188 GB, free: 80.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.579, allocations: 112.2 kB / 0.5189 GB, free: 80.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.892e-05/0.5791, allocations: 44.81 kB / 0.519 GB, free: 80.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009461/0.5801, allocations: 0.817 MB / 0.5198 GB, free: 79.99 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5801, allocations: 0 / 0.5198 GB, free: 79.99 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002228/0.5823, allocations: 0.7908 MB / 0.5205 GB, free: 79.92 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.0003183/0.5826, allocations: 193 kB / 0.5207 GB, free: 79.81 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01277/0.5954, allocations: 7.614 MB / 0.5281 GB, free: 74.06 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.5955, allocations: 0 / 0.5281 GB, free: 74.06 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005347/0.6008, allocations: 3.07 MB / 0.5311 GB, free: 71.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.6026, allocations: 392.9 kB / 0.5315 GB, free: 70.74 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00561/0.6083, allocations: 4.453 MB / 0.5359 GB, free: 66.28 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009463/0.6092, allocations: 1.757 MB / 0.5376 GB, free: 64.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004084/0.6096, allocations: 111.4 kB / 0.5377 GB, free: 64.38 MB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.6097, allocations: 0 / 0.5377 GB, free: 64.38 MB / 382.1 MB Notification: Performance of Templates: time 0.06356/0.6732, allocations: 78.97 MB / 0.6148 GB, free: 1.395 MB / 398.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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 OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_main_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_main_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_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1