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.0009989/0.0009989, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.00126/0.00126, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.303/1.303, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1423/0.1423, allocations: 8.017 MB / 299.1 MB, free: 3.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002943, allocations: 12 kB / 361.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08485/0.08516, allocations: 52.18 MB / 414 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008931/0.09413, allocations: 8.721 MB / 422.7 MB, free: 1.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1586/0.2528, allocations: 2.707 MB / 425.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.254, allocations: 43.03 kB / 425.4 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.2552, allocations: 402.2 kB / 425.8 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.2571, allocations: 0.6236 MB / 426.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009986/0.2581, allocations: 338.6 kB / 426.8 MB, free: 34.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.2608, allocations: 2.566 MB / 429.3 MB, free: 34.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.2626, allocations: 1.191 MB / 430.5 MB, free: 34.06 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.2639, allocations: 0.8165 MB / 431.4 MB, free: 33.88 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001866/0.2658, allocations: 1.117 MB / 432.5 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.2661, allocations: 120.6 kB / 432.6 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006234/0.2668, allocations: 184.2 kB / 432.8 MB, free: 33.66 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007239/0.2675, allocations: 0.6013 MB / 433.4 MB, free: 33.58 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005024/0.268, allocations: 456.1 kB / 433.8 MB, free: 33.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002555/0.2706, allocations: 2.925 MB / 436.7 MB, free: 33.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.2706, allocations: 3.938 kB / 436.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.2706, allocations: 0 / 436.7 MB, free: 33.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.156e-05/0.2707, allocations: 0 / 436.7 MB, free: 33.28 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.005772/0.2764, allocations: 2.383 MB / 439.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2765, allocations: 10.03 kB / 439.1 MB, free: 32.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008844/0.2774, allocations: 272 kB / 439.4 MB, free: 32.03 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/0.2801, allocations: 1.284 MB / 440.7 MB, free: 31.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002042/0.2803, allocations: 186.4 kB / 440.9 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003022/0.2806, allocations: 199.1 kB / 441.1 MB, free: 31.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005096/0.2857, allocations: 2.618 MB / 443.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.071e-05/0.2858, allocations: 12.72 kB / 443.7 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002013/0.286, allocations: 79.19 kB / 443.8 MB, free: 31.36 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.2861, allocations: 101.5 kB / 443.9 MB, free: 31.35 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003889/0.29, allocations: 2.226 MB / 446.1 MB, free: 31.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009781/0.2998, allocations: 8.359 MB / 454.5 MB, free: 26.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002601/0.3024, allocations: 1.693 MB / 456.1 MB, free: 25.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/0.3037, allocations: 0.8602 MB / 457 MB, free: 25.49 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/0.3039, allocations: 124.5 kB / 457.1 MB, free: 25.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001192/0.3051, allocations: 0.8294 MB / 458 MB, free: 25.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.494e-06/0.3051, allocations: 0 / 458 MB, free: 25.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01476/0.3199, allocations: 6.956 MB / 464.9 MB, free: 22.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.32, allocations: 172.9 kB / 465.1 MB, free: 22.28 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.001921/0.3219, allocations: 1.383 MB / 466.5 MB, free: 21.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.859e-05/0.322, allocations: 46.3 kB / 466.5 MB, free: 21.69 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006419/0.3227, allocations: 0.9649 MB / 467.5 MB, free: 20.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.3229, allocations: 426.2 kB / 467.9 MB, free: 20.62 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.511e-05/0.323, allocations: 30 kB / 467.9 MB, free: 20.6 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.3231, allocations: 363 kB / 468.3 MB, free: 20.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001341/0.3245, allocations: 0.7699 MB / 469 MB, free: 20.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.326, allocations: 1.209 MB / 470.3 MB, free: 19.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001497/0.3275, allocations: 0.9648 MB / 471.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.3275, allocations: 4 kB / 471.2 MB, free: 18.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005867/0.3334, allocations: 2.845 MB / 474.1 MB, free: 17.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001792/0.3336, allocations: 488.6 kB / 474.5 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.3336, allocations: 13 kB / 474.6 MB, free: 17.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002308/0.3359, allocations: 0.655 MB / 475.2 MB, free: 17.01 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/0.3375, allocations: 442.1 kB / 475.6 MB, free: 16.97 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00846/0.346, allocations: 8.996 MB / 484.6 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001524/0.3475, allocations: 156.6 kB / 484.8 MB, free: 9.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/0.3477, allocations: 65.89 kB / 484.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.672e-06/0.3477, allocations: 5.875 kB / 484.9 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005048/0.3527, allocations: 2.671 MB / 487.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.841e-05/0.3528, allocations: 11.62 kB / 487.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002052/0.3548, allocations: 0.6631 MB / 488.2 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001462/0.3563, allocations: 444.2 kB / 488.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008259/0.3646, allocations: 9.001 MB / 497.6 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.3661, allocations: 147.9 kB / 497.8 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.3663, allocations: 63.98 kB / 497.9 MB, free: 14.26 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.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] smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,myMTPA.limiting.y,$PRE.tqRef.T_start,tqRef.T_start,$PRE.tqRef.count,tqRef.count,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 (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {6 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.001359/0.3677, allocations: 0.6992 MB / 498.6 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003816/0.3681, allocations: 158 kB / 498.7 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005511/0.3736, allocations: 2.533 MB / 0.4895 GB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/0.3736, allocations: 12 kB / 0.4895 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3736, allocations: 0 / 0.4895 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.3737, allocations: 3.984 kB / 0.4895 GB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008899/0.3826, allocations: 4.832 MB / 0.4942 GB, free: 5.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.819e-06/0.3826, allocations: 8 kB / 0.4942 GB, free: 5.902 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/0.3839, allocations: 319.7 kB / 0.4945 GB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002247/0.3861, allocations: 0.6658 MB / 0.4952 GB, free: 4.906 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/0.3862, allocations: 37.73 kB / 0.4952 GB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01036/0.3966, allocations: 9.133 MB / 0.5041 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3966, allocations: 7.984 kB / 0.5042 GB, free: 11.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006864/0.4035, allocations: 3.588 MB / 0.5077 GB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007901/0.4043, allocations: 383 kB / 0.508 GB, free: 7.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003038/0.4046, allocations: 35.98 kB / 0.5081 GB, free: 6.984 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.4056, allocations: 119.9 kB / 0.5082 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002519/0.4059, allocations: 124.7 kB / 0.5083 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-05/0.406, allocations: 39.98 kB / 0.5083 GB, free: 6.707 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00134/0.4073, allocations: 0.9048 MB / 0.5092 GB, free: 5.801 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4073, allocations: 0 / 0.5092 GB, free: 5.801 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002574/0.4099, allocations: 0.789 MB / 0.51 GB, free: 5.012 MB / 382.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 (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {6 4,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002797/0.4102, allocations: 159.4 kB / 0.5101 GB, free: 4.848 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008445/0.4187, allocations: 4.939 MB / 0.515 GB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.4187, allocations: 4 kB / 0.515 GB, free: 15.72 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003171/0.4219, allocations: 1.88 MB / 0.5168 GB, free: 13.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001946/0.4238, allocations: 401 kB / 0.5172 GB, free: 13.38 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006943/0.4308, allocations: 4.994 MB / 0.5221 GB, free: 8.348 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.4321, allocations: 1.68 MB / 0.5237 GB, free: 6.629 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001481/0.4336, allocations: 480.8 kB / 0.5242 GB, free: 6.152 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.4339, allocations: 107.4 kB / 0.5243 GB, free: 6.047 MB / 398.1 MB Notification: Performance of SimCode: time 5.01e-07/0.4339, allocations: 0 / 0.5243 GB, free: 6.047 MB / 398.1 MB Notification: Performance of Templates: time 0.04371/0.4776, allocations: 28.84 MB / 0.5524 GB, free: 9.453 MB / 430.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)