Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001183/0.001183, allocations: 91.92 kB / 16.02 MB, free: 80 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.001727/0.001727, allocations: 178.6 kB / 16.92 MB, free: 6.652 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1699/0.1699, allocations: 8.027 MB / 300.1 MB, free: 3.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.000332, allocations: 15.98 kB / 363 MB, free: 13.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09449, allocations: 52.19 MB / 415.2 MB, free: 9.641 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009418/0.1039, allocations: 9.277 MB / 424.5 MB, free: 324 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1847/0.2887, allocations: 2.797 MB / 427.3 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001725/0.2905, allocations: 45.38 kB / 427.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.2921, allocations: 440.7 kB / 427.8 MB, free: 35.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.295, allocations: 0.6621 MB / 428.5 MB, free: 34.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001384/0.2964, allocations: 459.5 kB / 428.9 MB, free: 34.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003313/0.2997, allocations: 2.834 MB / 431.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002198/0.3019, allocations: 1.388 MB / 433.1 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001481/0.3034, allocations: 0.825 MB / 433.9 MB, free: 33.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001893/0.3053, allocations: 1.164 MB / 435.1 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005163/0.3059, allocations: 118.1 kB / 435.2 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009297/0.3068, allocations: 216.4 kB / 435.4 MB, free: 33.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007131/0.3075, allocations: 0.6157 MB / 436.1 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.3091, allocations: 1.094 MB / 437.1 MB, free: 33.21 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002984/0.3121, allocations: 2.932 MB / 440.1 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.3121, allocations: 0 / 440.1 MB, free: 32.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.3121, allocations: 3.938 kB / 440.1 MB, free: 32.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001307/0.3122, allocations: 0 / 440.1 MB, free: 32.82 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.005276/0.3175, allocations: 2.354 MB / 442.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3176, allocations: 9.469 kB / 442.4 MB, free: 31.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009408/0.3185, allocations: 270.8 kB / 442.7 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002104/0.3206, allocations: 1.331 MB / 444 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001503/0.3208, allocations: 188.1 kB / 444.2 MB, free: 30.53 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003149/0.3211, allocations: 194.7 kB / 444.4 MB, free: 30.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.3254, allocations: 2.64 MB / 447.1 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.856e-05/0.3255, allocations: 7.219 kB / 447.1 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001737/0.3257, allocations: 78.69 kB / 447.1 MB, free: 29.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.04e-05/0.3258, allocations: 97.08 kB / 447.2 MB, free: 29.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0038/0.3296, allocations: 2.247 MB / 449.5 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01143/0.3411, allocations: 8.359 MB / 457.8 MB, free: 23.97 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002808/0.3439, allocations: 1.702 MB / 459.5 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/0.3454, allocations: 0.8652 MB / 460.4 MB, free: 22.96 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002262/0.3456, allocations: 126 kB / 460.5 MB, free: 22.86 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.3469, allocations: 0.8277 MB / 461.4 MB, free: 22.54 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.146e-06/0.3469, allocations: 4 kB / 461.4 MB, free: 22.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01754/0.3645, allocations: 6.968 MB / 468.3 MB, free: 19.92 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.481e-05/0.3646, allocations: 169.2 kB / 468.5 MB, free: 19.73 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.002342/0.367, allocations: 1.402 MB / 469.9 MB, free: 19.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.3672, allocations: 47.95 kB / 469.9 MB, free: 19.13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007125/0.3679, allocations: 0.9593 MB / 470.9 MB, free: 18.39 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003581/0.3683, allocations: 425.3 kB / 471.3 MB, free: 18.07 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001848/0.3685, allocations: 122.1 kB / 471.4 MB, free: 18.01 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.901e-05/0.3685, allocations: 302.3 kB / 471.7 MB, free: 17.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.37, allocations: 0.776 MB / 472.5 MB, free: 17.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/0.3717, allocations: 1.215 MB / 473.7 MB, free: 16.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01126/0.383, allocations: 4.125 MB / 477.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.105e-05/0.383, allocations: 4 kB / 477.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006648/0.3897, allocations: 2.864 MB / 480.7 MB, free: 13.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002704/0.39, allocations: 490.4 kB / 481.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.39, allocations: 17.62 kB / 481.2 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002541/0.3926, allocations: 0.6525 MB / 481.9 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.3944, allocations: 448.1 kB / 482.3 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008945/0.4034, allocations: 8.995 MB / 491.3 MB, free: 4.953 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001816/0.4052, allocations: 154.7 kB / 491.5 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001845/0.4054, allocations: 69.48 kB / 491.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/0.4055, allocations: 5.906 kB / 491.5 MB, free: 4.867 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005529/0.411, allocations: 2.684 MB / 494.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.498e-05/0.4111, allocations: 12.31 kB / 494.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002288/0.4134, allocations: 0.6605 MB / 494.9 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.415, allocations: 443.3 kB / 495.3 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/0.426, allocations: 9.001 MB / 0.4925 GB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/0.4279, allocations: 147.8 kB / 0.4926 GB, free: 7.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/0.4281, allocations: 71.97 kB / 0.4927 GB, free: 7.234 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.001591/0.4297, allocations: 0.7023 MB / 0.4934 GB, free: 6.527 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.4301, allocations: 158.1 kB / 0.4935 GB, free: 6.371 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005988/0.4361, allocations: 2.535 MB / 0.496 GB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.685e-05/0.4362, allocations: 15.94 kB / 0.496 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.4362, allocations: 4 kB / 0.496 GB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.4362, allocations: 7.922 kB / 0.496 GB, free: 3.781 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009865/0.4461, allocations: 4.842 MB / 0.5008 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.4461, allocations: 4 kB / 0.5008 GB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001432/0.4476, allocations: 319.9 kB / 0.5011 GB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002537/0.4501, allocations: 0.6722 MB / 0.5017 GB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001476/0.4503, allocations: 31.98 kB / 0.5018 GB, free: 13.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01071/0.461, allocations: 9.139 MB / 0.5107 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.964e-06/0.4611, allocations: 11.88 kB / 0.5107 GB, free: 4.004 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007641/0.4687, allocations: 3.589 MB / 0.5142 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009282/0.4697, allocations: 383 kB / 0.5146 GB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002711/0.47, allocations: 39.98 kB / 0.5146 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/0.4711, allocations: 119.9 kB / 0.5147 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/0.4714, allocations: 120.7 kB / 0.5148 GB, free: 15.68 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.499e-05/0.4715, allocations: 35.98 kB / 0.5149 GB, free: 15.65 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00141/0.4729, allocations: 0.9243 MB / 0.5158 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4729, allocations: 0 / 0.5158 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002588/0.4755, allocations: 0.7812 MB / 0.5165 GB, free: 13.94 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.0003816/0.4759, allocations: 200.2 kB / 0.5167 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00892/0.4848, allocations: 4.954 MB / 0.5216 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.733e-06/0.4849, allocations: 0 / 0.5216 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003408/0.4883, allocations: 1.882 MB / 0.5234 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/0.491, allocations: 408.7 kB / 0.5238 GB, free: 6.242 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007897/0.4989, allocations: 5.262 MB / 0.5289 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001385/0.5003, allocations: 1.661 MB / 0.5306 GB, free: 15.22 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005532/0.5009, allocations: 123.4 kB / 0.5307 GB, free: 15.1 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5009, allocations: 0 / 0.5307 GB, free: 15.1 MB / 414.1 MB Notification: Performance of Templates: time 0.2441/0.7449, allocations: 84.06 MB / 0.6128 GB, free: 113.1 MB / 446.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)