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.008413/0.008413, allocations: 104.5 kB / 15.73 MB, free: 6.043 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.001784/0.001784, allocations: 192.1 kB / 16.67 MB, free: 5.973 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1575/0.1575, allocations: 8.036 MB / 298.6 MB, free: 2.352 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001457, allocations: 71.89 kB / 413.1 MB, free: 9.879 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.323, allocations: 51.18 MB / 464.2 MB, free: 18.31 MB / 350.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.01167/0.3347, allocations: 9.902 MB / 474.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006874/0.3416, allocations: 2.869 MB / 477 MB, free: 9.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00258/0.3443, allocations: 50.81 kB / 477.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.3462, allocations: 0.5272 MB / 477.6 MB, free: 8.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003384/0.3496, allocations: 0.7714 MB / 478.4 MB, free: 8.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001516/0.3511, allocations: 0.5097 MB / 478.9 MB, free: 8.016 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.003953/0.355, allocations: 2.569 MB / 481.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002099/0.3572, allocations: 1.663 MB / 483.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002138/0.3593, allocations: 1.097 MB / 484.2 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002604/0.3619, allocations: 1.362 MB / 485.6 MB, free: 4.316 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007102/0.3626, allocations: 293.5 kB / 485.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.3639, allocations: 377.4 kB / 486.2 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000899/0.3649, allocations: 0.8041 MB / 487 MB, free: 3.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001601/0.3665, allocations: 1.301 MB / 488.3 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005243/0.3717, allocations: 3.693 MB / 492 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.676e-06/0.3717, allocations: 8 kB / 492 MB, free: 15.95 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3718, allocations: 0 / 492 MB, free: 15.95 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.944e-05/0.3719, allocations: 0 / 492 MB, free: 15.95 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.007672/0.3795, allocations: 2.753 MB / 494.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/0.3796, allocations: 13.5 kB / 494.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009398/0.3806, allocations: 264.6 kB / 495 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002708/0.3833, allocations: 1.391 MB / 496.4 MB, free: 12.87 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/0.3835, allocations: 173 kB / 496.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000343/0.3838, allocations: 206.9 kB / 496.8 MB, free: 12.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004793/0.3886, allocations: 2.601 MB / 499.4 MB, free: 10.15 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.679e-05/0.3887, allocations: 7.906 kB / 499.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001952/0.3889, allocations: 83.98 kB / 499.5 MB, free: 10.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001175/0.389, allocations: 99.73 kB / 499.6 MB, free: 9.965 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00414/0.3932, allocations: 2.197 MB / 0.49 GB, free: 7.766 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.407, allocations: 8.228 MB / 0.4981 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.4101, allocations: 1.631 MB / 0.4997 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00144/0.4116, allocations: 0.7962 MB / 0.5004 GB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002515/0.4118, allocations: 130 kB / 0.5006 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/0.4133, allocations: 0.8027 MB / 0.5013 GB, free: 11.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.145e-06/0.4133, allocations: 0 / 0.5013 GB, free: 11.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01742/0.4307, allocations: 6.637 MB / 0.5078 GB, free: 5.051 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4309, allocations: 175.2 kB / 0.508 GB, free: 4.84 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.002275/0.4332, allocations: 1.359 MB / 0.5093 GB, free: 3.465 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000185/0.4334, allocations: 49.7 kB / 0.5094 GB, free: 3.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009502/0.4343, allocations: 0.9707 MB / 0.5103 GB, free: 2.426 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004439/0.4348, allocations: 425.9 kB / 0.5107 GB, free: 2.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004471/0.4352, allocations: 267.4 kB / 0.511 GB, free: 1.738 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.4354, allocations: 301.1 kB / 0.5113 GB, free: 1.441 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.4368, allocations: 0.7504 MB / 0.512 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/0.4385, allocations: 1.193 MB / 0.5132 GB, free: 15.32 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/0.4489, allocations: 3.962 MB / 0.517 GB, free: 11.16 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.727e-05/0.4489, allocations: 7.984 kB / 0.517 GB, free: 11.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006223/0.4552, allocations: 2.723 MB / 0.5197 GB, free: 8.395 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.4553, allocations: 41.7 kB / 0.5197 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-05/0.4553, allocations: 12 kB / 0.5198 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00244/0.4577, allocations: 0.6063 MB / 0.5203 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001662/0.4594, allocations: 411.3 kB / 0.5207 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01149/0.4709, allocations: 9.548 MB / 0.5301 GB, free: 13.04 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/0.473, allocations: 135.8 kB / 0.5302 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003253/0.4734, allocations: 64.05 kB / 0.5302 GB, free: 12.85 MB / 414.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.002884/0.4763, allocations: 1.27 MB / 0.5315 GB, free: 11.58 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001839/0.4781, allocations: 1.181 MB / 0.5326 GB, free: 10.22 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01097/0.4891, allocations: 3.931 MB / 0.5365 GB, free: 6.102 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.314e-05/0.4892, allocations: 11.92 kB / 0.5365 GB, free: 6.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.00651/0.4957, allocations: 2.7 MB / 0.5391 GB, free: 3.355 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.958e-05/0.4958, allocations: 41.64 kB / 0.5392 GB, free: 3.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/0.4958, allocations: 12 kB / 0.5392 GB, free: 3.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.4983, allocations: 0.6024 MB / 0.5398 GB, free: 2.676 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.5, allocations: 407.4 kB / 0.5402 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01142/0.5114, allocations: 9.558 MB / 0.5495 GB, free: 8.004 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/0.5135, allocations: 143.8 kB / 0.5496 GB, free: 7.863 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002948/0.5139, allocations: 63.98 kB / 0.5497 GB, free: 7.801 MB / 430.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.00069/0.5146, allocations: 291.4 kB / 0.55 GB, free: 7.516 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005068/0.5151, allocations: 154.1 kB / 0.5501 GB, free: 7.363 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005892/0.521, allocations: 2.395 MB / 0.5525 GB, free: 4.934 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/0.521, allocations: 12 kB / 0.5525 GB, free: 4.922 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.42e-05/0.521, allocations: 4 kB / 0.5525 GB, free: 4.918 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.709e-05/0.5211, allocations: 7.969 kB / 0.5525 GB, free: 4.91 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01073/0.5318, allocations: 4.688 MB / 0.5571 GB, free: 116 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-05/0.5318, allocations: 8.266 kB / 0.5571 GB, free: 108 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001385/0.5332, allocations: 287.6 kB / 0.5573 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/0.5354, allocations: 0.5824 MB / 0.5579 GB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/0.5356, allocations: 43.91 kB / 0.5579 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01209/0.5477, allocations: 9.682 MB / 0.5674 GB, free: 4.781 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.5477, allocations: 7.969 kB / 0.5674 GB, free: 4.773 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00827/0.556, allocations: 3.432 MB / 0.5708 GB, free: 1.277 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.5571, allocations: 383 kB / 0.5711 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005505/0.5577, allocations: 31.94 kB / 0.5712 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/0.5591, allocations: 107.9 kB / 0.5713 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003868/0.5595, allocations: 120.8 kB / 0.5714 GB, free: 0.6289 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.5596, allocations: 35.98 kB / 0.5714 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.5616, allocations: 0.9165 MB / 0.5723 GB, free: 15.68 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.5617, allocations: 0 / 0.5723 GB, free: 15.68 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00389/0.5655, allocations: 0.7891 MB / 0.5731 GB, free: 14.89 MB / 462.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.0004497/0.566, allocations: 191.8 kB / 0.5733 GB, free: 14.69 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01021/0.5762, allocations: 4.868 MB / 0.578 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.338e-06/0.5763, allocations: 384 / 0.578 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0041/0.5804, allocations: 1.829 MB / 0.5798 GB, free: 7.715 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003321/0.5837, allocations: 432.3 kB / 0.5802 GB, free: 7.301 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00999/0.5937, allocations: 4.169 MB / 0.5843 GB, free: 3.07 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/0.5962, allocations: 1.672 MB / 0.5859 GB, free: 1.363 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001959/0.5982, allocations: 492.8 kB / 0.5864 GB, free: 0.875 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005504/0.5987, allocations: 111.4 kB / 0.5865 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.5988, allocations: 0 / 0.5865 GB, free: 0.7695 MB / 462.1 MB Notification: Performance of Templates: time 0.3221/0.9209, allocations: 32.01 MB / 0.6178 GB, free: 101.9 MB / 462.1 MB 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)