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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.001704/0.001704, allocations: 105.3 kB / 16.41 MB, free: 6.422 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.001672/0.001672, allocations: 189.7 kB / 17.34 MB, free: 5.691 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.427/1.427, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.04326/0.04326, allocations: 8.037 MB / 299.2 MB, free: 6.773 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001808/0.001808, allocations: 63.89 kB / 413.7 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1054, allocations: 51.18 MB / 464.9 MB, free: 3.066 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.01296/0.1184, allocations: 9.913 MB / 474.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006939/0.1253, allocations: 2.871 MB / 477.7 MB, free: 6.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001845/0.1272, allocations: 51.81 kB / 477.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00205/0.1293, allocations: 0.5276 MB / 478.3 MB, free: 5.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003284/0.1326, allocations: 0.7805 MB / 479.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.1343, allocations: 0.4992 MB / 479.6 MB, free: 4.363 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.004137/0.1385, allocations: 2.566 MB / 482.1 MB, free: 1.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002446/0.1409, allocations: 1.668 MB / 483.8 MB, free: 68 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00202/0.143, allocations: 1.094 MB / 484.9 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002379/0.1454, allocations: 1.362 MB / 486.3 MB, free: 13.6 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006398/0.146, allocations: 292 kB / 486.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.1471, allocations: 379.8 kB / 486.9 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009995/0.1482, allocations: 0.8103 MB / 487.7 MB, free: 12.13 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001761/0.1499, allocations: 1.287 MB / 489 MB, free: 10.84 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004584/0.1545, allocations: 3.725 MB / 492.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.171e-05/0.1546, allocations: 0 / 492.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1546, allocations: 0 / 492.7 MB, free: 7.102 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.675e-05/0.1547, allocations: 0 / 492.7 MB, free: 7.102 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.006666/0.1613, allocations: 2.814 MB / 495.5 MB, free: 4.223 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.1614, allocations: 8.031 kB / 495.6 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008014/0.1622, allocations: 291.3 kB / 495.8 MB, free: 3.93 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002773/0.165, allocations: 1.386 MB / 497.2 MB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002083/0.1652, allocations: 177.6 kB / 497.4 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003286/0.1656, allocations: 199.9 kB / 497.6 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004694/0.1703, allocations: 2.614 MB / 0.4885 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.527e-05/0.1703, allocations: 0 / 0.4885 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001898/0.1705, allocations: 83.98 kB / 0.4886 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.1707, allocations: 99.73 kB / 0.4887 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/0.1748, allocations: 2.197 MB / 0.4908 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01448/0.1893, allocations: 8.258 MB / 0.4989 GB, free: 4.566 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003254/0.1926, allocations: 1.619 MB / 0.5005 GB, free: 2.879 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.1942, allocations: 0.8019 MB / 0.5012 GB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002806/0.1945, allocations: 118.1 kB / 0.5013 GB, free: 1.945 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/0.196, allocations: 0.8029 MB / 0.5021 GB, free: 1.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.494e-06/0.196, allocations: 0 / 0.5021 GB, free: 1.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.2109/0.4069, allocations: 6.673 MB / 0.5086 GB, free: 44.21 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/0.407, allocations: 172.2 kB / 0.5088 GB, free: 44.01 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.002262/0.4093, allocations: 1.365 MB / 0.5101 GB, free: 43.47 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002043/0.4095, allocations: 46.98 kB / 0.5102 GB, free: 43.43 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008064/0.4103, allocations: 0.9852 MB / 0.5112 GB, free: 42.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003772/0.4107, allocations: 447.1 kB / 0.5116 GB, free: 42.32 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000444/0.4112, allocations: 273.3 kB / 0.5118 GB, free: 42.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.603e-05/0.4112, allocations: 302.4 kB / 0.5121 GB, free: 41.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/0.4126, allocations: 0.7563 MB / 0.5129 GB, free: 41.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001637/0.4143, allocations: 1.182 MB / 0.514 GB, free: 40.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.4247, allocations: 3.978 MB / 0.5179 GB, free: 39.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.31e-05/0.4248, allocations: 2.75 kB / 0.5179 GB, free: 39.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00589/0.4307, allocations: 2.734 MB / 0.5206 GB, free: 38.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.804e-05/0.4308, allocations: 40.77 kB / 0.5206 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.4308, allocations: 12.38 kB / 0.5206 GB, free: 38.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00232/0.4331, allocations: 0.6026 MB / 0.5212 GB, free: 37.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001649/0.4348, allocations: 414.4 kB / 0.5216 GB, free: 37.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008867/0.4437, allocations: 9.549 MB / 0.5309 GB, free: 29.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001736/0.4454, allocations: 133.5 kB / 0.5311 GB, free: 29.38 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000305/0.4458, allocations: 64.3 kB / 0.5311 GB, free: 29.37 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.002492/0.4483, allocations: 1.274 MB / 0.5324 GB, free: 28.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001522/0.4498, allocations: 1.174 MB / 0.5335 GB, free: 27.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009405/0.4592, allocations: 3.938 MB / 0.5374 GB, free: 23.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.619e-05/0.4593, allocations: 4 kB / 0.5374 GB, free: 23.97 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005685/0.465, allocations: 2.702 MB / 0.54 GB, free: 21.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.407e-05/0.4651, allocations: 45.72 kB / 0.54 GB, free: 21.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.429e-05/0.4651, allocations: 12 kB / 0.5401 GB, free: 21.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002142/0.4672, allocations: 0.6038 MB / 0.5406 GB, free: 20.56 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.4687, allocations: 404.4 kB / 0.541 GB, free: 20.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008505/0.4773, allocations: 9.555 MB / 0.5504 GB, free: 9.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4791, allocations: 143.9 kB / 0.5505 GB, free: 9.781 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002964/0.4794, allocations: 67.97 kB / 0.5506 GB, free: 9.715 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.0006853/0.4801, allocations: 298.5 kB / 0.5509 GB, free: 9.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005317/0.4807, allocations: 163 kB / 0.551 GB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00502/0.4857, allocations: 2.396 MB / 0.5533 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.4857, allocations: 12 kB / 0.5534 GB, free: 6.832 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/0.4858, allocations: 3.984 kB / 0.5534 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4858, allocations: 3.984 kB / 0.5534 GB, free: 6.824 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009249/0.495, allocations: 4.687 MB / 0.5579 GB, free: 2.062 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4951, allocations: 11.94 kB / 0.558 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001177/0.4963, allocations: 283.9 kB / 0.5582 GB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001872/0.4981, allocations: 0.6027 MB / 0.5588 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001228/0.4983, allocations: 27.98 kB / 0.5588 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.5103, allocations: 9.698 MB / 0.5683 GB, free: 6.73 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.688e-05/0.5104, allocations: 7.969 kB / 0.5683 GB, free: 6.723 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/0.5183, allocations: 3.445 MB / 0.5717 GB, free: 3.219 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.5195, allocations: 383.9 kB / 0.572 GB, free: 2.824 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004811/0.52, allocations: 31.98 kB / 0.5721 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/0.5213, allocations: 99.88 kB / 0.5722 GB, free: 2.695 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003713/0.5217, allocations: 124.8 kB / 0.5723 GB, free: 2.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/0.5218, allocations: 39.97 kB / 0.5723 GB, free: 2.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001828/0.5237, allocations: 0.9243 MB / 0.5732 GB, free: 1.609 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.064e-06/0.5237, allocations: 0 / 0.5732 GB, free: 1.609 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003537/0.5272, allocations: 0.7928 MB / 0.574 GB, free: 0.8164 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.0005333/0.5278, allocations: 191.4 kB / 0.5742 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009706/0.5375, allocations: 4.861 MB / 0.5789 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/0.5375, allocations: 0 / 0.5789 GB, free: 11.57 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003594/0.5411, allocations: 1.833 MB / 0.5807 GB, free: 9.656 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002663/0.5438, allocations: 425.6 kB / 0.5811 GB, free: 9.254 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009568/0.5534, allocations: 4.307 MB / 0.5853 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002297/0.5558, allocations: 1.657 MB / 0.587 GB, free: 3.191 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007265/0.5565, allocations: 123.4 kB / 0.5871 GB, free: 3.07 MB / 414.1 MB Notification: Performance of SimCode: time 1.623e-06/0.5565, allocations: 7.938 kB / 0.5871 GB, free: 3.062 MB / 414.1 MB Notification: Performance of Templates: time 0.1064/0.663, allocations: 84.66 MB / 0.6698 GB, free: 14.38 MB / 0.4981 GB 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)