Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.007405/0.007405, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001751/0.001751, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.384/1.384, allocations: 222.9 MB / 240.4 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.0418/0.0418, allocations: 8.049 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 59.91 kB / 413.1 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1255, allocations: 51.19 MB / 464.3 MB, free: 3.051 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.01442/0.14, allocations: 11.58 MB / 475.8 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008008/0.148, allocations: 3.221 MB / 479.1 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002641/0.1507, allocations: 63.75 kB / 479.1 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002316/0.153, allocations: 0.6438 MB / 479.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003526/0.1566, allocations: 0.8423 MB / 480.6 MB, free: 2.629 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001621/0.1582, allocations: 0.6358 MB / 481.3 MB, free: 1.992 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.0042/0.1624, allocations: 3.095 MB / 484.3 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002921/0.1653, allocations: 2.548 MB / 486.9 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001929/0.1673, allocations: 1.355 MB / 488.3 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002119/0.1694, allocations: 1.654 MB / 489.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004439/0.1699, allocations: 384 kB / 490.3 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007132/0.1706, allocations: 475.8 kB / 490.7 MB, free: 8.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008626/0.1715, allocations: 1.009 MB / 491.8 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.1733, allocations: 1.657 MB / 493.4 MB, free: 5.738 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005036/0.1783, allocations: 4.79 MB / 498.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1784, allocations: 0 / 498.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1784, allocations: 0 / 498.2 MB, free: 0.9336 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.208e-05/0.1785, allocations: 0 / 498.2 MB, free: 0.9336 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.006677/0.1851, allocations: 3.262 MB / 0.4897 GB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/0.1852, allocations: 12.03 kB / 0.4897 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008282/0.1861, allocations: 337.2 kB / 0.49 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/0.1887, allocations: 1.651 MB / 0.4917 GB, free: 11.55 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/0.1889, allocations: 231.4 kB / 0.4919 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/0.1893, allocations: 271.9 kB / 0.4921 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005963/0.1952, allocations: 3.326 MB / 0.4954 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.798e-05/0.1954, allocations: 12 kB / 0.4954 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002476/0.1956, allocations: 112 kB / 0.4955 GB, free: 7.523 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001331/0.1957, allocations: 129.2 kB / 0.4956 GB, free: 7.395 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/0.2007, allocations: 2.659 MB / 0.4982 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2867/0.4875, allocations: 10.65 MB / 0.5086 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003091/0.4906, allocations: 1.844 MB / 0.5104 GB, free: 38.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001645/0.4923, allocations: 0.9087 MB / 0.5113 GB, free: 38.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002258/0.4925, allocations: 127.2 kB / 0.5114 GB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.675e-05/0.4926, allocations: 47.23 kB / 0.5115 GB, free: 38.13 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.446e-06/0.4926, allocations: 3.375 kB / 0.5115 GB, free: 38.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02025/0.5128, allocations: 7.293 MB / 0.5186 GB, free: 35.65 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.5129, allocations: 94.34 kB / 0.5187 GB, free: 35.55 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.002115/0.515, allocations: 1.432 MB / 0.5201 GB, free: 34.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.5152, allocations: 46.8 kB / 0.5201 GB, free: 34.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006812/0.5159, allocations: 1.206 MB / 0.5213 GB, free: 33.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004311/0.5163, allocations: 464.7 kB / 0.5218 GB, free: 33.56 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005178/0.5168, allocations: 296.4 kB / 0.522 GB, free: 33.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.912e-05/0.5169, allocations: 310.2 kB / 0.5223 GB, free: 33.08 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.5183, allocations: 0.7792 MB / 0.5231 GB, free: 32.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001438/0.5198, allocations: 1.238 MB / 0.5243 GB, free: 31.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00929/0.5291, allocations: 4.049 MB / 0.5283 GB, free: 29.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/0.5291, allocations: 3.562 kB / 0.5283 GB, free: 29.3 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006457/0.5356, allocations: 3.04 MB / 0.5312 GB, free: 27.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/0.5356, allocations: 10.88 kB / 0.5312 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/0.5356, allocations: 17.98 kB / 0.5313 GB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002791/0.5384, allocations: 0.7147 MB / 0.532 GB, free: 27.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.5399, allocations: 394.9 kB / 0.5323 GB, free: 27.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.5503, allocations: 8.375 MB / 0.5405 GB, free: 18.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.5519, allocations: 127.7 kB / 0.5406 GB, free: 18.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.552, allocations: 67.98 kB / 0.5407 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.002081/0.5541, allocations: 1.4 MB / 0.5421 GB, free: 16.76 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001207/0.5553, allocations: 1.234 MB / 0.5433 GB, free: 15.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008821/0.5641, allocations: 4.01 MB / 0.5472 GB, free: 11.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.878e-06/0.5642, allocations: 4 kB / 0.5472 GB, free: 11.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006101/0.5703, allocations: 2.957 MB / 0.5501 GB, free: 8.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5703, allocations: 18.17 kB / 0.5501 GB, free: 8.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.64e-05/0.5704, allocations: 16 kB / 0.5501 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002636/0.573, allocations: 0.6995 MB / 0.5508 GB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.5744, allocations: 399.3 kB / 0.5512 GB, free: 7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01096/0.5853, allocations: 8.161 MB / 0.5591 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.5876, allocations: 115.9 kB / 0.5592 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002134/0.5879, allocations: 67.98 kB / 0.5593 GB, free: 14.25 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.000599/0.5885, allocations: 304.5 kB / 0.5596 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004038/0.5889, allocations: 161.9 kB / 0.5598 GB, free: 13.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/0.5957, allocations: 2.668 MB / 0.5624 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.409e-05/0.5957, allocations: 12.14 kB / 0.5624 GB, free: 11.09 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/0.5957, allocations: 11.92 kB / 0.5624 GB, free: 11.08 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-05/0.5958, allocations: 11.97 kB / 0.5624 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0118/0.6076, allocations: 5.34 MB / 0.5676 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.6076, allocations: 0 / 0.5676 GB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6088, allocations: 251.9 kB / 0.5679 GB, free: 5.418 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002771/0.6116, allocations: 0.7018 MB / 0.5685 GB, free: 4.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.6117, allocations: 31.98 kB / 0.5686 GB, free: 4.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01374/0.6254, allocations: 8.508 MB / 0.5769 GB, free: 11.74 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.6255, allocations: 3.984 kB / 0.5769 GB, free: 11.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008462/0.634, allocations: 3.753 MB / 0.5805 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009577/0.635, allocations: 395 kB / 0.5809 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.6352, allocations: 28 kB / 0.581 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.6363, allocations: 99.81 kB / 0.581 GB, free: 7.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/0.6366, allocations: 121.1 kB / 0.5812 GB, free: 7.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.424e-05/0.6367, allocations: 43.98 kB / 0.5812 GB, free: 7.238 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00158/0.6383, allocations: 0.9542 MB / 0.5821 GB, free: 6.285 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6383, allocations: 4 kB / 0.5821 GB, free: 6.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003111/0.6415, allocations: 0.9023 MB / 0.583 GB, free: 5.379 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.0004023/0.6419, allocations: 189.5 kB / 0.5832 GB, free: 5.188 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009251/0.6511, allocations: 4.599 MB / 0.5877 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.917e-06/0.6512, allocations: 0 / 0.5877 GB, free: 492 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/0.6548, allocations: 1.756 MB / 0.5894 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002785/0.6576, allocations: 463.4 kB / 0.5898 GB, free: 14.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00908/0.6667, allocations: 4.833 MB / 0.5946 GB, free: 9.371 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00174/0.6685, allocations: 1.928 MB / 0.5965 GB, free: 7.406 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001555/0.6701, allocations: 0.4941 MB / 0.5969 GB, free: 6.906 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/0.6705, allocations: 111.4 kB / 0.597 GB, free: 6.797 MB / 430.1 MB Notification: Performance of SimCode: time 1.092e-06/0.6705, allocations: 0 / 0.597 GB, free: 6.797 MB / 430.1 MB Notification: Performance of Templates: time 0.06082/0.7313, allocations: 34.81 MB / 0.631 GB, free: 4.254 MB / 462.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1)