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.001065/0.001065, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001235/0.001235, allocations: 191.2 kB / 16.25 MB, free: 6.633 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1645/0.1645, allocations: 8.021 MB / 298.1 MB, free: 2.426 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 67.89 kB / 360.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1114, allocations: 51.19 MB / 411.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.0107/0.1221, allocations: 9.611 MB / 420.9 MB, free: 1.758 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1958/0.318, allocations: 2.64 MB / 423.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001263/0.3192, allocations: 47.56 kB / 423.6 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.3204, allocations: 415.4 kB / 424 MB, free: 36.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001675/0.3221, allocations: 0.5975 MB / 424.6 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008874/0.323, allocations: 486.2 kB / 425.1 MB, free: 36.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002196/0.3252, allocations: 2.649 MB / 427.7 MB, free: 36.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001973/0.3272, allocations: 2.297 MB / 430 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001471/0.3287, allocations: 1.191 MB / 431.2 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/0.33, allocations: 1.455 MB / 432.7 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.3303, allocations: 334.9 kB / 433 MB, free: 34.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006909/0.331, allocations: 422.4 kB / 433.4 MB, free: 34.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006467/0.3317, allocations: 0.8575 MB / 434.3 MB, free: 34.05 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001252/0.3329, allocations: 1.422 MB / 435.7 MB, free: 33.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002821/0.3358, allocations: 4.08 MB / 439.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.3358, allocations: 0 / 439.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.3358, allocations: 0 / 439.8 MB, free: 31.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.859e-05/0.3358, allocations: 0 / 439.8 MB, free: 31.71 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.004963/0.3408, allocations: 2.896 MB / 442.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.3409, allocations: 12.59 kB / 442.7 MB, free: 30.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.3415, allocations: 281.1 kB / 443 MB, free: 29.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001719/0.3432, allocations: 1.381 MB / 444.4 MB, free: 29.15 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.0002215/0.3435, allocations: 240.9 kB / 444.6 MB, free: 29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.3438, allocations: 235.6 kB / 444.8 MB, free: 28.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/0.348, allocations: 2.958 MB / 447.8 MB, free: 27.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-05/0.3481, allocations: 11.34 kB / 447.8 MB, free: 27.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001906/0.3483, allocations: 96.83 kB / 447.9 MB, free: 27.62 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.474e-05/0.3484, allocations: 106 kB / 448 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003507/0.3519, allocations: 2.384 MB / 450.4 MB, free: 26.76 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01087/0.3627, allocations: 8.804 MB / 459.2 MB, free: 22.08 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.3652, allocations: 1.623 MB / 460.8 MB, free: 21.29 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.3669, allocations: 0.9656 MB / 461.8 MB, free: 20.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.3671, allocations: 119.4 kB / 461.9 MB, free: 20.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001264/0.3684, allocations: 0.7804 MB / 462.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.136e-06/0.3684, allocations: 0 / 462.7 MB, free: 20.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01539/0.3838, allocations: 6.955 MB / 469.6 MB, free: 17.54 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.446e-05/0.3839, allocations: 251.4 kB / 469.9 MB, free: 17.25 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.001932/0.3858, allocations: 1.235 MB / 471.1 MB, free: 16.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.386, allocations: 48.36 kB / 471.1 MB, free: 16.71 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009159/0.3869, allocations: 1.012 MB / 472.2 MB, free: 15.94 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003279/0.3872, allocations: 419.8 kB / 472.6 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004931/0.3877, allocations: 261 kB / 472.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.999e-05/0.3878, allocations: 305.6 kB / 473.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.3892, allocations: 0.7225 MB / 473.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001594/0.3908, allocations: 1.126 MB / 475 MB, free: 14.19 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008967/0.3998, allocations: 3.62 MB / 478.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.811e-05/0.3999, allocations: 2.781 kB / 478.6 MB, free: 12.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004726/0.4046, allocations: 2.569 MB / 481.2 MB, free: 11.49 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.4047, allocations: 38.33 kB / 481.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.4047, allocations: 12.19 kB / 481.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.4058, allocations: 0.5014 MB / 481.7 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.4069, allocations: 308.7 kB / 482 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0065/0.4134, allocations: 8.803 MB / 490.8 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/0.4149, allocations: 135.8 kB / 490.9 MB, free: 3.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.415, allocations: 64.05 kB / 491 MB, free: 3.547 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.001956/0.417, allocations: 1.274 MB / 492.3 MB, free: 2.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001077/0.418, allocations: 1.111 MB / 493.4 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008056/0.4261, allocations: 3.554 MB / 496.9 MB, free: 13.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.767e-06/0.4261, allocations: 8 kB / 497 MB, free: 13.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004337/0.4305, allocations: 2.517 MB / 499.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.468e-05/0.4305, allocations: 35.89 kB / 499.5 MB, free: 10.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.4306, allocations: 12 kB / 499.5 MB, free: 10.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.4317, allocations: 0.5068 MB / 0.4883 GB, free: 10.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.4327, allocations: 299.6 kB / 0.4886 GB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/0.4404, allocations: 8.797 MB / 0.4972 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001567/0.4419, allocations: 135.8 kB / 0.4973 GB, free: 372 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/0.4421, allocations: 68 kB / 0.4974 GB, free: 304 kB / 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.0005451/0.4427, allocations: 295.2 kB / 0.4977 GB, free: 4 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004159/0.4431, allocations: 138.5 kB / 0.4978 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004001/0.4471, allocations: 2.204 MB / 0.4999 GB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.4471, allocations: 12 kB / 0.5 GB, free: 13.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.546e-05/0.4472, allocations: 7.938 kB / 0.5 GB, free: 13.6 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.4472, allocations: 7.969 kB / 0.5 GB, free: 13.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00831/0.4555, allocations: 4.759 MB / 0.5046 GB, free: 8.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.4555, allocations: 8.094 kB / 0.5046 GB, free: 8.715 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008934/0.4564, allocations: 195.7 kB / 0.5048 GB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001477/0.4579, allocations: 0.5282 MB / 0.5053 GB, free: 7.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.4581, allocations: 39.97 kB / 0.5054 GB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008705/0.4668, allocations: 8.617 MB / 0.5138 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.4668, allocations: 4 kB / 0.5138 GB, free: 14.77 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00578/0.4726, allocations: 3.256 MB / 0.517 GB, free: 11.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009032/0.4736, allocations: 367.2 kB / 0.5173 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004611/0.474, allocations: 37.2 kB / 0.5173 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/0.4753, allocations: 99.89 kB / 0.5174 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003097/0.4756, allocations: 116.7 kB / 0.5176 GB, free: 10.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.4757, allocations: 39.98 kB / 0.5176 GB, free: 10.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001476/0.4772, allocations: 0.8185 MB / 0.5184 GB, free: 9.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4772, allocations: 0 / 0.5184 GB, free: 9.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003392/0.4806, allocations: 0.7891 MB / 0.5192 GB, free: 9.141 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.0003919/0.481, allocations: 197 kB / 0.5194 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01143/0.4924, allocations: 7.157 MB / 0.5263 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.4924, allocations: 0 / 0.5263 GB, free: 1.543 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004287/0.4967, allocations: 2.841 MB / 0.5291 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.499, allocations: 388.4 kB / 0.5295 GB, free: 14.23 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008292/0.5073, allocations: 5.464 MB / 0.5348 GB, free: 8.691 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001639/0.509, allocations: 1.841 MB / 0.5366 GB, free: 6.816 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001359/0.5104, allocations: 420 kB / 0.537 GB, free: 6.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/0.5107, allocations: 99.42 kB / 0.5371 GB, free: 6.305 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.5107, allocations: 0 / 0.5371 GB, free: 6.305 MB / 414.1 MB Notification: Performance of Templates: time 0.05412/0.5648, allocations: 31.85 MB / 0.5682 GB, free: 6.793 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)