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.00113/0.00113, allocations: 108 kB / 15.6 MB, free: 132 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.001246/0.001246, allocations: 194.3 kB / 16.53 MB, free: 6.391 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.352/1.352, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1713/0.1713, allocations: 8.032 MB / 298.4 MB, free: 2.387 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 63.89 kB / 360.6 MB, free: 14.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1192, allocations: 51.18 MB / 411.8 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01244/0.1316, allocations: 9.686 MB / 421.5 MB, free: 1.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2101/0.3417, allocations: 2.688 MB / 424.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.343, allocations: 54.75 kB / 424.2 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001243/0.3443, allocations: 0.4906 MB / 424.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.346, allocations: 0.6651 MB / 425.4 MB, free: 36.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.3471, allocations: 0.5449 MB / 425.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002089/0.3492, allocations: 2.643 MB / 428.6 MB, free: 36.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.3513, allocations: 2.285 MB / 430.9 MB, free: 35.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002162/0.3535, allocations: 1.182 MB / 432 MB, free: 35.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002043/0.3556, allocations: 1.433 MB / 433.5 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005177/0.3561, allocations: 333.5 kB / 433.8 MB, free: 34.37 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.3571, allocations: 426.7 kB / 434.2 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008325/0.3579, allocations: 0.8571 MB / 435.1 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001474/0.3594, allocations: 1.419 MB / 436.5 MB, free: 32.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003355/0.3628, allocations: 4.076 MB / 440.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.066e-06/0.3628, allocations: 0 / 440.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3628, allocations: 0 / 440.6 MB, free: 31.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.899e-05/0.3629, allocations: 0 / 440.6 MB, free: 31.53 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.006724/0.3696, allocations: 2.905 MB / 443.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3697, allocations: 6.594 kB / 443.5 MB, free: 29.91 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006484/0.3703, allocations: 288.2 kB / 443.8 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002086/0.3724, allocations: 1.369 MB / 445.1 MB, free: 28.97 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.0002328/0.3727, allocations: 242.3 kB / 445.4 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002613/0.373, allocations: 234.5 kB / 445.6 MB, free: 28.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004037/0.377, allocations: 2.97 MB / 448.6 MB, free: 27.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.473e-05/0.3771, allocations: 7.219 kB / 448.6 MB, free: 27.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.3773, allocations: 92.84 kB / 448.7 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.478e-05/0.3774, allocations: 117.1 kB / 448.8 MB, free: 27.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003393/0.3808, allocations: 2.372 MB / 451.2 MB, free: 26.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/0.3915, allocations: 8.794 MB / 460 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.394, allocations: 1.638 MB / 461.6 MB, free: 21.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001653/0.3956, allocations: 0.967 MB / 462.6 MB, free: 20.8 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002216/0.3959, allocations: 127.2 kB / 462.7 MB, free: 20.7 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.3972, allocations: 0.7809 MB / 463.5 MB, free: 20.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.405e-06/0.3972, allocations: 4 kB / 463.5 MB, free: 20.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01564/0.4128, allocations: 6.94 MB / 470.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.46e-05/0.413, allocations: 246.5 kB / 470.6 MB, free: 17.07 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.002/0.415, allocations: 1.236 MB / 471.9 MB, free: 16.57 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001291/0.4151, allocations: 52.84 kB / 471.9 MB, free: 16.52 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009984/0.4161, allocations: 1.012 MB / 472.9 MB, free: 15.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004395/0.4166, allocations: 417.4 kB / 473.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005103/0.4171, allocations: 262.9 kB / 473.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.4172, allocations: 303 kB / 473.9 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/0.4187, allocations: 0.7186 MB / 474.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.4204, allocations: 1.126 MB / 475.7 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008858/0.4293, allocations: 3.629 MB / 479.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-05/0.4293, allocations: 4.969 kB / 479.4 MB, free: 12.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005265/0.4346, allocations: 2.566 MB / 482 MB, free: 11.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.26e-05/0.4347, allocations: 40.03 kB / 482 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.4347, allocations: 10.03 kB / 482 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.4357, allocations: 0.5077 MB / 482.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.4368, allocations: 305 kB / 482.8 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006575/0.4434, allocations: 8.809 MB / 491.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.4451, allocations: 130 kB / 491.7 MB, free: 3.059 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/0.4452, allocations: 56 kB / 491.8 MB, free: 3.004 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.002025/0.4473, allocations: 1.282 MB / 493.1 MB, free: 1.723 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0011/0.4484, allocations: 1.103 MB / 494.2 MB, free: 460 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00796/0.4564, allocations: 3.563 MB / 497.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.065e-05/0.4564, allocations: 4 kB / 497.7 MB, free: 12.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004346/0.4607, allocations: 2.514 MB / 0.4885 GB, free: 10.15 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.001e-05/0.4608, allocations: 45.7 kB / 0.4886 GB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.4609, allocations: 12 kB / 0.4886 GB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.462, allocations: 0.496 MB / 0.4891 GB, free: 9.574 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.4631, allocations: 295.4 kB / 0.4894 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/0.4716, allocations: 8.801 MB / 0.498 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00228/0.4739, allocations: 135.8 kB / 0.4981 GB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001413/0.4741, allocations: 63.98 kB / 0.4981 GB, free: 15.75 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.0006251/0.4747, allocations: 303 kB / 0.4984 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.4751, allocations: 138.3 kB / 0.4986 GB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004148/0.4793, allocations: 2.207 MB / 0.5007 GB, free: 13.07 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.328e-05/0.4793, allocations: 16 kB / 0.5007 GB, free: 13.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.006e-05/0.4793, allocations: 7.938 kB / 0.5007 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.706e-05/0.4794, allocations: 7.969 kB / 0.5008 GB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.4876, allocations: 4.743 MB / 0.5054 GB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.4877, allocations: 8 kB / 0.5054 GB, free: 8.172 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008469/0.4885, allocations: 203.7 kB / 0.5056 GB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001272/0.4898, allocations: 0.5196 MB / 0.5061 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.559e-05/0.4899, allocations: 39.97 kB / 0.5061 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007757/0.4977, allocations: 8.632 MB / 0.5146 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4977, allocations: 4 kB / 0.5146 GB, free: 14.21 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005374/0.5031, allocations: 3.257 MB / 0.5177 GB, free: 10.86 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009074/0.504, allocations: 363.2 kB / 0.5181 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.5042, allocations: 32 kB / 0.5181 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009286/0.5052, allocations: 103.9 kB / 0.5182 GB, free: 10.35 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002798/0.5055, allocations: 116.7 kB / 0.5183 GB, free: 10.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.492e-05/0.5055, allocations: 39.98 kB / 0.5184 GB, free: 10.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.5067, allocations: 0.8146 MB / 0.5192 GB, free: 9.375 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5067, allocations: 0 / 0.5192 GB, free: 9.375 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002989/0.5097, allocations: 0.789 MB / 0.5199 GB, free: 8.586 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.0004115/0.5102, allocations: 206.7 kB / 0.5201 GB, free: 8.375 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01145/0.5216, allocations: 7.144 MB / 0.5271 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.686e-06/0.5217, allocations: 0 / 0.5271 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004222/0.5259, allocations: 2.846 MB / 0.5299 GB, free: 14.04 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/0.5279, allocations: 395.9 kB / 0.5303 GB, free: 13.67 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006872/0.5348, allocations: 4.51 MB / 0.5347 GB, free: 9.094 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.5362, allocations: 1.837 MB / 0.5365 GB, free: 7.223 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001393/0.5376, allocations: 423.9 kB / 0.5369 GB, free: 6.805 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002921/0.5379, allocations: 103.4 kB / 0.537 GB, free: 6.703 MB / 414.1 MB Notification: Performance of SimCode: time 1.162e-06/0.538, allocations: 4 kB / 0.537 GB, free: 6.699 MB / 414.1 MB Notification: Performance of Templates: time 0.05646/0.5944, allocations: 31.78 MB / 0.568 GB, free: 7.262 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)