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.001234/0.001234, allocations: 110.1 kB / 16.41 MB, free: 6.508 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.001169/0.001169, allocations: 187 kB / 17.34 MB, free: 5.742 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03846/0.03846, allocations: 8.04 MB / 299.2 MB, free: 6.816 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 63.89 kB / 413.7 MB, free: 22.31 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08707/0.0882, allocations: 51.19 MB / 464.9 MB, free: 3.086 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.01079/0.09903, allocations: 9.909 MB / 474.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005001/0.104, allocations: 2.859 MB / 477.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007374/0.1048, allocations: 51.75 kB / 477.8 MB, free: 6.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001101/0.1059, allocations: 0.5277 MB / 478.3 MB, free: 5.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001612/0.1075, allocations: 0.7727 MB / 479.1 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008653/0.1084, allocations: 0.507 MB / 479.6 MB, free: 4.398 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.002463/0.1109, allocations: 2.565 MB / 482.1 MB, free: 1.824 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.1126, allocations: 1.668 MB / 483.8 MB, free: 108 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.1138, allocations: 1.094 MB / 484.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001484/0.1153, allocations: 1.366 MB / 486.3 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000332/0.1156, allocations: 288 kB / 486.5 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005593/0.1162, allocations: 379.7 kB / 486.9 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006898/0.1169, allocations: 0.8142 MB / 487.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.118, allocations: 1.291 MB / 489 MB, free: 10.87 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.1212, allocations: 3.699 MB / 492.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.1212, allocations: 0 / 492.7 MB, free: 7.16 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.1213, allocations: 4 kB / 492.7 MB, free: 7.156 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.113e-05/0.1213, allocations: 4 kB / 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.004992/0.1263, allocations: 2.758 MB / 495.5 MB, free: 4.332 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1263, allocations: 12.03 kB / 495.5 MB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/0.127, allocations: 266 kB / 495.7 MB, free: 4.059 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/0.1293, allocations: 1.388 MB / 497.1 MB, free: 2.613 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001578/0.1294, allocations: 173.6 kB / 497.3 MB, free: 2.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.1297, allocations: 203.8 kB / 497.5 MB, free: 2.238 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003885/0.1336, allocations: 2.602 MB / 0.4884 GB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.788e-05/0.1337, allocations: 7.906 kB / 0.4884 GB, free: 15.58 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001936/0.1339, allocations: 87.97 kB / 0.4885 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.364e-05/0.134, allocations: 103.7 kB / 0.4886 GB, free: 15.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.1376, allocations: 2.193 MB / 0.4907 GB, free: 13.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1493, allocations: 8.224 MB / 0.4987 GB, free: 4.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/0.1521, allocations: 1.623 MB / 0.5003 GB, free: 3.031 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001327/0.1535, allocations: 0.804 MB / 0.5011 GB, free: 2.227 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002353/0.1537, allocations: 126 kB / 0.5012 GB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.155, allocations: 0.7951 MB / 0.502 GB, free: 1.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.155, allocations: 0 / 0.502 GB, free: 1.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.2103/0.3653, allocations: 6.642 MB / 0.5085 GB, free: 43.85 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.881e-05/0.3654, allocations: 169 kB / 0.5087 GB, free: 43.66 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.001813/0.3672, allocations: 1.369 MB / 0.51 GB, free: 43.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.945e-05/0.3673, allocations: 46.77 kB / 0.51 GB, free: 43.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005893/0.3679, allocations: 0.9654 MB / 0.511 GB, free: 42.32 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.3682, allocations: 424.8 kB / 0.5114 GB, free: 42 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003952/0.3686, allocations: 272.6 kB / 0.5116 GB, free: 41.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.528e-05/0.3686, allocations: 303.4 kB / 0.5119 GB, free: 41.57 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.3698, allocations: 0.7484 MB / 0.5127 GB, free: 41.32 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.3714, allocations: 1.189 MB / 0.5138 GB, free: 40.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009574/0.381, allocations: 3.972 MB / 0.5177 GB, free: 38.87 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.175e-05/0.381, allocations: 3.625 kB / 0.5177 GB, free: 38.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005247/0.3862, allocations: 2.723 MB / 0.5204 GB, free: 37.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/0.3863, allocations: 44.45 kB / 0.5204 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.946e-05/0.3863, allocations: 12.94 kB / 0.5204 GB, free: 37.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002107/0.3884, allocations: 0.6018 MB / 0.521 GB, free: 37.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/0.3898, allocations: 411.6 kB / 0.5214 GB, free: 37.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/0.3976, allocations: 9.546 MB / 0.5307 GB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/0.399, allocations: 132.1 kB / 0.5309 GB, free: 29.09 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.711e-05/0.3992, allocations: 65.58 kB / 0.5309 GB, free: 29.07 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.001782/0.4009, allocations: 1.264 MB / 0.5322 GB, free: 28.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001148/0.4021, allocations: 1.168 MB / 0.5333 GB, free: 27.45 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00823/0.4103, allocations: 3.941 MB / 0.5371 GB, free: 23.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.805e-06/0.4104, allocations: 4 kB / 0.5371 GB, free: 23.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.004766/0.4151, allocations: 2.707 MB / 0.5398 GB, free: 20.9 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.84e-05/0.4152, allocations: 40.05 kB / 0.5398 GB, free: 20.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4152, allocations: 18.88 kB / 0.5398 GB, free: 20.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001975/0.4172, allocations: 0.593 MB / 0.5404 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4185, allocations: 411.3 kB / 0.5408 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007585/0.4261, allocations: 9.549 MB / 0.5501 GB, free: 9.594 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.4274, allocations: 143.8 kB / 0.5503 GB, free: 9.453 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.429e-05/0.4275, allocations: 63.98 kB / 0.5503 GB, free: 9.391 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.0003985/0.4279, allocations: 301.4 kB / 0.5506 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.4282, allocations: 166.1 kB / 0.5508 GB, free: 8.934 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/0.4327, allocations: 2.394 MB / 0.5531 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.4327, allocations: 12 kB / 0.5531 GB, free: 6.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4327, allocations: 7.984 kB / 0.5531 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.4327, allocations: 3.984 kB / 0.5531 GB, free: 6.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00719/0.4399, allocations: 4.68 MB / 0.5577 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.4399, allocations: 0 / 0.5577 GB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.441, allocations: 291.9 kB / 0.558 GB, free: 1.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/0.4428, allocations: 0.5863 MB / 0.5586 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/0.4429, allocations: 35.98 kB / 0.5586 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009622/0.4525, allocations: 9.697 MB / 0.5681 GB, free: 6.414 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4525, allocations: 4 kB / 0.5681 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006594/0.4591, allocations: 3.424 MB / 0.5714 GB, free: 2.922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007735/0.4599, allocations: 375.1 kB / 0.5718 GB, free: 2.535 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001995/0.4601, allocations: 36.12 kB / 0.5718 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009562/0.4611, allocations: 99.88 kB / 0.5719 GB, free: 2.402 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/0.4614, allocations: 128.7 kB / 0.572 GB, free: 2.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.68e-05/0.4614, allocations: 43.92 kB / 0.5721 GB, free: 2.234 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001211/0.4627, allocations: 0.9204 MB / 0.573 GB, free: 1.312 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4627, allocations: 0 / 0.573 GB, free: 1.312 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002264/0.4649, allocations: 0.7886 MB / 0.5737 GB, free: 0.5273 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.0003098/0.4653, allocations: 187.5 kB / 0.5739 GB, free: 344 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007567/0.4728, allocations: 4.856 MB / 0.5787 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.4728, allocations: 0 / 0.5787 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002844/0.4757, allocations: 1.828 MB / 0.5804 GB, free: 9.387 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001718/0.4774, allocations: 432.5 kB / 0.5809 GB, free: 8.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/0.4838, allocations: 4.233 MB / 0.585 GB, free: 4.703 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001237/0.4851, allocations: 1.668 MB / 0.5866 GB, free: 2.996 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004243/0.4855, allocations: 123.3 kB / 0.5867 GB, free: 2.875 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.4855, allocations: 0 / 0.5867 GB, free: 2.875 MB / 414.1 MB Notification: Performance of Templates: time 0.07786/0.5634, allocations: 84.56 MB / 0.6693 GB, free: 14.3 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)