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.0008136/0.0008136, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.0008653/0.0008652, allocations: 168.7 kB / 15.95 MB, free: 204 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.345/1.345, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1521/0.1521, allocations: 8.017 MB / 299.1 MB, free: 3.465 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003349, allocations: 12 kB / 361.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0904/0.09075, allocations: 52.19 MB / 414 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008486/0.09927, allocations: 8.733 MB / 422.7 MB, free: 1.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1963/0.2956, allocations: 2.694 MB / 425.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001217/0.2969, allocations: 44.44 kB / 425.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009896/0.2979, allocations: 404.5 kB / 425.8 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001456/0.2993, allocations: 0.6253 MB / 426.5 MB, free: 34.96 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007617/0.3001, allocations: 331.1 kB / 426.8 MB, free: 34.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001823/0.3019, allocations: 2.568 MB / 429.4 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3031, allocations: 1.189 MB / 430.5 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.3042, allocations: 0.8123 MB / 431.4 MB, free: 34.02 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.3055, allocations: 1.122 MB / 432.5 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.3057, allocations: 119.1 kB / 432.6 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004243/0.3061, allocations: 184 kB / 432.8 MB, free: 33.8 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.3066, allocations: 0.6006 MB / 433.4 MB, free: 33.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003416/0.3069, allocations: 452.6 kB / 433.8 MB, free: 33.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.3086, allocations: 2.929 MB / 436.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3086, allocations: 0 / 436.7 MB, free: 33.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3086, allocations: 4 kB / 436.8 MB, free: 33.42 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.085e-05/0.3087, allocations: 0 / 436.8 MB, free: 33.42 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.003813/0.3125, allocations: 2.375 MB / 439.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.23e-05/0.3125, allocations: 9.656 kB / 439.1 MB, free: 32.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000565/0.3131, allocations: 269.3 kB / 439.4 MB, free: 32.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.3148, allocations: 1.3 MB / 440.7 MB, free: 31.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.3149, allocations: 177.9 kB / 440.9 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002331/0.3152, allocations: 205.8 kB / 441.1 MB, free: 31.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003705/0.3189, allocations: 2.614 MB / 443.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.951e-05/0.3189, allocations: 10.22 kB / 443.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/0.3191, allocations: 80.03 kB / 443.8 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.998e-05/0.3192, allocations: 102.7 kB / 443.9 MB, free: 31.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003361/0.3226, allocations: 2.224 MB / 446.1 MB, free: 31.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009812/0.3324, allocations: 8.364 MB / 454.5 MB, free: 26.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.3349, allocations: 1.698 MB / 456.2 MB, free: 25.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00126/0.3362, allocations: 0.8558 MB / 457 MB, free: 25.62 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.3364, allocations: 122.8 kB / 457.1 MB, free: 25.53 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00116/0.3376, allocations: 0.8273 MB / 458 MB, free: 25.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.204e-06/0.3376, allocations: 0 / 458 MB, free: 25.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01587/0.3535, allocations: 6.957 MB / 464.9 MB, free: 22.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.119e-05/0.3536, allocations: 167.4 kB / 465.1 MB, free: 22.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.002404/0.356, allocations: 1.388 MB / 466.5 MB, free: 21.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.616e-05/0.3561, allocations: 46.83 kB / 466.5 MB, free: 21.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008711/0.357, allocations: 0.9638 MB / 467.5 MB, free: 21.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/0.3574, allocations: 424.7 kB / 467.9 MB, free: 20.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.3575, allocations: 29.91 kB / 467.9 MB, free: 20.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.3577, allocations: 372.2 kB / 468.3 MB, free: 20.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001543/0.3592, allocations: 0.7651 MB / 469.1 MB, free: 20.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001592/0.3608, allocations: 1.205 MB / 470.3 MB, free: 19.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.3625, allocations: 0.972 MB / 471.2 MB, free: 18.95 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.3625, allocations: 3.219 kB / 471.2 MB, free: 18.95 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006043/0.3686, allocations: 2.839 MB / 474.1 MB, free: 17.94 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002608/0.3689, allocations: 495.8 kB / 474.6 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.3689, allocations: 11.84 kB / 474.6 MB, free: 17.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.3713, allocations: 0.6469 MB / 475.2 MB, free: 17.15 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/0.3728, allocations: 442.4 kB / 475.6 MB, free: 17.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008848/0.3817, allocations: 9.008 MB / 484.7 MB, free: 9.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001636/0.3834, allocations: 159 kB / 484.8 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3835, allocations: 64.08 kB / 484.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.877e-06/0.3835, allocations: 6.125 kB / 484.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005083/0.3886, allocations: 2.677 MB / 487.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.3886, allocations: 11.5 kB / 487.6 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.3906, allocations: 0.6595 MB / 488.2 MB, free: 7.926 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.392, allocations: 435 kB / 488.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008121/0.4002, allocations: 8.994 MB / 497.6 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.4017, allocations: 147.9 kB / 497.8 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001036/0.4018, allocations: 67.98 kB / 497.9 MB, free: 14.32 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.00139/0.4032, allocations: 0.7117 MB / 498.6 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002943/0.4035, allocations: 154 kB / 498.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005422/0.4089, allocations: 2.532 MB / 0.4895 GB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.4089, allocations: 20 kB / 0.4895 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.409, allocations: 0 / 0.4895 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.409, allocations: 3.984 kB / 0.4895 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009352/0.4183, allocations: 4.827 MB / 0.4942 GB, free: 5.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.68e-06/0.4184, allocations: 4.031 kB / 0.4942 GB, free: 5.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.4195, allocations: 319.6 kB / 0.4945 GB, free: 5.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002166/0.4217, allocations: 0.6704 MB / 0.4952 GB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-05/0.4218, allocations: 27.98 kB / 0.4952 GB, free: 4.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009776/0.4316, allocations: 9.126 MB / 0.5041 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/0.4316, allocations: 20.09 kB / 0.5042 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006726/0.4384, allocations: 3.583 MB / 0.5077 GB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008741/0.4393, allocations: 383.2 kB / 0.508 GB, free: 7.074 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002174/0.4395, allocations: 35.98 kB / 0.5081 GB, free: 7.039 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009406/0.4404, allocations: 119.9 kB / 0.5082 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002914/0.4407, allocations: 124.6 kB / 0.5083 GB, free: 6.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.463e-05/0.4408, allocations: 43.98 kB / 0.5083 GB, free: 6.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001336/0.4422, allocations: 0.9087 MB / 0.5092 GB, free: 5.848 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4422, allocations: 0 / 0.5092 GB, free: 5.848 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002525/0.4447, allocations: 0.7812 MB / 0.51 GB, free: 5.066 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.0002788/0.445, allocations: 164.2 kB / 0.5101 GB, free: 4.898 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008083/0.4531, allocations: 4.943 MB / 0.515 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.884e-06/0.4531, allocations: 4 kB / 0.515 GB, free: 15.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003079/0.4562, allocations: 1.881 MB / 0.5168 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.4582, allocations: 401.9 kB / 0.5172 GB, free: 13.42 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007074/0.4653, allocations: 4.983 MB / 0.5221 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.4667, allocations: 1.676 MB / 0.5237 GB, free: 6.684 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00154/0.4682, allocations: 484.8 kB / 0.5242 GB, free: 6.203 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.4686, allocations: 107.4 kB / 0.5243 GB, free: 6.098 MB / 398.1 MB Notification: Performance of SimCode: time 1.323e-06/0.4686, allocations: 0 / 0.5243 GB, free: 6.098 MB / 398.1 MB Notification: Performance of Templates: time 0.04633/0.5149, allocations: 28.83 MB / 0.5524 GB, free: 9.504 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)