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.006775/0.006775, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001515/0.001515, allocations: 191.6 kB / 16.79 MB, free: 6.254 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.274/1.274, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1526/0.1526, allocations: 8.026 MB / 298.6 MB, free: 2.469 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 55.91 kB / 360.6 MB, free: 14.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 51.19 MB / 411.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01039/0.1153, allocations: 9.623 MB / 421.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.198/0.3133, allocations: 2.648 MB / 424.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002028/0.3154, allocations: 48.53 kB / 424.1 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001288/0.3168, allocations: 414.2 kB / 424.5 MB, free: 36.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00218/0.319, allocations: 0.5992 MB / 425.1 MB, free: 36.46 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.32, allocations: 489.5 kB / 425.6 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002579/0.3226, allocations: 2.92 MB / 428.5 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.3243, allocations: 1.943 MB / 430.4 MB, free: 35.85 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00124/0.3256, allocations: 1.032 MB / 431.5 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001337/0.3269, allocations: 1.369 MB / 432.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.3272, allocations: 202.2 kB / 433 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005755/0.3278, allocations: 297.5 kB / 433.3 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005012/0.3283, allocations: 0.7349 MB / 434.1 MB, free: 34.6 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001019/0.3294, allocations: 1.274 MB / 435.3 MB, free: 33.81 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001919/0.3313, allocations: 3.384 MB / 438.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3313, allocations: 0 / 438.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3313, allocations: 0 / 438.7 MB, free: 32.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.594e-05/0.3314, allocations: 0 / 438.7 MB, free: 32.86 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.00457/0.336, allocations: 2.904 MB / 441.6 MB, free: 31.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.336, allocations: 9.094 kB / 441.6 MB, free: 31.23 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000596/0.3366, allocations: 285 kB / 441.9 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001625/0.3382, allocations: 1.37 MB / 443.3 MB, free: 30.3 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.0001894/0.3384, allocations: 247.8 kB / 443.5 MB, free: 30.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002549/0.3387, allocations: 236.1 kB / 443.8 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004056/0.3428, allocations: 2.962 MB / 446.7 MB, free: 28.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.795e-05/0.3428, allocations: 3.906 kB / 446.7 MB, free: 28.83 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.343, allocations: 100.7 kB / 446.8 MB, free: 28.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001112/0.3432, allocations: 102.9 kB / 446.9 MB, free: 28.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003403/0.3466, allocations: 2.381 MB / 449.3 MB, free: 27.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01095/0.3575, allocations: 8.802 MB / 458.1 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.3597, allocations: 1.628 MB / 459.7 MB, free: 22.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/0.3612, allocations: 0.9661 MB / 460.7 MB, free: 22.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.3615, allocations: 123.2 kB / 460.8 MB, free: 22.04 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001237/0.3627, allocations: 0.7824 MB / 461.6 MB, free: 21.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.505e-06/0.3627, allocations: 1.25 kB / 461.6 MB, free: 21.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01409/0.3768, allocations: 6.936 MB / 468.5 MB, free: 18.69 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.3769, allocations: 247 kB / 468.8 MB, free: 18.41 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.001645/0.3786, allocations: 1.233 MB / 470 MB, free: 17.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.901e-05/0.3787, allocations: 56.19 kB / 470.1 MB, free: 17.86 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006719/0.3794, allocations: 1.011 MB / 471.1 MB, free: 17.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002583/0.3796, allocations: 420.4 kB / 471.5 MB, free: 16.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/0.38, allocations: 264 kB / 471.8 MB, free: 16.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.681e-05/0.3801, allocations: 302.8 kB / 472 MB, free: 16.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001154/0.3812, allocations: 0.7188 MB / 472.8 MB, free: 16.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.3826, allocations: 1.129 MB / 473.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008062/0.3906, allocations: 3.611 MB / 477.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/0.3907, allocations: 4 kB / 477.5 MB, free: 13.74 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.003998/0.3947, allocations: 2.572 MB / 480.1 MB, free: 12.65 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.446e-05/0.3947, allocations: 36.36 kB / 480.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.758e-05/0.3947, allocations: 15.33 kB / 480.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.3958, allocations: 0.4967 MB / 480.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009759/0.3968, allocations: 305.4 kB / 480.9 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005554/0.4023, allocations: 8.083 MB / 489 MB, free: 5.668 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/0.4037, allocations: 129.5 kB / 489.1 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.4038, allocations: 62.64 kB / 489.2 MB, free: 5.59 MB / 350.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.001964/0.4057, allocations: 1.286 MB / 490.5 MB, free: 4.621 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001024/0.4068, allocations: 1.102 MB / 491.6 MB, free: 3.352 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006794/0.4136, allocations: 3.541 MB / 495.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.664e-06/0.4136, allocations: 4 kB / 495.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003965/0.4176, allocations: 2.517 MB / 497.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.703e-05/0.4176, allocations: 44.34 kB / 497.7 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4176, allocations: 12.16 kB / 497.7 MB, free: 13.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/0.4187, allocations: 0.5082 MB / 498.2 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009846/0.4197, allocations: 295.5 kB / 498.5 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007119/0.4268, allocations: 8.068 MB / 0.4947 GB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.4282, allocations: 139.8 kB / 0.4948 GB, free: 3.484 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/0.4283, allocations: 63.98 kB / 0.4949 GB, free: 3.422 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.0004897/0.4288, allocations: 303.5 kB / 0.4952 GB, free: 3.121 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002351/0.4291, allocations: 142.2 kB / 0.4953 GB, free: 2.98 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003852/0.4329, allocations: 2.204 MB / 0.4975 GB, free: 0.7344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.4329, allocations: 15.94 kB / 0.4975 GB, free: 0.7188 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.433, allocations: 4 kB / 0.4975 GB, free: 0.7148 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.433, allocations: 7.969 kB / 0.4975 GB, free: 0.707 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007026/0.44, allocations: 4.748 MB / 0.5021 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.44, allocations: 4 kB / 0.5021 GB, free: 11.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008115/0.4408, allocations: 200.1 kB / 0.5023 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001261/0.4421, allocations: 0.5155 MB / 0.5028 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-05/0.4422, allocations: 39.97 kB / 0.5029 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007056/0.4493, allocations: 7.914 MB / 0.5106 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.4493, allocations: 15.94 kB / 0.5106 GB, free: 2.609 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00503/0.4544, allocations: 3.252 MB / 0.5138 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006259/0.455, allocations: 359.3 kB / 0.5141 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.4552, allocations: 31.98 kB / 0.5142 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008744/0.4561, allocations: 107.9 kB / 0.5143 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002494/0.4564, allocations: 108.7 kB / 0.5144 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.99e-05/0.4564, allocations: 47.91 kB / 0.5144 GB, free: 14.61 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001078/0.4575, allocations: 0.8146 MB / 0.5152 GB, free: 13.79 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4575, allocations: 0 / 0.5152 GB, free: 13.79 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002439/0.46, allocations: 0.7773 MB / 0.516 GB, free: 13.01 MB / 398.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.0003292/0.4603, allocations: 211.2 kB / 0.5162 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01364/0.474, allocations: 7.196 MB / 0.5232 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.474, allocations: 0 / 0.5232 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006158/0.4802, allocations: 3.062 MB / 0.5262 GB, free: 2.188 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/0.4823, allocations: 373.3 kB / 0.5265 GB, free: 1.828 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00813/0.4904, allocations: 5.404 MB / 0.5318 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.4919, allocations: 1.757 MB / 0.5335 GB, free: 10.56 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005428/0.4925, allocations: 111.4 kB / 0.5336 GB, free: 10.45 MB / 414.1 MB Notification: Performance of SimCode: time 6.51e-07/0.4925, allocations: 0 / 0.5336 GB, free: 10.45 MB / 414.1 MB Notification: Performance of Templates: time 0.2583/0.7508, allocations: 78.95 MB / 0.6107 GB, free: 115.3 MB / 446.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++14 NOTFOUND -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 clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppEHPTlib_main_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1