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.001319/0.001319, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001329/0.001329, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03664/0.03664, allocations: 8.043 MB / 299.3 MB, free: 6.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 59.89 kB / 413.7 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08605/0.08721, allocations: 51.19 MB / 464.9 MB, free: 3.043 MB / 334.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.0122/0.09945, allocations: 11.59 MB / 476.5 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006298/0.1058, allocations: 3.213 MB / 479.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001722/0.1075, allocations: 67.75 kB / 479.8 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.1091, allocations: 0.6438 MB / 480.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.1117, allocations: 0.8422 MB / 481.3 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.113, allocations: 0.632 MB / 481.9 MB, free: 1.984 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.003425/0.1164, allocations: 3.095 MB / 485 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002716/0.1191, allocations: 2.552 MB / 487.6 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001707/0.1208, allocations: 1.355 MB / 488.9 MB, free: 10.9 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002098/0.123, allocations: 1.654 MB / 490.6 MB, free: 9.242 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004574/0.1234, allocations: 384 kB / 491 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007139/0.1241, allocations: 483.8 kB / 491.4 MB, free: 8.395 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007999/0.125, allocations: 0.9974 MB / 492.4 MB, free: 7.395 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.1265, allocations: 1.661 MB / 494.1 MB, free: 5.727 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004216/0.1307, allocations: 4.778 MB / 498.9 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1307, allocations: 4 kB / 498.9 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1307, allocations: 0 / 498.9 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.746e-05/0.1308, allocations: 0 / 498.9 MB, free: 0.9297 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.005975/0.1368, allocations: 3.266 MB / 0.4904 GB, free: 13.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.1369, allocations: 8.031 kB / 0.4904 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007476/0.1376, allocations: 337.2 kB / 0.4907 GB, free: 13.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002764/0.1404, allocations: 1.651 MB / 0.4923 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001874/0.1406, allocations: 239.4 kB / 0.4925 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003423/0.1409, allocations: 263.9 kB / 0.4928 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004917/0.1459, allocations: 3.334 MB / 0.496 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.396e-05/0.1459, allocations: 12 kB / 0.4961 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002218/0.1462, allocations: 108 kB / 0.4962 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/0.1463, allocations: 125.2 kB / 0.4963 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004248/0.1506, allocations: 2.659 MB / 0.4989 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2539/0.4045, allocations: 10.65 MB / 0.5093 GB, free: 39.16 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003041/0.4075, allocations: 1.842 MB / 0.5111 GB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.4091, allocations: 0.9137 MB / 0.512 GB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002342/0.4094, allocations: 127 kB / 0.5121 GB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.4094, allocations: 45.12 kB / 0.5121 GB, free: 38.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.276e-06/0.4094, allocations: 3.344 kB / 0.5121 GB, free: 38.08 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01942/0.4289, allocations: 7.288 MB / 0.5193 GB, free: 35.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.429, allocations: 90.73 kB / 0.5193 GB, free: 35.5 MB / 382.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.002098/0.4311, allocations: 1.44 MB / 0.5207 GB, free: 34.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001404/0.4312, allocations: 46.2 kB / 0.5208 GB, free: 34.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006137/0.4319, allocations: 1.206 MB / 0.522 GB, free: 33.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002991/0.4322, allocations: 465.7 kB / 0.5224 GB, free: 33.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004208/0.4326, allocations: 297.4 kB / 0.5227 GB, free: 33.35 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.494e-05/0.4326, allocations: 305.1 kB / 0.523 GB, free: 33.05 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.4338, allocations: 0.7792 MB / 0.5237 GB, free: 32.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001313/0.4351, allocations: 1.238 MB / 0.525 GB, free: 31.68 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008555/0.4437, allocations: 4.05 MB / 0.5289 GB, free: 29.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.246e-05/0.4437, allocations: 3.875 kB / 0.5289 GB, free: 29.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00605/0.4498, allocations: 3.043 MB / 0.5319 GB, free: 27.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.4498, allocations: 12.98 kB / 0.5319 GB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.105e-05/0.4499, allocations: 17.53 kB / 0.5319 GB, free: 27.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002624/0.4525, allocations: 0.7155 MB / 0.5326 GB, free: 27.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00126/0.4538, allocations: 386.1 kB / 0.533 GB, free: 27.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/0.4637, allocations: 8.382 MB / 0.5412 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.4653, allocations: 119.8 kB / 0.5413 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001148/0.4654, allocations: 67.98 kB / 0.5413 GB, free: 18.16 MB / 382.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.002028/0.4674, allocations: 1.407 MB / 0.5427 GB, free: 16.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001107/0.4686, allocations: 1.226 MB / 0.5439 GB, free: 15.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008202/0.4768, allocations: 4.017 MB / 0.5478 GB, free: 11.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.223e-06/0.4768, allocations: 4 kB / 0.5478 GB, free: 11.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005562/0.4824, allocations: 2.957 MB / 0.5507 GB, free: 8.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.4824, allocations: 14.19 kB / 0.5507 GB, free: 8.129 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.4824, allocations: 27.53 kB / 0.5508 GB, free: 8.105 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00242/0.4848, allocations: 0.7026 MB / 0.5515 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/0.486, allocations: 391.4 kB / 0.5518 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009389/0.4954, allocations: 8.162 MB / 0.5598 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/0.497, allocations: 119.8 kB / 0.5599 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001215/0.4972, allocations: 71.89 kB / 0.56 GB, free: 14.26 MB / 398.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.0004984/0.4977, allocations: 300 kB / 0.5603 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.498, allocations: 162 kB / 0.5604 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005857/0.5038, allocations: 2.664 MB / 0.563 GB, free: 11.12 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.5039, allocations: 12 kB / 0.563 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5039, allocations: 8.75 kB / 0.563 GB, free: 11.1 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.57e-05/0.5039, allocations: 11.97 kB / 0.5631 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.5143, allocations: 5.343 MB / 0.5683 GB, free: 5.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.5144, allocations: 3.938 kB / 0.5683 GB, free: 5.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009898/0.5154, allocations: 255.8 kB / 0.5685 GB, free: 5.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002397/0.5178, allocations: 0.7018 MB / 0.5692 GB, free: 4.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.332e-05/0.5179, allocations: 27.98 kB / 0.5692 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.5295, allocations: 8.504 MB / 0.5775 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.5295, allocations: 4.031 kB / 0.5775 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007444/0.5369, allocations: 3.745 MB / 0.5812 GB, free: 7.957 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/0.538, allocations: 391 kB / 0.5816 GB, free: 7.555 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/0.5382, allocations: 35.94 kB / 0.5816 GB, free: 7.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/0.5391, allocations: 99.88 kB / 0.5817 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002948/0.5394, allocations: 121.1 kB / 0.5818 GB, free: 7.301 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.13e-05/0.5395, allocations: 35.98 kB / 0.5819 GB, free: 7.266 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001403/0.5409, allocations: 0.962 MB / 0.5828 GB, free: 6.305 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.924e-06/0.5409, allocations: 0 / 0.5828 GB, free: 6.305 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002846/0.5438, allocations: 0.9101 MB / 0.5837 GB, free: 5.395 MB / 414.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.0003625/0.5442, allocations: 194.2 kB / 0.5839 GB, free: 5.203 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007898/0.5521, allocations: 4.609 MB / 0.5884 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/0.5521, allocations: 0 / 0.5884 GB, free: 500 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002912/0.555, allocations: 1.75 MB / 0.5901 GB, free: 14.69 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.557, allocations: 453.3 kB / 0.5905 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007799/0.5648, allocations: 4.896 MB / 0.5953 GB, free: 9.316 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001486/0.5663, allocations: 1.905 MB / 0.5972 GB, free: 7.375 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004298/0.5668, allocations: 127.4 kB / 0.5973 GB, free: 7.25 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.5668, allocations: 0 / 0.5973 GB, free: 7.25 MB / 430.1 MB Notification: Performance of Templates: time 0.08228/0.6491, allocations: 80.12 MB / 0.6755 GB, free: 7.137 MB / 0.4981 GB 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)