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.00127/0.00127, allocations: 105 kB / 16.41 MB, free: 5.973 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.001281/0.001281, allocations: 188.5 kB / 17.34 MB, free: 5.586 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.288/1.288, 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.03768/0.03768, allocations: 8.039 MB / 299.2 MB, free: 6.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 59.89 kB / 413.7 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09249/0.09369, allocations: 51.19 MB / 464.9 MB, free: 3.055 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.01379/0.1075, allocations: 11.58 MB / 476.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006696/0.1143, allocations: 3.221 MB / 479.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002242/0.1165, allocations: 63.75 kB / 479.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.1186, allocations: 0.6399 MB / 480.4 MB, free: 3.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003447/0.122, allocations: 0.8422 MB / 481.3 MB, free: 2.633 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001803/0.1239, allocations: 0.6397 MB / 481.9 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.004322/0.1282, allocations: 3.091 MB / 485 MB, free: 14.89 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004131/0.1323, allocations: 2.552 MB / 487.6 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002285/0.1347, allocations: 1.351 MB / 488.9 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002809/0.1375, allocations: 1.662 MB / 490.6 MB, free: 9.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001014/0.1385, allocations: 384 kB / 491 MB, free: 8.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00142/0.14, allocations: 475.8 kB / 491.4 MB, free: 8.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00156/0.1415, allocations: 1.005 MB / 492.4 MB, free: 7.402 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002815/0.1444, allocations: 1.653 MB / 494.1 MB, free: 5.742 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00595/0.1503, allocations: 4.786 MB / 498.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1504, allocations: 0 / 498.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1504, allocations: 0 / 498.9 MB, free: 0.9414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001291/0.1505, allocations: 0 / 498.9 MB, free: 0.9414 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.007784/0.1583, allocations: 3.266 MB / 0.4904 GB, free: 13.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.1584, allocations: 12.03 kB / 0.4904 GB, free: 13.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001045/0.1594, allocations: 337.2 kB / 0.4907 GB, free: 13.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003569/0.163, allocations: 1.644 MB / 0.4923 GB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.1633, allocations: 239.4 kB / 0.4925 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006514/0.1639, allocations: 275.8 kB / 0.4928 GB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007026/0.171, allocations: 3.334 MB / 0.4961 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-05/0.1711, allocations: 7.984 kB / 0.4961 GB, free: 7.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003741/0.1715, allocations: 112 kB / 0.4962 GB, free: 7.516 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.1716, allocations: 125.2 kB / 0.4963 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005482/0.1771, allocations: 2.656 MB / 0.4989 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2024/0.3795, allocations: 10.65 MB / 0.5093 GB, free: 39.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003111/0.3827, allocations: 1.842 MB / 0.5111 GB, free: 38.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001551/0.3843, allocations: 0.9107 MB / 0.512 GB, free: 38.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002137/0.3845, allocations: 123.6 kB / 0.5121 GB, free: 38.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.3845, allocations: 50.67 kB / 0.5121 GB, free: 38.4 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.106e-06/0.3845, allocations: 1.531 kB / 0.5121 GB, free: 38.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01931/0.4039, allocations: 7.289 MB / 0.5193 GB, free: 35.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4039, allocations: 96.25 kB / 0.5193 GB, free: 35.81 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.001988/0.4059, allocations: 1.433 MB / 0.5207 GB, free: 35.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.4061, allocations: 51.2 kB / 0.5208 GB, free: 35.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/0.4067, allocations: 1.204 MB / 0.522 GB, free: 34.16 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.4069, allocations: 466.2 kB / 0.5224 GB, free: 33.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000403/0.4074, allocations: 297.1 kB / 0.5227 GB, free: 33.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.4074, allocations: 302.3 kB / 0.523 GB, free: 33.3 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/0.4086, allocations: 0.783 MB / 0.5237 GB, free: 32.9 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.4098, allocations: 1.238 MB / 0.525 GB, free: 31.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00878/0.4186, allocations: 4.055 MB / 0.5289 GB, free: 29.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/0.4186, allocations: 6 kB / 0.5289 GB, free: 29.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006002/0.4246, allocations: 3.04 MB / 0.5319 GB, free: 27.97 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.621e-05/0.4247, allocations: 11.75 kB / 0.5319 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/0.4247, allocations: 21.09 kB / 0.5319 GB, free: 27.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/0.4273, allocations: 0.715 MB / 0.5326 GB, free: 27.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.4286, allocations: 391.5 kB / 0.533 GB, free: 27.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009984/0.4386, allocations: 8.362 MB / 0.5412 GB, free: 18.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/0.4403, allocations: 127.8 kB / 0.5413 GB, free: 18.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/0.4405, allocations: 71.98 kB / 0.5414 GB, free: 18.31 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.002113/0.4426, allocations: 1.409 MB / 0.5427 GB, free: 16.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001168/0.4438, allocations: 1.234 MB / 0.5439 GB, free: 15.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008518/0.4523, allocations: 4.013 MB / 0.5479 GB, free: 11.26 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.251e-05/0.4523, allocations: 4 kB / 0.5479 GB, free: 11.26 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005692/0.458, allocations: 2.964 MB / 0.5507 GB, free: 8.277 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.4581, allocations: 12 kB / 0.5508 GB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.663e-05/0.4581, allocations: 15.94 kB / 0.5508 GB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002453/0.4606, allocations: 0.7057 MB / 0.5515 GB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00127/0.4619, allocations: 383.4 kB / 0.5518 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009514/0.4714, allocations: 8.163 MB / 0.5598 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4731, allocations: 115.8 kB / 0.5599 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.4732, allocations: 75.92 kB / 0.56 GB, free: 14.4 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.0004616/0.4737, allocations: 303.2 kB / 0.5603 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003265/0.474, allocations: 162 kB / 0.5604 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006127/0.4802, allocations: 2.664 MB / 0.563 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.374e-05/0.4802, allocations: 16 kB / 0.563 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4802, allocations: 0 / 0.563 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-05/0.4802, allocations: 11.91 kB / 0.5631 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01117/0.4914, allocations: 5.343 MB / 0.5683 GB, free: 5.824 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.087e-05/0.4915, allocations: 7.938 kB / 0.5683 GB, free: 5.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.4926, allocations: 255.9 kB / 0.5685 GB, free: 5.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002533/0.4951, allocations: 0.694 MB / 0.5692 GB, free: 4.859 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001156/0.4952, allocations: 35.98 kB / 0.5692 GB, free: 4.824 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01222/0.5075, allocations: 8.512 MB / 0.5776 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5075, allocations: 7.938 kB / 0.5776 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007832/0.5153, allocations: 3.742 MB / 0.5812 GB, free: 8.09 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.5164, allocations: 383 kB / 0.5816 GB, free: 7.695 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004092/0.5169, allocations: 39.92 kB / 0.5816 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.5181, allocations: 95.89 kB / 0.5817 GB, free: 7.562 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003374/0.5184, allocations: 117.1 kB / 0.5818 GB, free: 7.445 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/0.5185, allocations: 39.98 kB / 0.5819 GB, free: 7.406 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001669/0.5202, allocations: 0.9659 MB / 0.5828 GB, free: 6.441 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.5202, allocations: 0 / 0.5828 GB, free: 6.441 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003628/0.5238, allocations: 0.9062 MB / 0.5837 GB, free: 5.535 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.0004381/0.5243, allocations: 193.7 kB / 0.5839 GB, free: 5.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008565/0.5329, allocations: 4.601 MB / 0.5884 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/0.5329, allocations: 4 kB / 0.5884 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003263/0.5362, allocations: 1.749 MB / 0.5901 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.5386, allocations: 458.1 kB / 0.5905 GB, free: 14.4 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008782/0.5474, allocations: 4.887 MB / 0.5953 GB, free: 9.465 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001744/0.5492, allocations: 1.909 MB / 0.5971 GB, free: 7.52 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005951/0.5498, allocations: 123.4 kB / 0.5973 GB, free: 7.398 MB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.5498, allocations: 0 / 0.5973 GB, free: 7.398 MB / 430.1 MB Notification: Performance of Templates: time 0.08581/0.6357, allocations: 80.12 MB / 0.6755 GB, free: 7.285 MB / 0.4981 GB 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)