Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.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.SmaAllSpeeds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009772/0.009772, allocations: 100.5 kB / 15.73 MB, free: 6.496 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.002572/0.002572, allocations: 198.7 kB / 16.68 MB, free: 6.375 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.566/1.566, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.2654/0.2654, allocations: 8.03 MB / 298.6 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 55.91 kB / 413.1 MB, free: 9.891 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3196/0.3211, allocations: 51.18 MB / 464.3 MB, free: 18.28 MB / 350.1 MB [/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: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. [/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) 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: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: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: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) 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=1e-5) 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/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: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/(2*pi*fsNominal)) 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: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: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) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.01231/0.3335, allocations: 11.59 MB / 475.8 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008122/0.3416, allocations: 3.227 MB / 479.1 MB, free: 7.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0031/0.3448, allocations: 65.25 kB / 479.1 MB, free: 7.574 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002436/0.3472, allocations: 0.6346 MB / 479.8 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00447/0.3517, allocations: 0.8404 MB / 480.6 MB, free: 6.656 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002103/0.3539, allocations: 0.6351 MB / 481.2 MB, free: 6.254 MB / 350.1 MB [/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/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/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/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=2.0 * smpm1.pi * smpm1.fsNominal / CAST(Real, smpm1.p)) as default value. Notification: Performance of NFFlatten.flatten: time 0.004974/0.3588, allocations: 3.091 MB / 484.3 MB, free: 4.48 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003981/0.3628, allocations: 2.554 MB / 486.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002474/0.3653, allocations: 1.354 MB / 488.2 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002637/0.368, allocations: 1.664 MB / 489.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001672/0.3697, allocations: 388.9 kB / 490.3 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.3717, allocations: 475.6 kB / 490.8 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009616/0.3727, allocations: 0.9992 MB / 491.7 MB, free: 344 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00221/0.3749, allocations: 1.647 MB / 493.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0067/0.3816, allocations: 4.81 MB / 498.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.3817, allocations: 3.938 kB / 498.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3817, allocations: 0 / 498.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001285/0.3818, allocations: 0 / 498.2 MB, free: 11.48 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 699 * Number of variables: 699 Notification: Performance of Generate backend data structure: time 0.007244/0.3891, allocations: 3.336 MB / 0.4898 GB, free: 8.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.3891, allocations: 12.03 kB / 0.4898 GB, free: 8.094 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007931/0.3899, allocations: 350.8 kB / 0.4901 GB, free: 7.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002804/0.3927, allocations: 1.66 MB / 0.4918 GB, free: 6.031 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.393, allocations: 239.3 kB / 0.492 GB, free: 5.789 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004127/0.3934, allocations: 268 kB / 0.4922 GB, free: 5.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006142/0.3995, allocations: 3.33 MB / 0.4955 GB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.614e-05/0.3996, allocations: 7.953 kB / 0.4955 GB, free: 2.105 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002318/0.3999, allocations: 120 kB / 0.4956 GB, free: 1.988 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001208/0.4, allocations: 121.2 kB / 0.4957 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004645/0.4046, allocations: 2.663 MB / 0.4983 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01721/0.4219, allocations: 10.69 MB / 0.5088 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.4252, allocations: 1.838 MB / 0.5106 GB, free: 2.254 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001959/0.4272, allocations: 0.9138 MB / 0.5115 GB, free: 1.344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003592/0.4276, allocations: 130 kB / 0.5116 GB, free: 1.199 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.762e-05/0.4276, allocations: 43.56 kB / 0.5116 GB, free: 1.148 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 4.378e-06/0.4276, allocations: 0 / 0.5116 GB, free: 1.148 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02087/0.4485, allocations: 7.331 MB / 0.5188 GB, free: 9.73 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.782e-05/0.4486, allocations: 90.42 kB / 0.5189 GB, free: 9.625 MB / 398.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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002706/0.4513, allocations: 1.427 MB / 0.5203 GB, free: 8.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001323/0.4515, allocations: 53.69 kB / 0.5203 GB, free: 8.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009753/0.4525, allocations: 1.239 MB / 0.5215 GB, free: 6.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004706/0.453, allocations: 491.8 kB / 0.522 GB, free: 6.395 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005266/0.4535, allocations: 295.5 kB / 0.5223 GB, free: 6.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.4536, allocations: 305.1 kB / 0.5226 GB, free: 5.797 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.4551, allocations: 0.7816 MB / 0.5233 GB, free: 5.012 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/0.4569, allocations: 1.246 MB / 0.5245 GB, free: 3.562 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01062/0.4675, allocations: 4.06 MB / 0.5285 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.651e-05/0.4676, allocations: 4 kB / 0.5285 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007611/0.4752, allocations: 3.04 MB / 0.5315 GB, free: 12.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.4753, allocations: 12 kB / 0.5315 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.4753, allocations: 16 kB / 0.5315 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002954/0.4783, allocations: 0.7277 MB / 0.5322 GB, free: 11.46 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001407/0.4797, allocations: 387.4 kB / 0.5326 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01269/0.4924, allocations: 8.373 MB / 0.5408 GB, free: 2.297 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.4941, allocations: 115.8 kB / 0.5409 GB, free: 2.184 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003709/0.4945, allocations: 71.98 kB / 0.5409 GB, free: 2.113 MB / 414.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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003138/0.4977, allocations: 1.421 MB / 0.5423 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001693/0.4994, allocations: 1.23 MB / 0.5435 GB, free: 15.27 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01053/0.5099, allocations: 4.021 MB / 0.5475 GB, free: 11.04 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.289e-05/0.51, allocations: 4 kB / 0.5475 GB, free: 11.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006929/0.5169, allocations: 2.966 MB / 0.5504 GB, free: 8.047 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.5169, allocations: 12 kB / 0.5504 GB, free: 8.035 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/0.517, allocations: 12 kB / 0.5504 GB, free: 8.023 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002897/0.5199, allocations: 0.7021 MB / 0.5511 GB, free: 7.309 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.5213, allocations: 391.4 kB / 0.5514 GB, free: 6.926 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/0.5336, allocations: 8.162 MB / 0.5594 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/0.5353, allocations: 119.8 kB / 0.5595 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002558/0.5356, allocations: 67.98 kB / 0.5596 GB, free: 14.16 MB / 446.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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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: 65 * Number of states: 0 () * Number of discrete variables: 2 (myMTPA.limiting.y,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,12)} Notification: Performance of prepare postOptimizeDAE: time 0.000672/0.5363, allocations: 299.6 kB / 0.5599 GB, free: 13.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005375/0.5368, allocations: 170.9 kB / 0.56 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006909/0.5437, allocations: 2.668 MB / 0.5627 GB, free: 11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.524e-05/0.5438, allocations: 15.94 kB / 0.5627 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.5438, allocations: 0 / 0.5627 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5438, allocations: 11.97 kB / 0.5627 GB, free: 10.97 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01247/0.5563, allocations: 5.339 MB / 0.5679 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.5563, allocations: 4 kB / 0.5679 GB, free: 5.523 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/0.5574, allocations: 251.7 kB / 0.5681 GB, free: 5.277 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00259/0.56, allocations: 0.7098 MB / 0.5688 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001234/0.5601, allocations: 35.92 kB / 0.5689 GB, free: 4.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01413/0.5743, allocations: 8.504 MB / 0.5772 GB, free: 11.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-05/0.5743, allocations: 8.031 kB / 0.5772 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01057/0.5849, allocations: 3.754 MB / 0.5808 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.5862, allocations: 411.8 kB / 0.5812 GB, free: 7.332 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006365/0.5868, allocations: 32 kB / 0.5813 GB, free: 7.301 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001431/0.5883, allocations: 99.81 kB / 0.5814 GB, free: 7.203 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003783/0.5887, allocations: 125.1 kB / 0.5815 GB, free: 7.082 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001214/0.5888, allocations: 35.98 kB / 0.5815 GB, free: 7.047 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002343/0.5912, allocations: 0.9621 MB / 0.5825 GB, free: 6.086 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5912, allocations: 0 / 0.5825 GB, free: 6.086 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00491/0.5961, allocations: 0.9023 MB / 0.5833 GB, free: 5.184 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000482/0.5966, allocations: 191 kB / 0.5835 GB, free: 4.984 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009281/0.6059, allocations: 4.609 MB / 0.588 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.702e-06/0.6059, allocations: 0 / 0.588 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2748/0.8807, allocations: 1.745 MB / 0.5897 GB, free: 113.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002739/0.8835, allocations: 461 kB / 0.5902 GB, free: 113.5 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/0.8926, allocations: 4.919 MB / 0.595 GB, free: 111.9 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002069/0.8947, allocations: 1.927 MB / 0.5968 GB, free: 111.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001834/0.8966, allocations: 0.494 MB / 0.5973 GB, free: 111.1 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003778/0.897, allocations: 113.6 kB / 0.5974 GB, free: 111.1 MB / 462.1 MB Notification: Performance of SimCode: time 1.323e-06/0.897, allocations: 4 kB / 0.5974 GB, free: 111.1 MB / 462.1 MB Notification: Performance of Templates: time 0.0679/0.9649, allocations: 34.81 MB / 0.6314 GB, free: 92.52 MB / 462.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1)