Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001481/0.001481, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002045/0.002045, allocations: 195.3 kB / 16.14 MB, free: 6.695 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.468/1.468, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2081/0.2081, allocations: 8.019 MB / 298 MB, free: 2.457 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001223, allocations: 59.91 kB / 359.9 MB, free: 14.81 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1212/0.1224, allocations: 51.19 MB / 411.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01236/0.1349, allocations: 9.612 MB / 420.7 MB, free: 1.926 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2637/0.3986, allocations: 2.651 MB / 423.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002137/0.4008, allocations: 50.62 kB / 423.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001555/0.4024, allocations: 417.8 kB / 423.9 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.4049, allocations: 0.6011 MB / 424.5 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.4061, allocations: 499.1 kB / 424.9 MB, free: 36.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003375/0.4095, allocations: 2.915 MB / 427.9 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002033/0.4116, allocations: 1.951 MB / 429.8 MB, free: 35.76 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001527/0.4131, allocations: 1.026 MB / 430.8 MB, free: 35.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001579/0.4147, allocations: 1.37 MB / 432.2 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003611/0.4151, allocations: 202.1 kB / 432.4 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007712/0.4158, allocations: 303.5 kB / 432.7 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006047/0.4164, allocations: 0.7265 MB / 433.4 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.4176, allocations: 1.272 MB / 434.7 MB, free: 33.76 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002515/0.4201, allocations: 3.979 MB / 438.7 MB, free: 32.42 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.713e-06/0.4201, allocations: 0 / 438.7 MB, free: 32.42 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.4201, allocations: 3.219 kB / 438.7 MB, free: 32.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.67e-05/0.4202, allocations: 0 / 438.7 MB, free: 32.42 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.006168/0.4264, allocations: 2.89 MB / 441.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.689e-05/0.4264, allocations: 12.38 kB / 441.6 MB, free: 30.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008818/0.4273, allocations: 283.5 kB / 441.9 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002043/0.4294, allocations: 1.382 MB / 443.2 MB, free: 29.86 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.0002235/0.4296, allocations: 235.3 kB / 443.5 MB, free: 29.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002796/0.4299, allocations: 238.4 kB / 443.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004471/0.4344, allocations: 2.959 MB / 446.7 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/0.4345, allocations: 14.94 kB / 446.7 MB, free: 28.4 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000204/0.4347, allocations: 96.92 kB / 446.8 MB, free: 28.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.266e-05/0.4348, allocations: 107 kB / 446.9 MB, free: 28.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003676/0.4385, allocations: 2.381 MB / 449.3 MB, free: 27.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01219/0.4507, allocations: 8.792 MB / 458.1 MB, free: 22.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002438/0.4531, allocations: 1.634 MB / 459.7 MB, free: 22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00175/0.4549, allocations: 0.9713 MB / 460.7 MB, free: 21.69 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.4552, allocations: 118.3 kB / 460.8 MB, free: 21.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001328/0.4565, allocations: 0.777 MB / 461.5 MB, free: 21.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.766e-06/0.4565, allocations: 0 / 461.5 MB, free: 21.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01754/0.4741, allocations: 6.942 MB / 468.5 MB, free: 18.26 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001043/0.4742, allocations: 250.8 kB / 468.7 MB, free: 17.97 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.002385/0.4766, allocations: 1.235 MB / 470 MB, free: 17.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.4767, allocations: 47.39 kB / 470 MB, free: 17.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001364/0.4781, allocations: 1.012 MB / 471 MB, free: 16.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004907/0.4786, allocations: 418.4 kB / 471.4 MB, free: 16.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005296/0.4792, allocations: 264.9 kB / 471.7 MB, free: 16.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.576e-05/0.4792, allocations: 306.3 kB / 472 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.4807, allocations: 0.7166 MB / 472.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.4825, allocations: 1.132 MB / 473.8 MB, free: 14.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.4925, allocations: 3.606 MB / 477.4 MB, free: 13.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-05/0.4926, allocations: 2.75 kB / 477.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005271/0.4979, allocations: 2.572 MB / 480 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.586e-05/0.498, allocations: 40.05 kB / 480.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.704e-05/0.498, allocations: 11.59 kB / 480.1 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.4996, allocations: 0.5105 MB / 480.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.5009, allocations: 299.3 kB / 480.9 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006825/0.5077, allocations: 8.079 MB / 489 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.5098, allocations: 130.2 kB / 489.1 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003419/0.5102, allocations: 61.33 kB / 489.1 MB, free: 5.082 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.002781/0.5129, allocations: 1.284 MB / 490.4 MB, free: 4.043 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001154/0.5141, allocations: 1.108 MB / 491.5 MB, free: 2.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007821/0.5219, allocations: 3.541 MB / 495.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.426e-05/0.522, allocations: 4 kB / 495.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004952/0.5269, allocations: 2.521 MB / 497.6 MB, free: 12.49 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.762e-05/0.527, allocations: 45.77 kB / 497.6 MB, free: 12.44 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.527, allocations: 8 kB / 497.7 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001239/0.5283, allocations: 0.5078 MB / 498.2 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/0.5294, allocations: 291.5 kB / 498.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009047/0.5385, allocations: 8.071 MB / 0.4946 GB, free: 3.031 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/0.5407, allocations: 135.8 kB / 0.4948 GB, free: 2.898 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001846/0.5409, allocations: 63.98 kB / 0.4948 GB, free: 2.836 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.0006264/0.5415, allocations: 300.5 kB / 0.4951 GB, free: 2.539 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003393/0.5419, allocations: 142.3 kB / 0.4953 GB, free: 2.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/0.5461, allocations: 2.204 MB / 0.4974 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.29e-05/0.5461, allocations: 19.88 kB / 0.4974 GB, free: 136 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/0.5461, allocations: 4 kB / 0.4974 GB, free: 132 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.5461, allocations: 7.969 kB / 0.4974 GB, free: 124 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008518/0.5547, allocations: 4.756 MB / 0.5021 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.5547, allocations: 4 kB / 0.5021 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009832/0.5557, allocations: 196.2 kB / 0.5023 GB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001398/0.5571, allocations: 0.5214 MB / 0.5028 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001175/0.5573, allocations: 35.97 kB / 0.5028 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.565, allocations: 7.919 MB / 0.5106 GB, free: 2.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.565, allocations: 4 kB / 0.5106 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005832/0.5708, allocations: 3.256 MB / 0.5137 GB, free: 14.68 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009533/0.5718, allocations: 363.3 kB / 0.5141 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.5721, allocations: 32 kB / 0.5141 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009727/0.5731, allocations: 107.9 kB / 0.5142 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000314/0.5734, allocations: 108.7 kB / 0.5143 GB, free: 14.06 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.547e-05/0.5735, allocations: 39.98 kB / 0.5144 GB, free: 14.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001246/0.5747, allocations: 0.8185 MB / 0.5152 GB, free: 13.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5747, allocations: 4 kB / 0.5152 GB, free: 13.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00291/0.5777, allocations: 0.7812 MB / 0.5159 GB, free: 12.41 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.0003848/0.5781, allocations: 195.4 kB / 0.5161 GB, free: 12.21 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01097/0.589, allocations: 6.725 MB / 0.5227 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.5891, allocations: 8 kB / 0.5227 GB, free: 5.242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004714/0.5938, allocations: 2.845 MB / 0.5255 GB, free: 2.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00241/0.5963, allocations: 372.5 kB / 0.5258 GB, free: 1.934 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009228/0.6055, allocations: 5.465 MB / 0.5312 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001844/0.6074, allocations: 1.837 MB / 0.5329 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.609, allocations: 420 kB / 0.5334 GB, free: 10.11 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003113/0.6094, allocations: 99.42 kB / 0.5334 GB, free: 10.01 MB / 414.1 MB Notification: Performance of SimCode: time 1.182e-06/0.6094, allocations: 4 kB / 0.5334 GB, free: 10.01 MB / 414.1 MB Notification: Performance of Templates: time 0.06006/0.6694, allocations: 30.61 MB / 0.5633 GB, free: 11.72 MB / 446.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)