Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001628/0.001628, allocations: 196.5 kB / 16.53 MB, free: 6.664 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.376/1.376, allocations: 222.9 MB / 240.2 MB, free: 4.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.163/0.163, allocations: 8.03 MB / 298.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 59.91 kB / 360.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.108, allocations: 51.19 MB / 411.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01082/0.1188, allocations: 9.682 MB / 421.5 MB, free: 1.312 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2383/0.3572, allocations: 2.686 MB / 424.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001633/0.3589, allocations: 55.72 kB / 424.2 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.3605, allocations: 0.4905 MB / 424.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002494/0.363, allocations: 0.6725 MB / 425.4 MB, free: 36.76 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001285/0.3643, allocations: 0.5381 MB / 425.9 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003103/0.3674, allocations: 2.638 MB / 428.6 MB, free: 36.34 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002579/0.37, allocations: 2.294 MB / 430.9 MB, free: 35.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002604/0.3726, allocations: 1.181 MB / 432 MB, free: 35.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003194/0.3758, allocations: 1.431 MB / 433.5 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007606/0.3766, allocations: 334.9 kB / 433.8 MB, free: 34.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.3777, allocations: 424.8 kB / 434.2 MB, free: 34.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006611/0.3783, allocations: 0.8649 MB / 435.1 MB, free: 33.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001724/0.3801, allocations: 1.417 MB / 436.5 MB, free: 32.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003751/0.3838, allocations: 4.076 MB / 440.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3839, allocations: 3.281 kB / 440.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.3839, allocations: 0 / 440.6 MB, free: 31.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.551e-05/0.384, allocations: 0 / 440.6 MB, free: 31.5 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.006028/0.39, allocations: 2.9 MB / 443.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/0.3901, allocations: 11.78 kB / 443.5 MB, free: 29.88 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007779/0.3909, allocations: 283.3 kB / 443.8 MB, free: 29.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/0.393, allocations: 1.372 MB / 445.1 MB, free: 28.94 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.0002389/0.3933, allocations: 249.6 kB / 445.4 MB, free: 28.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.3936, allocations: 233.2 kB / 445.6 MB, free: 28.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004391/0.398, allocations: 2.964 MB / 448.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-05/0.398, allocations: 7.125 kB / 448.6 MB, free: 27.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.3982, allocations: 95.3 kB / 448.7 MB, free: 27.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.3984, allocations: 108.4 kB / 448.8 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003759/0.4021, allocations: 2.377 MB / 451.2 MB, free: 26.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01218/0.4143, allocations: 8.802 MB / 460 MB, free: 21.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002642/0.417, allocations: 1.632 MB / 461.6 MB, free: 21.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/0.4188, allocations: 0.9649 MB / 462.6 MB, free: 20.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002214/0.4191, allocations: 120.4 kB / 462.7 MB, free: 20.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/0.4204, allocations: 0.7849 MB / 463.5 MB, free: 20.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.856e-06/0.4205, allocations: 0 / 463.5 MB, free: 20.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01661/0.4371, allocations: 6.945 MB / 470.4 MB, free: 17.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/0.4372, allocations: 251.2 kB / 470.7 MB, free: 17.04 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.002416/0.4397, allocations: 1.23 MB / 471.9 MB, free: 16.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.4398, allocations: 54.8 kB / 471.9 MB, free: 16.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/0.4409, allocations: 1.008 MB / 472.9 MB, free: 15.72 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004937/0.4414, allocations: 418.1 kB / 473.3 MB, free: 15.41 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005702/0.442, allocations: 263.9 kB / 473.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.915e-05/0.4421, allocations: 301.9 kB / 473.9 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/0.4438, allocations: 0.7202 MB / 474.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002007/0.4458, allocations: 1.126 MB / 475.7 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/0.4555, allocations: 3.626 MB / 479.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.4555, allocations: 3.938 kB / 479.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005891/0.4614, allocations: 2.575 MB / 482 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.315e-05/0.4615, allocations: 39.89 kB / 482 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/0.4616, allocations: 9.938 kB / 482 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001281/0.4629, allocations: 0.5032 MB / 482.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.464, allocations: 306.3 kB / 482.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007108/0.4711, allocations: 8.804 MB / 491.6 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/0.4728, allocations: 127.9 kB / 491.7 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.473, allocations: 59.98 kB / 491.8 MB, free: 3.016 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.002186/0.4752, allocations: 1.286 MB / 493.1 MB, free: 1.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001119/0.4763, allocations: 1.111 MB / 494.2 MB, free: 464 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008086/0.4844, allocations: 3.559 MB / 497.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.027e-06/0.4844, allocations: 4 kB / 497.8 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004454/0.4889, allocations: 2.517 MB / 0.4885 GB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.885e-05/0.4889, allocations: 37.64 kB / 0.4886 GB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.858e-05/0.489, allocations: 12 kB / 0.4886 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001085/0.4901, allocations: 0.504 MB / 0.4891 GB, free: 9.578 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.4911, allocations: 295.6 kB / 0.4894 GB, free: 9.289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007672/0.4988, allocations: 8.791 MB / 0.4979 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5006, allocations: 131.8 kB / 0.4981 GB, free: 15.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.5008, allocations: 63.98 kB / 0.4981 GB, free: 15.77 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.0005928/0.5014, allocations: 306.2 kB / 0.4984 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.5017, allocations: 138.3 kB / 0.4986 GB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/0.5057, allocations: 2.211 MB / 0.5007 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.127e-05/0.5057, allocations: 12 kB / 0.5007 GB, free: 13.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/0.5057, allocations: 7.938 kB / 0.5007 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.5057, allocations: 11.97 kB / 0.5007 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008353/0.5141, allocations: 4.738 MB / 0.5054 GB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.5141, allocations: 4.469 kB / 0.5054 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008518/0.515, allocations: 207.6 kB / 0.5056 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001346/0.5164, allocations: 0.5261 MB / 0.5061 GB, free: 7.441 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/0.5165, allocations: 39.97 kB / 0.5061 GB, free: 7.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007888/0.5244, allocations: 8.624 MB / 0.5146 GB, free: 14.22 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.5244, allocations: 4 kB / 0.5146 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.5302, allocations: 3.258 MB / 0.5177 GB, free: 10.87 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000959/0.5312, allocations: 367.2 kB / 0.5181 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002325/0.5315, allocations: 39.98 kB / 0.5181 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/0.5325, allocations: 95.89 kB / 0.5182 GB, free: 10.36 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000311/0.5328, allocations: 116.7 kB / 0.5183 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.5329, allocations: 39.98 kB / 0.5184 GB, free: 10.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.5341, allocations: 0.8185 MB / 0.5192 GB, free: 9.379 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5341, allocations: 0 / 0.5192 GB, free: 9.379 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003435/0.5376, allocations: 0.7812 MB / 0.5199 GB, free: 8.598 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.0004341/0.538, allocations: 202 kB / 0.5201 GB, free: 8.391 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01207/0.5501, allocations: 7.155 MB / 0.5271 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.567e-05/0.5502, allocations: 0 / 0.5271 GB, free: 1.004 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005001/0.5552, allocations: 2.842 MB / 0.5299 GB, free: 14.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002563/0.5578, allocations: 394.7 kB / 0.5303 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008078/0.5659, allocations: 4.518 MB / 0.5347 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.5675, allocations: 1.833 MB / 0.5365 GB, free: 7.227 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00147/0.569, allocations: 423.9 kB / 0.5369 GB, free: 6.809 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.5693, allocations: 99.42 kB / 0.537 GB, free: 6.711 MB / 414.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5693, allocations: 0 / 0.537 GB, free: 6.711 MB / 414.1 MB Notification: Performance of Templates: time 0.05958/0.6289, allocations: 31.79 MB / 0.568 GB, free: 7.27 MB / 446.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)