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.0068/0.0068, allocations: 101.6 kB / 15.73 MB, free: 5.586 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.001271/0.001271, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.485/1.485, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04205/0.04205, allocations: 8.045 MB / 298.6 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 55.91 kB / 413.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1409, allocations: 51.2 MB / 464.3 MB, free: 3.07 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.01574/0.1567, allocations: 11.58 MB / 475.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007548/0.1643, allocations: 3.221 MB / 479.1 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002084/0.1664, allocations: 67.75 kB / 479.1 MB, free: 4.141 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001824/0.1683, allocations: 0.636 MB / 479.8 MB, free: 3.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003006/0.1713, allocations: 0.85 MB / 480.6 MB, free: 2.645 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001351/0.1726, allocations: 0.6348 MB / 481.3 MB, free: 2.012 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.003865/0.1765, allocations: 3.094 MB / 484.3 MB, free: 14.91 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.1796, allocations: 2.556 MB / 486.9 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002041/0.1817, allocations: 1.355 MB / 488.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.1841, allocations: 1.65 MB / 489.9 MB, free: 9.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005585/0.1847, allocations: 388 kB / 490.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008345/0.1856, allocations: 479.8 kB / 490.8 MB, free: 8.422 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009327/0.1865, allocations: 0.9974 MB / 491.8 MB, free: 7.422 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001788/0.1883, allocations: 1.657 MB / 493.4 MB, free: 5.758 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004743/0.1931, allocations: 4.782 MB / 498.2 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1931, allocations: 4 kB / 498.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1931, allocations: 0 / 498.2 MB, free: 0.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.482e-05/0.1932, allocations: 0 / 498.2 MB, free: 0.957 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.006564/0.1997, allocations: 3.266 MB / 0.4897 GB, free: 13.63 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1998, allocations: 12.03 kB / 0.4897 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008323/0.2006, allocations: 333.2 kB / 0.49 GB, free: 13.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002669/0.2033, allocations: 1.651 MB / 0.4917 GB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002466/0.2036, allocations: 235.4 kB / 0.4919 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.204, allocations: 271.9 kB / 0.4921 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005887/0.2099, allocations: 3.33 MB / 0.4954 GB, free: 7.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.71e-05/0.2099, allocations: 11.92 kB / 0.4954 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002453/0.2102, allocations: 108 kB / 0.4955 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.2104, allocations: 129.2 kB / 0.4956 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004982/0.2153, allocations: 2.656 MB / 0.4982 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2702/0.4856, allocations: 10.65 MB / 0.5086 GB, free: 40.17 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00349/0.4891, allocations: 1.839 MB / 0.5104 GB, free: 39.29 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.491, allocations: 0.9119 MB / 0.5113 GB, free: 38.99 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.4912, allocations: 129.9 kB / 0.5114 GB, free: 38.89 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.4913, allocations: 44.19 kB / 0.5115 GB, free: 38.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 2.755e-06/0.4913, allocations: 0 / 0.5115 GB, free: 38.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02055/0.5118, allocations: 7.294 MB / 0.5186 GB, free: 36.37 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.512, allocations: 95.36 kB / 0.5187 GB, free: 36.27 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.002719/0.5147, allocations: 1.436 MB / 0.5201 GB, free: 35.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001414/0.5149, allocations: 46.83 kB / 0.5201 GB, free: 35.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007652/0.5156, allocations: 1.212 MB / 0.5213 GB, free: 34.64 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003554/0.516, allocations: 455.2 kB / 0.5217 GB, free: 34.25 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004708/0.5165, allocations: 301 kB / 0.522 GB, free: 34.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.976e-05/0.5165, allocations: 306.3 kB / 0.5223 GB, free: 33.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001453/0.518, allocations: 0.7793 MB / 0.5231 GB, free: 33.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001469/0.5195, allocations: 1.24 MB / 0.5243 GB, free: 32.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009209/0.5287, allocations: 4.053 MB / 0.5283 GB, free: 29.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.199e-05/0.5287, allocations: 4.625 kB / 0.5283 GB, free: 29.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006254/0.535, allocations: 3.045 MB / 0.5312 GB, free: 28.44 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.5351, allocations: 11.31 kB / 0.5312 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.5351, allocations: 14.56 kB / 0.5313 GB, free: 28.44 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002765/0.5379, allocations: 0.7083 MB / 0.5319 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.5393, allocations: 395 kB / 0.5323 GB, free: 27.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5501, allocations: 8.382 MB / 0.5405 GB, free: 19.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.5519, allocations: 119.8 kB / 0.5406 GB, free: 19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001243/0.5521, allocations: 75.98 kB / 0.5407 GB, free: 18.93 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.00215/0.5542, allocations: 1.409 MB / 0.5421 GB, free: 17.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001229/0.5555, allocations: 1.234 MB / 0.5433 GB, free: 16.09 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008752/0.5642, allocations: 4.01 MB / 0.5472 GB, free: 11.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.355e-06/0.5643, allocations: 4 kB / 0.5472 GB, free: 11.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005955/0.5702, allocations: 2.961 MB / 0.5501 GB, free: 8.887 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.5703, allocations: 12 kB / 0.5501 GB, free: 8.875 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.5703, allocations: 16 kB / 0.5501 GB, free: 8.859 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002618/0.5729, allocations: 0.6978 MB / 0.5508 GB, free: 8.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/0.5743, allocations: 395.4 kB / 0.5512 GB, free: 7.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01009/0.5843, allocations: 8.15 MB / 0.5591 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.5861, allocations: 119.8 kB / 0.5592 GB, free: 15.08 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/0.5862, allocations: 71.98 kB / 0.5593 GB, free: 15.01 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.0005468/0.5868, allocations: 305.5 kB / 0.5596 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.5871, allocations: 165.9 kB / 0.5598 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006509/0.5936, allocations: 2.664 MB / 0.5624 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/0.5937, allocations: 12 kB / 0.5624 GB, free: 11.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.5937, allocations: 11.88 kB / 0.5624 GB, free: 11.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.649e-05/0.5937, allocations: 11.91 kB / 0.5624 GB, free: 11.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.6049, allocations: 5.335 MB / 0.5676 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.584e-06/0.6049, allocations: 0 / 0.5676 GB, free: 6.434 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.606, allocations: 252 kB / 0.5679 GB, free: 6.188 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002696/0.6087, allocations: 0.7056 MB / 0.5685 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.6088, allocations: 39.92 kB / 0.5686 GB, free: 5.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.6219, allocations: 8.497 MB / 0.5769 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6219, allocations: 8 kB / 0.5769 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008296/0.6302, allocations: 3.743 MB / 0.5805 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6313, allocations: 402.8 kB / 0.5809 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004893/0.6318, allocations: 31.98 kB / 0.581 GB, free: 8.262 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.6331, allocations: 91.89 kB / 0.581 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003655/0.6335, allocations: 129 kB / 0.5812 GB, free: 8.043 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001036/0.6336, allocations: 39.98 kB / 0.5812 GB, free: 8.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001833/0.6354, allocations: 0.9621 MB / 0.5821 GB, free: 7.043 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6355, allocations: 0 / 0.5821 GB, free: 7.043 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003796/0.6393, allocations: 0.905 MB / 0.583 GB, free: 6.141 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.0004512/0.6397, allocations: 187.1 kB / 0.5832 GB, free: 5.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009208/0.6489, allocations: 4.607 MB / 0.5877 GB, free: 1.238 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/0.649, allocations: 4.859 kB / 0.5877 GB, free: 1.234 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003651/0.6526, allocations: 1.738 MB / 0.5894 GB, free: 15.44 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002634/0.6553, allocations: 457.8 kB / 0.5898 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009815/0.6651, allocations: 4.843 MB / 0.5946 GB, free: 10.12 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002474/0.6676, allocations: 1.927 MB / 0.5965 GB, free: 8.16 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001767/0.6694, allocations: 0.4902 MB / 0.5969 GB, free: 7.664 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004793/0.6699, allocations: 115.4 kB / 0.597 GB, free: 7.551 MB / 430.1 MB Notification: Performance of SimCode: time 8.02e-07/0.6699, allocations: 3.938 kB / 0.597 GB, free: 7.547 MB / 430.1 MB Notification: Performance of Templates: time 0.06262/0.7326, allocations: 34.8 MB / 0.631 GB, free: 5.016 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)