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.00119/0.00119, allocations: 97.5 kB / 16.24 MB, free: 6.375 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.001194/0.001194, allocations: 189.9 kB / 17.17 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04059/0.04059, allocations: 8.024 MB / 299 MB, free: 6.828 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001267, allocations: 63.89 kB / 361.2 MB, free: 8.582 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2085/0.2098, allocations: 51.2 MB / 412.4 MB, free: 26.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.008143/0.218, allocations: 9.668 MB / 422.1 MB, free: 16.46 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004879/0.2229, allocations: 2.692 MB / 424.8 MB, free: 13.76 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.2245, allocations: 55.75 kB / 424.8 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001323/0.2259, allocations: 496.3 kB / 425.3 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002022/0.2279, allocations: 0.683 MB / 426 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.229, allocations: 0.5306 MB / 426.5 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002508/0.2315, allocations: 2.639 MB / 429.2 MB, free: 9.352 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002138/0.2337, allocations: 2.304 MB / 431.5 MB, free: 6.984 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001448/0.2351, allocations: 1.176 MB / 432.7 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001483/0.2366, allocations: 1.432 MB / 434.1 MB, free: 4.367 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00042/0.2371, allocations: 336 kB / 434.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006726/0.2377, allocations: 419.8 kB / 434.8 MB, free: 3.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006146/0.2384, allocations: 0.8649 MB / 435.7 MB, free: 2.762 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002029/0.2404, allocations: 1.416 MB / 437.1 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004511/0.2449, allocations: 4.077 MB / 441.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.245, allocations: 0 / 441.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.245, allocations: 0 / 441.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001054/0.2451, 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.00677/0.2519, allocations: 2.893 MB / 444.1 MB, free: 10.29 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.2519, allocations: 8.031 kB / 444.1 MB, free: 10.28 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008406/0.2528, allocations: 293.7 kB / 444.4 MB, free: 9.992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.2551, allocations: 1.369 MB / 445.7 MB, free: 8.578 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.0002634/0.2554, allocations: 243.9 kB / 446 MB, free: 8.324 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003814/0.2558, allocations: 235.9 kB / 446.2 MB, free: 8.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005631/0.2614, allocations: 2.961 MB / 449.2 MB, free: 5.039 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.974e-05/0.2615, allocations: 3.906 kB / 449.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.2618, allocations: 96 kB / 449.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.2619, allocations: 104.5 kB / 449.4 MB, free: 4.836 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004155/0.266, allocations: 2.379 MB / 451.8 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01393/0.28, allocations: 8.811 MB / 460.6 MB, free: 9.371 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/0.2826, allocations: 1.624 MB / 462.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.2843, allocations: 0.9744 MB / 463.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002469/0.2846, allocations: 122 kB / 463.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001286/0.2859, allocations: 0.7812 MB / 464.1 MB, free: 5.758 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.926e-06/0.2859, allocations: 4 kB / 464.1 MB, free: 5.754 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01479/0.3007, allocations: 6.953 MB / 471 MB, free: 14.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.3009, allocations: 244.3 kB / 471.3 MB, free: 14.33 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.10177640614116878 / (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.10177640614116878 / (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.001863/0.3027, allocations: 1.232 MB / 472.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/0.3029, allocations: 57.62 kB / 472.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008433/0.3038, allocations: 1.016 MB / 473.6 MB, free: 11.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003958/0.3042, allocations: 414.1 kB / 474 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004312/0.3046, allocations: 263.4 kB / 474.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.3048, allocations: 305.1 kB / 474.5 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.306, allocations: 0.7192 MB / 475.2 MB, free: 10.29 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001504/0.3075, allocations: 1.131 MB / 476.4 MB, free: 8.988 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008817/0.3164, allocations: 3.615 MB / 480 MB, free: 5.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.3164, allocations: 8 kB / 480 MB, free: 5.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004684/0.3211, allocations: 2.568 MB / 482.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.374e-05/0.3212, allocations: 42.02 kB / 482.6 MB, free: 2.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.103e-05/0.3212, allocations: 11.94 kB / 482.6 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.3225, allocations: 0.5027 MB / 483.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001185/0.3237, allocations: 303.5 kB / 483.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008291/0.332, allocations: 8.806 MB / 492.2 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/0.3336, allocations: 135.9 kB / 492.4 MB, free: 8.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/0.3338, allocations: 55.98 kB / 492.4 MB, free: 8.156 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.002261/0.336, allocations: 1.285 MB / 493.7 MB, free: 6.871 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00141/0.3375, allocations: 1.103 MB / 494.8 MB, free: 5.598 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008226/0.3457, allocations: 3.56 MB / 498.4 MB, free: 1.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-05/0.3458, allocations: 7.938 kB / 498.4 MB, free: 1.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004255/0.35, allocations: 2.509 MB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.054e-05/0.3501, allocations: 38.02 kB / 0.4892 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/0.3501, allocations: 16 kB / 0.4892 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.3512, allocations: 0.5117 MB / 0.4897 GB, free: 14.71 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.3523, allocations: 291.5 kB / 0.49 GB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007689/0.36, allocations: 8.794 MB / 0.4986 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.3616, allocations: 131.9 kB / 0.4987 GB, free: 4.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/0.3618, allocations: 59.98 kB / 0.4987 GB, free: 4.898 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.0004675/0.3623, allocations: 300.2 kB / 0.499 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/0.3626, allocations: 146.3 kB / 0.4992 GB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003863/0.3665, allocations: 2.207 MB / 0.5013 GB, free: 2.203 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-05/0.3665, allocations: 15.94 kB / 0.5013 GB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.3665, allocations: 8 kB / 0.5013 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.3666, allocations: 11.97 kB / 0.5014 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1927/0.5593, allocations: 4.737 MB / 0.506 GB, free: 88.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.5593, allocations: 4.906 kB / 0.506 GB, free: 88.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008479/0.5602, allocations: 201.1 kB / 0.5062 GB, free: 88.56 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00125/0.5614, allocations: 0.5197 MB / 0.5067 GB, free: 88.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.863e-05/0.5615, allocations: 41.28 kB / 0.5067 GB, free: 88.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006311/0.5679, allocations: 8.624 MB / 0.5151 GB, free: 81.85 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.5679, allocations: 7.625 kB / 0.5152 GB, free: 81.85 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00481/0.5727, allocations: 3.264 MB / 0.5183 GB, free: 80.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.5734, allocations: 363.2 kB / 0.5187 GB, free: 80.27 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.5737, allocations: 35.52 kB / 0.5187 GB, free: 80.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009323/0.5746, allocations: 103 kB / 0.5188 GB, free: 80.24 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/0.5749, allocations: 117.1 kB / 0.5189 GB, free: 80.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.575, allocations: 38.97 kB / 0.519 GB, free: 80.2 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009977/0.576, allocations: 0.817 MB / 0.5198 GB, free: 79.86 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.576, allocations: 0 / 0.5198 GB, free: 79.86 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002274/0.5783, allocations: 0.7779 MB / 0.5205 GB, free: 79.8 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.0003343/0.5786, allocations: 205.6 kB / 0.5207 GB, free: 79.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.01206/0.5907, allocations: 7.202 MB / 0.5278 GB, free: 74.36 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.755e-06/0.5907, allocations: 0 / 0.5278 GB, free: 74.36 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005217/0.5959, allocations: 3.067 MB / 0.5308 GB, free: 71.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.5979, allocations: 390.5 kB / 0.5311 GB, free: 71.06 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005667/0.6035, allocations: 4.452 MB / 0.5355 GB, free: 66.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009458/0.6045, allocations: 1.757 MB / 0.5372 GB, free: 64.8 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003968/0.6049, allocations: 107.4 kB / 0.5373 GB, free: 64.69 MB / 382.1 MB Notification: Performance of SimCode: time 6.52e-07/0.6049, allocations: 0 / 0.5373 GB, free: 64.69 MB / 382.1 MB Notification: Performance of Templates: time 0.05956/0.6645, allocations: 78.97 MB / 0.6144 GB, free: 1.711 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