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.001305/0.001305, 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.001409/0.001408, allocations: 196 kB / 16.14 MB, free: 6.711 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.211/0.211, allocations: 8.323 MB / 298.3 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 67.89 kB / 360.3 MB, free: 14.46 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.113, allocations: 51.26 MB / 411.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01097/0.1241, allocations: 9.619 MB / 421.2 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1973/0.3214, allocations: 2.634 MB / 423.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.3233, allocations: 55.08 kB / 423.9 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001846/0.3251, allocations: 421.3 kB / 424.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.3278, allocations: 0.5996 MB / 424.9 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.3292, allocations: 488.2 kB / 425.4 MB, free: 37.05 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002687/0.3319, allocations: 2.921 MB / 428.3 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001865/0.3337, allocations: 1.943 MB / 430.2 MB, free: 35.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0013/0.3351, allocations: 1.027 MB / 431.3 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.3363, allocations: 1.37 MB / 432.6 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002874/0.3366, allocations: 201.4 kB / 432.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006259/0.3372, allocations: 299.9 kB / 433.1 MB, free: 34.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005778/0.3378, allocations: 0.7358 MB / 433.9 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.3389, allocations: 1.277 MB / 435.1 MB, free: 33.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00237/0.3413, allocations: 3.97 MB / 439.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3413, allocations: 3.219 kB / 439.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.3413, allocations: 0 / 439.1 MB, free: 32.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.234e-05/0.3414, allocations: 0 / 439.1 MB, free: 32.44 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.004911/0.3463, allocations: 2.9 MB / 442 MB, free: 30.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/0.3464, allocations: 8.875 kB / 442 MB, free: 30.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006798/0.347, allocations: 291.1 kB / 442.3 MB, free: 30.69 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/0.349, allocations: 1.369 MB / 443.7 MB, free: 29.88 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.0002435/0.3492, allocations: 243.9 kB / 443.9 MB, free: 29.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.3495, allocations: 235.6 kB / 444.1 MB, free: 29.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004252/0.3538, allocations: 2.962 MB / 447.1 MB, free: 28.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.385e-05/0.3538, allocations: 14.97 kB / 447.1 MB, free: 28.41 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001877/0.354, allocations: 96.73 kB / 447.2 MB, free: 28.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.471e-05/0.3541, allocations: 107.3 kB / 447.3 MB, free: 28.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.3577, allocations: 2.377 MB / 449.7 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/0.3688, allocations: 8.797 MB / 458.5 MB, free: 22.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.3712, allocations: 1.634 MB / 460.1 MB, free: 22.01 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001725/0.3729, allocations: 0.964 MB / 461.1 MB, free: 21.71 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002228/0.3732, allocations: 123.2 kB / 461.2 MB, free: 21.61 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001322/0.3745, allocations: 0.7834 MB / 462 MB, free: 21.28 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.3745, allocations: 0 / 462 MB, free: 21.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01616/0.3907, allocations: 6.943 MB / 468.9 MB, free: 18.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.078e-05/0.3908, allocations: 246.5 kB / 469.2 MB, free: 17.98 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.001918/0.3927, allocations: 1.237 MB / 470.4 MB, free: 17.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000108/0.3928, allocations: 53.45 kB / 470.5 MB, free: 17.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008296/0.3937, allocations: 1.01 MB / 471.5 MB, free: 16.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003249/0.394, allocations: 416.8 kB / 471.9 MB, free: 16.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000434/0.3944, allocations: 263.1 kB / 472.1 MB, free: 16.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.51e-05/0.3945, allocations: 303 kB / 472.4 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.3958, allocations: 0.7191 MB / 473.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001503/0.3973, allocations: 1.132 MB / 474.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009232/0.4065, allocations: 3.608 MB / 477.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.82e-05/0.4066, allocations: 2.75 kB / 477.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004616/0.4112, allocations: 2.576 MB / 480.5 MB, free: 12.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.4113, allocations: 39.17 kB / 480.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.808e-05/0.4113, allocations: 10.06 kB / 480.5 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.4127, allocations: 0.4972 MB / 481 MB, free: 12.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.4138, allocations: 298.9 kB / 481.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006469/0.4203, allocations: 8.082 MB / 489.4 MB, free: 5.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/0.4219, allocations: 133.9 kB / 489.5 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.422, allocations: 61.91 kB / 489.6 MB, free: 5.02 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.002547/0.4246, allocations: 1.29 MB / 490.9 MB, free: 3.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001171/0.4257, allocations: 1.107 MB / 492 MB, free: 2.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007898/0.4337, allocations: 3.541 MB / 495.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.349e-05/0.4337, allocations: 4 kB / 495.5 MB, free: 14.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00458/0.4383, allocations: 2.525 MB / 498.1 MB, free: 12.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.174e-05/0.4383, allocations: 33.7 kB / 498.1 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/0.4384, allocations: 12 kB / 498.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001195/0.4396, allocations: 0.5039 MB / 498.6 MB, free: 11.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.4407, allocations: 291.6 kB / 498.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00793/0.4487, allocations: 8.075 MB / 0.4951 GB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001773/0.4505, allocations: 143.6 kB / 0.4952 GB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.4506, allocations: 56 kB / 0.4953 GB, free: 2.566 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.0005882/0.4512, allocations: 306.2 kB / 0.4956 GB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002928/0.4515, allocations: 138.3 kB / 0.4957 GB, free: 2.125 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004245/0.4558, allocations: 2.209 MB / 0.4978 GB, free: 15.88 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/0.4558, allocations: 15.94 kB / 0.4979 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/0.4558, allocations: 7.984 kB / 0.4979 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.4558, allocations: 3.984 kB / 0.4979 GB, free: 15.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008154/0.464, allocations: 4.741 MB / 0.5025 GB, free: 10.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.464, allocations: 7.938 kB / 0.5025 GB, free: 10.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009107/0.4649, allocations: 208.2 kB / 0.5027 GB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001375/0.4663, allocations: 0.5153 MB / 0.5032 GB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.4664, allocations: 39.98 kB / 0.5033 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007608/0.474, allocations: 7.899 MB / 0.511 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4741, allocations: 8 kB / 0.511 GB, free: 1.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005822/0.4799, allocations: 3.259 MB / 0.5142 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008927/0.4808, allocations: 367.2 kB / 0.5145 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003122/0.4811, allocations: 35.94 kB / 0.5145 GB, free: 14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.4826, allocations: 103.9 kB / 0.5146 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003921/0.483, allocations: 112.7 kB / 0.5147 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001212/0.4831, allocations: 39.98 kB / 0.5148 GB, free: 13.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001696/0.4848, allocations: 0.8146 MB / 0.5156 GB, free: 12.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4848, allocations: 4 kB / 0.5156 GB, free: 12.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.004275/0.4891, allocations: 0.7852 MB / 0.5164 GB, free: 12.14 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.0005948/0.4897, allocations: 201.7 kB / 0.5165 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0147/0.5044, allocations: 6.725 MB / 0.5231 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.5045, allocations: 0 / 0.5231 GB, free: 4.98 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005426/0.5099, allocations: 2.843 MB / 0.5259 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005178/0.5151, allocations: 376.2 kB / 0.5262 GB, free: 1.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/0.5289, allocations: 5.474 MB / 0.5316 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002835/0.5318, allocations: 1.833 MB / 0.5334 GB, free: 10.26 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002511/0.5343, allocations: 427.9 kB / 0.5338 GB, free: 9.836 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005557/0.5349, allocations: 95.36 kB / 0.5339 GB, free: 9.742 MB / 414.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5349, allocations: 4 kB / 0.5339 GB, free: 9.738 MB / 414.1 MB Notification: Performance of Templates: time 0.05939/0.5943, allocations: 30.6 MB / 0.5638 GB, free: 11.45 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)