Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.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.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004866/0.004866, allocations: 105.5 kB / 15.74 MB, free: 6.008 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.00113/0.001131, allocations: 194.4 kB / 16.67 MB, free: 5.93 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.455/1.455, 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.03915/0.03915, allocations: 8.051 MB / 298.6 MB, free: 6.801 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001356, allocations: 67.89 kB / 413.1 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1228/0.1242, 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=0.1/(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: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.SmaDriveLim): time 0.0118/0.136, allocations: 9.904 MB / 474.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006709/0.1428, allocations: 2.867 MB / 477 MB, free: 6.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002078/0.1449, allocations: 47.81 kB / 477.1 MB, free: 6.203 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.1465, allocations: 0.5315 MB / 477.6 MB, free: 5.668 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002668/0.1492, allocations: 0.7727 MB / 478.4 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1504, allocations: 0.4954 MB / 478.9 MB, free: 4.395 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.003476/0.1539, allocations: 2.572 MB / 481.4 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.1559, allocations: 1.672 MB / 483.1 MB, free: 92 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.158, allocations: 1.09 MB / 484.2 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002165/0.1602, allocations: 1.362 MB / 485.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003956/0.1606, allocations: 288 kB / 485.8 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007737/0.1614, allocations: 387.8 kB / 486.2 MB, free: 12.97 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007897/0.1622, allocations: 0.8142 MB / 487 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.1638, allocations: 1.283 MB / 488.3 MB, free: 10.86 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004321/0.1681, allocations: 3.707 MB / 492 MB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1681, allocations: 0 / 492 MB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.1682, allocations: 0 / 492 MB, free: 7.145 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001135/0.1683, allocations: 3.938 kB / 492 MB, free: 7.141 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.006997/0.1753, allocations: 2.754 MB / 494.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.1753, allocations: 12.03 kB / 494.8 MB, free: 4.312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007511/0.1761, allocations: 270 kB / 495.1 MB, free: 4.047 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002338/0.1785, allocations: 1.381 MB / 496.4 MB, free: 2.609 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000183/0.1787, allocations: 189.5 kB / 496.6 MB, free: 2.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/0.179, allocations: 195.9 kB / 496.8 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004777/0.1837, allocations: 2.606 MB / 499.4 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.219e-05/0.1838, allocations: 11.91 kB / 499.4 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001921/0.184, allocations: 76 kB / 499.5 MB, free: 15.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001215/0.1842, allocations: 99.73 kB / 499.6 MB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004088/0.1882, allocations: 2.193 MB / 0.49 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01302/0.2013, allocations: 8.235 MB / 0.4981 GB, free: 4.707 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003113/0.2044, allocations: 1.627 MB / 0.4997 GB, free: 3.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.2059, allocations: 0.7961 MB / 0.5005 GB, free: 2.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002441/0.2062, allocations: 130 kB / 0.5006 GB, free: 2.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001446/0.2076, allocations: 0.799 MB / 0.5014 GB, free: 1.25 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.966e-06/0.2076, allocations: 0 / 0.5014 GB, free: 1.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.3051/0.5128, allocations: 6.634 MB / 0.5078 GB, free: 44.22 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.922e-05/0.5129, allocations: 169.8 kB / 0.508 GB, free: 44.03 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.002507/0.5154, allocations: 1.366 MB / 0.5093 GB, free: 43.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001367/0.5156, allocations: 47.98 kB / 0.5094 GB, free: 43.44 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008487/0.5164, allocations: 0.9674 MB / 0.5103 GB, free: 42.7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.5168, allocations: 419.5 kB / 0.5107 GB, free: 42.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004682/0.5173, allocations: 268.9 kB / 0.511 GB, free: 42.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.65e-05/0.5173, allocations: 309.8 kB / 0.5113 GB, free: 41.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.5188, allocations: 0.7492 MB / 0.512 GB, free: 41.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00199/0.5208, allocations: 1.186 MB / 0.5132 GB, free: 40.92 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.5318, allocations: 3.972 MB / 0.517 GB, free: 39.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-05/0.5318, allocations: 2.906 kB / 0.517 GB, free: 39.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00654/0.5384, allocations: 2.73 MB / 0.5197 GB, free: 38.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.445e-05/0.5385, allocations: 40.36 kB / 0.5197 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.788e-05/0.5385, allocations: 12.38 kB / 0.5198 GB, free: 38.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002423/0.5409, allocations: 0.5984 MB / 0.5203 GB, free: 38.05 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001748/0.5427, allocations: 420.2 kB / 0.5207 GB, free: 38.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009616/0.5523, allocations: 9.537 MB / 0.5301 GB, free: 29.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/0.5543, allocations: 135.2 kB / 0.5302 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001897/0.5545, allocations: 62.05 kB / 0.5302 GB, free: 29.4 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.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" 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.002673/0.5572, allocations: 1.273 MB / 0.5315 GB, free: 28.69 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001477/0.5587, allocations: 1.173 MB / 0.5326 GB, free: 27.78 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009304/0.568, allocations: 3.94 MB / 0.5365 GB, free: 23.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.577e-05/0.568, allocations: 4 kB / 0.5365 GB, free: 23.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005625/0.5737, allocations: 2.698 MB / 0.5391 GB, free: 21.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.745e-05/0.5737, allocations: 41.69 kB / 0.5392 GB, free: 21.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.5738, allocations: 16.67 kB / 0.5392 GB, free: 21.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002161/0.5759, allocations: 0.6014 MB / 0.5398 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.5775, allocations: 407.4 kB / 0.5402 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008768/0.5863, allocations: 9.545 MB / 0.5495 GB, free: 9.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/0.5882, allocations: 147.8 kB / 0.5496 GB, free: 9.699 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/0.5885, allocations: 59.98 kB / 0.5497 GB, free: 9.641 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.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" 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: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006458/0.5891, allocations: 300.4 kB / 0.55 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005218/0.5897, allocations: 158.1 kB / 0.5501 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005133/0.5948, allocations: 2.399 MB / 0.5525 GB, free: 6.77 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.5948, allocations: 15.98 kB / 0.5525 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.5948, allocations: 0 / 0.5525 GB, free: 6.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.383e-05/0.5949, allocations: 3.984 kB / 0.5525 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008934/0.6038, allocations: 4.685 MB / 0.557 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/0.6038, allocations: 3.938 kB / 0.5571 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.6051, allocations: 283.9 kB / 0.5573 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.6071, allocations: 0.5902 MB / 0.5579 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.6072, allocations: 31.98 kB / 0.5579 GB, free: 1.066 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01176/0.6189, allocations: 9.711 MB / 0.5674 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.619, allocations: 3.938 kB / 0.5674 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008238/0.6272, allocations: 3.428 MB / 0.5708 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/0.6284, allocations: 375.1 kB / 0.5711 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005707/0.629, allocations: 35.98 kB / 0.5712 GB, free: 2.746 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.6304, allocations: 99.88 kB / 0.5713 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003884/0.6308, allocations: 120.7 kB / 0.5714 GB, free: 2.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.91e-05/0.6309, allocations: 39.98 kB / 0.5714 GB, free: 2.492 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001934/0.6329, allocations: 0.9243 MB / 0.5723 GB, free: 1.566 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6329, allocations: 0 / 0.5723 GB, free: 1.566 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003839/0.6367, allocations: 0.7891 MB / 0.5731 GB, free: 0.7773 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004444/0.6372, allocations: 188.3 kB / 0.5733 GB, free: 0.582 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01113/0.6483, allocations: 4.859 MB / 0.578 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.6484, allocations: 4 kB / 0.578 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00362/0.652, allocations: 1.837 MB / 0.5798 GB, free: 9.621 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00286/0.6549, allocations: 424.5 kB / 0.5802 GB, free: 9.219 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009707/0.6646, allocations: 4.176 MB / 0.5843 GB, free: 5.012 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002647/0.6673, allocations: 1.688 MB / 0.5859 GB, free: 3.285 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001904/0.6692, allocations: 488.8 kB / 0.5864 GB, free: 2.801 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005339/0.6698, allocations: 111.4 kB / 0.5865 GB, free: 2.691 MB / 414.1 MB Notification: Performance of SimCode: time 1.002e-06/0.6698, allocations: 0 / 0.5865 GB, free: 2.691 MB / 414.1 MB Notification: Performance of Templates: time 0.06323/0.733, allocations: 32.02 MB / 0.6178 GB, free: 2.91 MB / 446.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)