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.005408/0.005408, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001292/0.001292, allocations: 193.5 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03753/0.03753, allocations: 8.036 MB / 298.6 MB, free: 6.766 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 413.1 MB, free: 22.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09362/0.0948, allocations: 51.19 MB / 464.3 MB, free: 3.031 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.0105/0.1053, allocations: 9.908 MB / 474.2 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.1109, allocations: 2.863 MB / 477 MB, free: 6.211 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001431/0.1124, allocations: 51.75 kB / 477.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.1139, allocations: 0.5238 MB / 477.6 MB, free: 5.633 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002428/0.1163, allocations: 0.7727 MB / 478.4 MB, free: 4.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.1176, allocations: 0.5031 MB / 478.9 MB, free: 4.352 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.003182/0.1208, allocations: 2.571 MB / 481.4 MB, free: 1.773 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002103/0.1229, allocations: 1.676 MB / 483.1 MB, free: 48 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001837/0.1248, allocations: 1.086 MB / 484.2 MB, free: 14.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001634/0.1264, allocations: 1.366 MB / 485.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003645/0.1268, allocations: 288 kB / 485.9 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006747/0.1275, allocations: 379.8 kB / 486.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007452/0.1282, allocations: 0.8103 MB / 487 MB, free: 12.12 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001151/0.1294, allocations: 1.295 MB / 488.3 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003287/0.1327, allocations: 3.717 MB / 492 MB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1327, allocations: 0 / 492 MB, free: 7.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1327, allocations: 0 / 492 MB, free: 7.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.3e-05/0.1328, allocations: 4 kB / 492.1 MB, free: 7.086 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.004774/0.1375, allocations: 2.814 MB / 494.9 MB, free: 4.207 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.1376, allocations: 8.031 kB / 494.9 MB, free: 4.199 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006827/0.1383, allocations: 287.3 kB / 495.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002129/0.1404, allocations: 1.393 MB / 496.5 MB, free: 2.469 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.1406, allocations: 177.6 kB / 496.7 MB, free: 2.289 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002706/0.1409, allocations: 203.9 kB / 496.9 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/0.1448, allocations: 2.598 MB / 499.5 MB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/0.1449, allocations: 4 kB / 499.5 MB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.145, allocations: 80 kB / 499.6 MB, free: 15.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.1452, allocations: 103.7 kB / 499.7 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.1488, allocations: 2.193 MB / 0.4901 GB, free: 13.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01124/0.1601, allocations: 8.261 MB / 0.4982 GB, free: 4.555 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.1629, allocations: 1.629 MB / 0.4998 GB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.1642, allocations: 0.798 MB / 0.5006 GB, free: 2.062 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/0.1645, allocations: 126 kB / 0.5007 GB, free: 1.922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001262/0.1658, allocations: 0.8028 MB / 0.5015 GB, free: 1.098 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.284e-06/0.1658, allocations: 0 / 0.5015 GB, free: 1.098 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.2528/0.4186, allocations: 6.665 MB / 0.508 GB, free: 43.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.4187, allocations: 169.6 kB / 0.5081 GB, free: 43.6 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.002352/0.4211, allocations: 1.362 MB / 0.5095 GB, free: 43.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.4212, allocations: 47.08 kB / 0.5095 GB, free: 43.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009283/0.4221, allocations: 0.9936 MB / 0.5105 GB, free: 42.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003948/0.4226, allocations: 445.3 kB / 0.5109 GB, free: 42.07 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004782/0.423, allocations: 274.9 kB / 0.5112 GB, free: 41.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.784e-05/0.4231, allocations: 302.3 kB / 0.5115 GB, free: 41.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001462/0.4246, allocations: 0.7485 MB / 0.5122 GB, free: 41.39 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001676/0.4263, allocations: 1.187 MB / 0.5134 GB, free: 40.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009984/0.4363, allocations: 3.977 MB / 0.5172 GB, free: 38.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/0.4363, allocations: 3.594 kB / 0.5172 GB, free: 38.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005426/0.4418, allocations: 2.731 MB / 0.5199 GB, free: 37.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.4418, allocations: 43.95 kB / 0.52 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.4419, allocations: 11.91 kB / 0.52 GB, free: 37.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/0.444, allocations: 0.599 MB / 0.5205 GB, free: 37.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.4455, allocations: 413.5 kB / 0.5209 GB, free: 37.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008/0.4535, allocations: 9.548 MB / 0.5303 GB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001618/0.4552, allocations: 132.4 kB / 0.5304 GB, free: 29.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.4553, allocations: 70.56 kB / 0.5305 GB, free: 29.1 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.001902/0.4572, allocations: 1.272 MB / 0.5317 GB, free: 28.38 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001226/0.4585, allocations: 1.167 MB / 0.5328 GB, free: 27.47 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008245/0.4667, allocations: 3.939 MB / 0.5367 GB, free: 23.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.121e-05/0.4668, allocations: 4 kB / 0.5367 GB, free: 23.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.004979/0.4717, allocations: 2.715 MB / 0.5393 GB, free: 20.89 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.899e-05/0.4718, allocations: 40.05 kB / 0.5394 GB, free: 20.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.4718, allocations: 15.94 kB / 0.5394 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001934/0.4737, allocations: 0.5977 MB / 0.54 GB, free: 20.22 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.4751, allocations: 411.3 kB / 0.5404 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008138/0.4832, allocations: 9.545 MB / 0.5497 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002049/0.4853, allocations: 143.9 kB / 0.5498 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/0.4854, allocations: 63.98 kB / 0.5499 GB, free: 9.383 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.0005084/0.486, allocations: 309.2 kB / 0.5502 GB, free: 9.09 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.4862, allocations: 163 kB / 0.5503 GB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004476/0.4907, allocations: 2.396 MB / 0.5527 GB, free: 6.508 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.035e-06/0.4907, allocations: 12 kB / 0.5527 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.4908, allocations: 7.938 kB / 0.5527 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.184e-05/0.4908, allocations: 7.969 kB / 0.5527 GB, free: 6.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006949/0.4977, allocations: 4.687 MB / 0.5573 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/0.4978, allocations: 4.281 kB / 0.5573 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4988, allocations: 287.6 kB / 0.5576 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001725/0.5006, allocations: 0.5864 MB / 0.5581 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.239e-05/0.5007, allocations: 35.98 kB / 0.5582 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009542/0.5102, allocations: 9.706 MB / 0.5676 GB, free: 6.391 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5102, allocations: 4 kB / 0.5677 GB, free: 6.387 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006434/0.5167, allocations: 3.437 MB / 0.571 GB, free: 2.895 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000882/0.5176, allocations: 383.9 kB / 0.5714 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/0.5178, allocations: 35.98 kB / 0.5714 GB, free: 2.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009577/0.5188, allocations: 103.9 kB / 0.5715 GB, free: 2.363 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000304/0.5191, allocations: 124.6 kB / 0.5716 GB, free: 2.238 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.5192, allocations: 39.98 kB / 0.5717 GB, free: 2.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001206/0.5204, allocations: 0.9168 MB / 0.5726 GB, free: 1.281 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5204, allocations: 4 kB / 0.5726 GB, free: 1.277 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002303/0.5227, allocations: 0.7929 MB / 0.5733 GB, free: 496 kB / 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.0003288/0.5231, allocations: 194.5 kB / 0.5735 GB, free: 292 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007724/0.5308, allocations: 4.861 MB / 0.5783 GB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/0.5308, allocations: 4.062 kB / 0.5783 GB, free: 11.24 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002968/0.5338, allocations: 1.84 MB / 0.5801 GB, free: 9.316 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.5358, allocations: 423.1 kB / 0.5805 GB, free: 8.914 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006997/0.5428, allocations: 4.25 MB / 0.5846 GB, free: 4.613 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001381/0.5442, allocations: 1.684 MB / 0.5863 GB, free: 2.887 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001292/0.5455, allocations: 488.8 kB / 0.5867 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003361/0.5458, allocations: 111.4 kB / 0.5868 GB, free: 2.293 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.5458, allocations: 0 / 0.5868 GB, free: 2.293 MB / 414.1 MB Notification: Performance of Templates: time 0.05068/0.5965, allocations: 32.03 MB / 0.6181 GB, free: 2.5 MB / 446.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)