Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.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.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007473/0.0007474, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.00458/0.00458, allocations: 170.2 kB / 16.26 MB, free: 6.613 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.242/1.242, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1365/0.1365, allocations: 8.023 MB / 299.5 MB, free: 3.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002875/0.0002876, allocations: 15.94 kB / 362.4 MB, free: 13.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08654/0.08684, allocations: 52.18 MB / 414.6 MB, free: 9.715 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008903/0.09578, allocations: 9.281 MB / 423.9 MB, free: 396 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1634/0.2592, allocations: 2.794 MB / 426.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009409/0.2602, allocations: 46.22 kB / 426.7 MB, free: 35.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.2612, allocations: 435.6 kB / 427.1 MB, free: 35.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001746/0.2629, allocations: 0.6693 MB / 427.8 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008595/0.2638, allocations: 447.9 kB / 428.2 MB, free: 34.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002105/0.2659, allocations: 2.848 MB / 431.1 MB, free: 34.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/0.2673, allocations: 1.384 MB / 432.5 MB, free: 34.13 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.2683, allocations: 0.8298 MB / 433.3 MB, free: 33.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.2696, allocations: 1.152 MB / 434.4 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001868/0.2698, allocations: 122.3 kB / 434.6 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000436/0.2702, allocations: 221.1 kB / 434.8 MB, free: 33.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004352/0.2707, allocations: 0.6072 MB / 435.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008115/0.2715, allocations: 1.099 MB / 436.5 MB, free: 33.2 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002196/0.2737, allocations: 3.441 MB / 439.9 MB, free: 32.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.892e-06/0.2737, allocations: 4 kB / 439.9 MB, free: 32.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.2737, allocations: 3.25 kB / 439.9 MB, free: 32.52 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.954e-05/0.2738, allocations: 0 / 439.9 MB, free: 32.52 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.003914/0.2777, allocations: 2.353 MB / 442.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.2777, allocations: 12.5 kB / 442.3 MB, free: 31.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005601/0.2783, allocations: 270.8 kB / 442.6 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001561/0.2799, allocations: 1.345 MB / 443.9 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.28, allocations: 179.9 kB / 444.1 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/0.2803, allocations: 198.6 kB / 444.3 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003518/0.2838, allocations: 2.632 MB / 446.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.769e-05/0.2838, allocations: 3.125 kB / 446.9 MB, free: 29.11 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001608/0.284, allocations: 81.17 kB / 447 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.964e-05/0.2841, allocations: 102.4 kB / 447.1 MB, free: 29.04 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003131/0.2872, allocations: 2.241 MB / 449.3 MB, free: 28.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009298/0.2965, allocations: 8.365 MB / 457.7 MB, free: 23.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002467/0.299, allocations: 1.703 MB / 459.4 MB, free: 22.92 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001247/0.3003, allocations: 0.8601 MB / 460.3 MB, free: 22.65 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001927/0.3005, allocations: 124 kB / 460.4 MB, free: 22.55 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001168/0.3017, allocations: 0.8327 MB / 461.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.3017, allocations: 0 / 461.2 MB, free: 22.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01628/0.318, allocations: 6.974 MB / 468.2 MB, free: 19.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.364e-05/0.3181, allocations: 168.9 kB / 468.4 MB, free: 19.42 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.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/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm1.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/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm1.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/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm1.Rrd 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/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm1.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05 / (6.283185307179586 * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm1.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm1.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/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.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 smpm1.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 smpm1.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 smpm1.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1 / (6.283185307179586 * smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/0.3203, allocations: 1.392 MB / 469.7 MB, free: 18.88 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3204, allocations: 47.2 kB / 469.8 MB, free: 18.83 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006877/0.3211, allocations: 0.9639 MB / 470.8 MB, free: 18.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002682/0.3214, allocations: 424 kB / 471.2 MB, free: 17.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.3215, allocations: 123.4 kB / 471.3 MB, free: 17.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.185e-05/0.3216, allocations: 301.1 kB / 471.6 MB, free: 17.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001387/0.323, allocations: 0.7768 MB / 472.4 MB, free: 17.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/0.3246, allocations: 1.216 MB / 473.6 MB, free: 16.37 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.3355, allocations: 4.134 MB / 477.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.516e-05/0.3355, allocations: 3.281 kB / 477.7 MB, free: 14.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005985/0.3415, allocations: 2.867 MB / 480.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.3417, allocations: 484.3 kB / 481.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.3417, allocations: 12.19 kB / 481.1 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.3441, allocations: 0.6565 MB / 481.7 MB, free: 12.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.3456, allocations: 446.9 kB / 482.2 MB, free: 12.67 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008097/0.3537, allocations: 8.991 MB / 491.2 MB, free: 4.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.3552, allocations: 158.4 kB / 491.3 MB, free: 4.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001177/0.3554, allocations: 64.33 kB / 491.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/0.3554, allocations: 4.531 kB / 491.4 MB, free: 4.52 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004965/0.3604, allocations: 2.688 MB / 494.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3604, allocations: 15.98 kB / 494.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002133/0.3625, allocations: 0.6639 MB / 494.7 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3639, allocations: 435.4 kB / 495.2 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009698/0.3736, allocations: 9.004 MB / 0.4924 GB, free: 7.027 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.3753, allocations: 147.8 kB / 0.4925 GB, free: 6.883 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.3754, allocations: 71.92 kB / 0.4926 GB, free: 6.812 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.3768, allocations: 0.7023 MB / 0.4932 GB, free: 6.105 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002685/0.3771, allocations: 154.1 kB / 0.4934 GB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005417/0.3825, allocations: 2.532 MB / 0.4959 GB, free: 3.391 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.3825, allocations: 15.98 kB / 0.4959 GB, free: 3.375 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.3825, allocations: 4 kB / 0.4959 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.086e-05/0.3826, allocations: 11.91 kB / 0.4959 GB, free: 3.359 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008801/0.3914, allocations: 4.84 MB / 0.5006 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.3914, allocations: 4 kB / 0.5006 GB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001334/0.3927, allocations: 323.8 kB / 0.5009 GB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002367/0.3951, allocations: 0.6725 MB / 0.5016 GB, free: 13.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001202/0.3953, allocations: 35.98 kB / 0.5016 GB, free: 13.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01026/0.4055, allocations: 9.141 MB / 0.5106 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/0.4056, allocations: 7.938 kB / 0.5106 GB, free: 3.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007255/0.4128, allocations: 3.597 MB / 0.5141 GB, free: 15.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009389/0.4138, allocations: 383 kB / 0.5144 GB, free: 15.53 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002082/0.414, allocations: 28 kB / 0.5145 GB, free: 15.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/0.415, allocations: 127.9 kB / 0.5146 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/0.4154, allocations: 120.8 kB / 0.5147 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.84e-05/0.4155, allocations: 39.92 kB / 0.5147 GB, free: 15.22 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001283/0.4167, allocations: 0.9165 MB / 0.5156 GB, free: 14.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4168, allocations: 0 / 0.5156 GB, free: 14.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002365/0.4191, allocations: 0.789 MB / 0.5164 GB, free: 13.52 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003525/0.4195, allocations: 195 kB / 0.5166 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008313/0.4278, allocations: 4.965 MB / 0.5214 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.4278, allocations: 0 / 0.5214 GB, free: 8.164 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003167/0.431, allocations: 1.884 MB / 0.5233 GB, free: 6.195 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002409/0.4334, allocations: 407.7 kB / 0.5237 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007163/0.4406, allocations: 5.204 MB / 0.5288 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001444/0.4421, allocations: 1.676 MB / 0.5304 GB, free: 14.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001455/0.4435, allocations: 484.8 kB / 0.5309 GB, free: 14.36 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003338/0.4439, allocations: 115.4 kB / 0.531 GB, free: 14.25 MB / 414.1 MB Notification: Performance of SimCode: time 7.41e-07/0.4439, allocations: 4 kB / 0.531 GB, free: 14.25 MB / 414.1 MB Notification: Performance of Templates: time 0.0463/0.4902, allocations: 29.63 MB / 0.5599 GB, free: 0.8438 MB / 430.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)