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.008688/0.008695, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001453/0.001453, allocations: 193.4 kB / 16.67 MB, free: 5.969 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04513/0.04513, allocations: 8.038 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 55.91 kB / 413.1 MB, free: 22.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1182, allocations: 51.19 MB / 464.3 MB, free: 3.039 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.01374/0.132, allocations: 11.58 MB / 475.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00857/0.1406, allocations: 3.217 MB / 479.1 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002706/0.1433, allocations: 67.75 kB / 479.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001955/0.1453, allocations: 0.6399 MB / 479.8 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003461/0.1488, allocations: 0.8462 MB / 480.6 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001612/0.1504, allocations: 0.6358 MB / 481.2 MB, free: 1.98 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.004364/0.1548, allocations: 3.091 MB / 484.3 MB, free: 14.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002948/0.1577, allocations: 2.556 MB / 486.9 MB, free: 12.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002227/0.16, allocations: 1.363 MB / 488.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.1627, allocations: 1.65 MB / 489.9 MB, free: 9.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006237/0.1633, allocations: 388 kB / 490.3 MB, free: 8.855 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001008/0.1644, allocations: 475.8 kB / 490.8 MB, free: 8.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009651/0.1653, allocations: 1.001 MB / 491.8 MB, free: 7.387 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001743/0.1671, allocations: 1.657 MB / 493.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005323/0.1724, allocations: 4.803 MB / 498.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.1724, allocations: 0 / 498.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1725, allocations: 0 / 498.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001223/0.1726, allocations: 0 / 498.2 MB, free: 0.9023 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.007264/0.1798, allocations: 3.342 MB / 0.4898 GB, free: 13.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.1799, allocations: 8.031 kB / 0.4898 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008497/0.1808, allocations: 350.9 kB / 0.4901 GB, free: 13.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003052/0.1838, allocations: 1.66 MB / 0.4918 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002033/0.1841, allocations: 242.4 kB / 0.492 GB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003897/0.1845, allocations: 264 kB / 0.4922 GB, free: 10.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005663/0.1901, allocations: 3.334 MB / 0.4955 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.55e-05/0.1902, allocations: 11.95 kB / 0.4955 GB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00025/0.1905, allocations: 108 kB / 0.4956 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001299/0.1906, allocations: 121.2 kB / 0.4957 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005269/0.1959, allocations: 2.667 MB / 0.4983 GB, free: 4.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3739/0.5698, allocations: 10.68 MB / 0.5088 GB, free: 39.24 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003736/0.5736, allocations: 1.843 MB / 0.5106 GB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001919/0.5756, allocations: 0.9117 MB / 0.5115 GB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002514/0.5758, allocations: 124.2 kB / 0.5116 GB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.5759, allocations: 45.16 kB / 0.5116 GB, free: 38.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 2.845e-06/0.5759, allocations: 0 / 0.5116 GB, free: 38.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02217/0.5981, allocations: 7.332 MB / 0.5188 GB, free: 35.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/0.5982, allocations: 98 kB / 0.5189 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.002572/0.6008, allocations: 1.434 MB / 0.5203 GB, free: 34.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001763/0.6009, allocations: 50.8 kB / 0.5203 GB, free: 34.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008091/0.6018, allocations: 1.233 MB / 0.5215 GB, free: 34.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004479/0.6022, allocations: 492.2 kB / 0.522 GB, free: 33.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000498/0.6027, allocations: 297.6 kB / 0.5223 GB, free: 33.47 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.935e-05/0.6028, allocations: 305.1 kB / 0.5226 GB, free: 33.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/0.6041, allocations: 0.7759 MB / 0.5233 GB, free: 32.78 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.6055, allocations: 1.249 MB / 0.5245 GB, free: 31.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009165/0.6147, allocations: 4.043 MB / 0.5285 GB, free: 29.38 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.6147, allocations: 3.938 kB / 0.5285 GB, free: 29.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006504/0.6212, allocations: 3.048 MB / 0.5315 GB, free: 27.84 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.671e-05/0.6213, allocations: 12.45 kB / 0.5315 GB, free: 27.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.161e-05/0.6213, allocations: 21.11 kB / 0.5315 GB, free: 27.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/0.6242, allocations: 0.7123 MB / 0.5322 GB, free: 27.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.6256, allocations: 392.5 kB / 0.5326 GB, free: 27.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.6362, allocations: 8.382 MB / 0.5408 GB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002621/0.6388, allocations: 127.9 kB / 0.5409 GB, free: 18.21 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002392/0.6391, allocations: 67.98 kB / 0.5409 GB, free: 18.14 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.002908/0.642, allocations: 1.402 MB / 0.5423 GB, free: 16.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001291/0.6433, allocations: 1.234 MB / 0.5435 GB, free: 15.3 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009231/0.6525, allocations: 4.012 MB / 0.5474 GB, free: 11.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.879e-06/0.6526, allocations: 4 kB / 0.5474 GB, free: 11.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006607/0.6592, allocations: 2.973 MB / 0.5503 GB, free: 8.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.6592, allocations: 12 kB / 0.5504 GB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.6592, allocations: 23.55 kB / 0.5504 GB, free: 8.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002721/0.662, allocations: 0.6982 MB / 0.5511 GB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/0.6633, allocations: 395.2 kB / 0.5514 GB, free: 6.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01036/0.6737, allocations: 8.171 MB / 0.5594 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.6757, allocations: 115.9 kB / 0.5595 GB, free: 14.28 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.6759, allocations: 67.98 kB / 0.5596 GB, free: 14.21 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.0006346/0.6765, allocations: 303.2 kB / 0.5599 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.6769, allocations: 174.9 kB / 0.56 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006488/0.6834, allocations: 2.668 MB / 0.5627 GB, free: 11.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.6835, allocations: 12 kB / 0.5627 GB, free: 11.05 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.6835, allocations: 4 kB / 0.5627 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.517e-05/0.6835, allocations: 7.969 kB / 0.5627 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01162/0.6951, allocations: 5.342 MB / 0.5679 GB, free: 5.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.225e-06/0.6951, allocations: 3.938 kB / 0.5679 GB, free: 5.621 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001063/0.6962, allocations: 255.9 kB / 0.5681 GB, free: 5.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/0.6989, allocations: 0.6979 MB / 0.5688 GB, free: 4.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.699, allocations: 35.98 kB / 0.5689 GB, free: 4.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01292/0.7119, allocations: 8.516 MB / 0.5772 GB, free: 11.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.712, allocations: 3.938 kB / 0.5772 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00806/0.72, allocations: 3.747 MB / 0.5808 GB, free: 7.891 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/0.7211, allocations: 407.8 kB / 0.5812 GB, free: 7.473 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004387/0.7216, allocations: 31.94 kB / 0.5813 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.7228, allocations: 103.9 kB / 0.5814 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/0.7231, allocations: 117.1 kB / 0.5815 GB, free: 7.223 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001012/0.7232, allocations: 39.98 kB / 0.5815 GB, free: 7.184 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001726/0.725, allocations: 0.9581 MB / 0.5824 GB, free: 6.227 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.725, allocations: 7.938 kB / 0.5824 GB, free: 6.219 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003466/0.7284, allocations: 0.9062 MB / 0.5833 GB, free: 5.312 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.0004217/0.7289, allocations: 191 kB / 0.5835 GB, free: 5.117 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00907/0.7379, allocations: 4.623 MB / 0.588 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/0.738, allocations: 0 / 0.588 GB, free: 392 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003432/0.7414, allocations: 1.742 MB / 0.5897 GB, free: 14.59 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/0.7442, allocations: 459.1 kB / 0.5902 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009451/0.7537, allocations: 4.93 MB / 0.595 GB, free: 9.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002057/0.7558, allocations: 1.924 MB / 0.5969 GB, free: 7.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001559/0.7574, allocations: 498 kB / 0.5973 GB, free: 6.719 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000345/0.7577, allocations: 119.4 kB / 0.5974 GB, free: 6.602 MB / 430.1 MB Notification: Performance of SimCode: time 8.51e-07/0.7577, allocations: 0 / 0.5974 GB, free: 6.602 MB / 430.1 MB Notification: Performance of Templates: time 0.06067/0.8184, allocations: 34.81 MB / 0.6314 GB, free: 4.066 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)