Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001357/0.001356, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001347/0.001348, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.266/1.266, allocations: 222.9 MB / 241 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.03742/0.03742, allocations: 8.048 MB / 299.2 MB, free: 6.812 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.00116, allocations: 59.91 kB / 413.7 MB, free: 22.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08315/0.08433, allocations: 51.19 MB / 464.9 MB, free: 3.078 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.01082/0.09519, allocations: 9.908 MB / 474.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005359/0.1006, allocations: 2.863 MB / 477.7 MB, free: 6.258 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001099/0.1017, allocations: 51.75 kB / 477.8 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001222/0.1029, allocations: 0.5277 MB / 478.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.1048, allocations: 0.7727 MB / 479.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009576/0.1058, allocations: 0.5031 MB / 479.6 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.002615/0.1084, allocations: 2.569 MB / 482.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.1102, allocations: 1.66 MB / 483.8 MB, free: 104 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001368/0.1116, allocations: 1.09 MB / 484.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001701/0.1133, allocations: 1.366 MB / 486.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003735/0.1137, allocations: 292 kB / 486.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006182/0.1143, allocations: 379.7 kB / 486.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006951/0.115, allocations: 0.8103 MB / 487.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.1163, allocations: 1.295 MB / 489 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003183/0.1194, allocations: 3.699 MB / 492.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1195, allocations: 0 / 492.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1195, allocations: 4 kB / 492.7 MB, free: 7.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.126e-05/0.1195, allocations: 0 / 492.7 MB, free: 7.152 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.005336/0.1249, allocations: 2.754 MB / 495.5 MB, free: 4.336 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.1249, allocations: 8.031 kB / 495.5 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006638/0.1256, allocations: 278 kB / 495.7 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002351/0.128, allocations: 1.384 MB / 497.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.1281, allocations: 177.6 kB / 497.3 MB, free: 2.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000288/0.1284, allocations: 199.8 kB / 497.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00409/0.1325, allocations: 2.61 MB / 0.4884 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.432e-05/0.1326, allocations: 3.906 kB / 0.4884 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001764/0.1328, allocations: 83.98 kB / 0.4885 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001065/0.1329, allocations: 103.7 kB / 0.4886 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003791/0.1367, allocations: 2.197 MB / 0.4907 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/0.1489, allocations: 8.228 MB / 0.4987 GB, free: 4.715 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/0.1518, allocations: 1.619 MB / 0.5003 GB, free: 3.027 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001422/0.1533, allocations: 0.804 MB / 0.5011 GB, free: 2.223 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002544/0.1535, allocations: 122 kB / 0.5012 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001331/0.1549, allocations: 0.799 MB / 0.502 GB, free: 1.266 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.895e-06/0.1549, allocations: 0 / 0.502 GB, free: 1.266 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.2174/0.3722, allocations: 6.638 MB / 0.5085 GB, free: 43.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.3723, allocations: 169.4 kB / 0.5087 GB, free: 43.62 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.002023/0.3744, allocations: 1.369 MB / 0.51 GB, free: 43.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.3745, allocations: 48.47 kB / 0.51 GB, free: 43.03 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007298/0.3752, allocations: 0.9627 MB / 0.511 GB, free: 42.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/0.3755, allocations: 425.8 kB / 0.5114 GB, free: 41.97 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004034/0.376, allocations: 268.1 kB / 0.5116 GB, free: 41.84 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.099e-05/0.376, allocations: 305.7 kB / 0.5119 GB, free: 41.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001302/0.3773, allocations: 0.7504 MB / 0.5127 GB, free: 41.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001664/0.379, allocations: 1.19 MB / 0.5138 GB, free: 40.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01011/0.3891, allocations: 3.975 MB / 0.5177 GB, free: 38.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/0.3892, allocations: 3.375 kB / 0.5177 GB, free: 38.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005729/0.3949, allocations: 2.721 MB / 0.5204 GB, free: 37.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.764e-05/0.395, allocations: 40.86 kB / 0.5204 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.759e-05/0.395, allocations: 15.38 kB / 0.5204 GB, free: 37.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.3972, allocations: 0.605 MB / 0.521 GB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/0.3986, allocations: 407 kB / 0.5214 GB, free: 37.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008577/0.4072, allocations: 9.543 MB / 0.5307 GB, free: 29.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/0.4089, allocations: 138.6 kB / 0.5308 GB, free: 29.05 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.4091, allocations: 66.8 kB / 0.5309 GB, free: 29.04 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.00213/0.4113, allocations: 1.269 MB / 0.5322 GB, free: 28.33 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001208/0.4125, allocations: 1.168 MB / 0.5333 GB, free: 27.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008526/0.421, allocations: 3.946 MB / 0.5371 GB, free: 23.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.227e-05/0.4211, allocations: 4 kB / 0.5372 GB, free: 23.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005054/0.4261, allocations: 2.698 MB / 0.5398 GB, free: 20.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/0.4262, allocations: 37.7 kB / 0.5398 GB, free: 20.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.4262, allocations: 16 kB / 0.5398 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002082/0.4283, allocations: 0.604 MB / 0.5404 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/0.4297, allocations: 407.3 kB / 0.5408 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00825/0.4379, allocations: 9.54 MB / 0.5501 GB, free: 9.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/0.4395, allocations: 147.8 kB / 0.5503 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/0.4397, allocations: 63.98 kB / 0.5503 GB, free: 9.414 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.000461/0.4401, allocations: 305.1 kB / 0.5506 GB, free: 9.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003684/0.4405, allocations: 154.1 kB / 0.5508 GB, free: 8.965 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004644/0.4452, allocations: 2.399 MB / 0.5531 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.4452, allocations: 12 kB / 0.5531 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.4452, allocations: 0 / 0.5531 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.4452, allocations: 11.97 kB / 0.5531 GB, free: 6.52 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.4535, allocations: 4.677 MB / 0.5577 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.4535, allocations: 0 / 0.5577 GB, free: 1.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.4546, allocations: 291.9 kB / 0.558 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.4564, allocations: 0.5976 MB / 0.5586 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4566, allocations: 35.98 kB / 0.5586 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01052/0.4671, allocations: 9.688 MB / 0.5681 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.4671, allocations: 80 / 0.5681 GB, free: 6.445 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007001/0.4741, allocations: 3.444 MB / 0.5714 GB, free: 2.941 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/0.4751, allocations: 375.1 kB / 0.5718 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004009/0.4755, allocations: 31.98 kB / 0.5718 GB, free: 2.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001173/0.4767, allocations: 99.88 kB / 0.5719 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003469/0.477, allocations: 120.8 kB / 0.572 GB, free: 2.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.4772, allocations: 43.92 kB / 0.5721 GB, free: 2.266 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.00169/0.4789, allocations: 0.9165 MB / 0.573 GB, free: 1.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4789, allocations: 0 / 0.573 GB, free: 1.348 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003112/0.482, allocations: 0.7925 MB / 0.5737 GB, free: 0.5586 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.00039/0.4824, allocations: 194.7 kB / 0.5739 GB, free: 368 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008715/0.4911, allocations: 4.858 MB / 0.5787 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.4911, allocations: 4 kB / 0.5787 GB, free: 11.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003195/0.4943, allocations: 1.825 MB / 0.5804 GB, free: 9.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.4965, allocations: 417.1 kB / 0.5808 GB, free: 9.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007399/0.5039, allocations: 4.245 MB / 0.585 GB, free: 4.727 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001462/0.5054, allocations: 1.657 MB / 0.5866 GB, free: 3.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004686/0.5059, allocations: 127.4 kB / 0.5867 GB, free: 2.906 MB / 414.1 MB Notification: Performance of SimCode: time 1.373e-06/0.5059, allocations: 7.938 kB / 0.5867 GB, free: 2.898 MB / 414.1 MB Notification: Performance of Templates: time 0.08343/0.5893, allocations: 84.55 MB / 0.6693 GB, free: 14.33 MB / 0.4981 GB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)