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.008247/0.008246, allocations: 105 kB / 15.73 MB, free: 6.055 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.002004/0.002004, allocations: 191.3 kB / 16.67 MB, free: 5.977 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04666/0.04666, allocations: 8.04 MB / 298.6 MB, free: 6.785 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 63.91 kB / 413.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.118, allocations: 51.18 MB / 464.3 MB, free: 3.168 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.01139/0.1294, allocations: 9.911 MB / 474.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008171/0.1376, allocations: 2.871 MB / 477 MB, free: 6.34 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002411/0.1401, allocations: 47.81 kB / 477.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002193/0.1423, allocations: 0.5238 MB / 477.6 MB, free: 5.766 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003385/0.1457, allocations: 0.7804 MB / 478.4 MB, free: 4.98 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1479, allocations: 0.4993 MB / 478.9 MB, free: 4.48 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.004684/0.1526, allocations: 2.569 MB / 481.5 MB, free: 1.898 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002338/0.155, allocations: 1.672 MB / 483.1 MB, free: 180 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001952/0.1569, allocations: 1.09 MB / 484.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.159, allocations: 1.362 MB / 485.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004594/0.1595, allocations: 288 kB / 485.9 MB, free: 13.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000774/0.1603, allocations: 391.8 kB / 486.2 MB, free: 13.05 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007812/0.1611, allocations: 0.8025 MB / 487 MB, free: 12.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001467/0.1625, allocations: 1.295 MB / 488.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004136/0.1667, allocations: 3.717 MB / 492.1 MB, free: 7.215 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.1667, allocations: 4 kB / 492.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.1667, allocations: 0 / 492.1 MB, free: 7.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.618e-05/0.1668, allocations: 0 / 492.1 MB, free: 7.211 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.006025/0.1728, allocations: 2.806 MB / 494.9 MB, free: 4.34 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1729, allocations: 16.03 kB / 494.9 MB, free: 4.324 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007465/0.1737, allocations: 287.3 kB / 495.2 MB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002474/0.1761, allocations: 1.393 MB / 496.6 MB, free: 2.594 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002269/0.1764, allocations: 177.6 kB / 496.7 MB, free: 2.414 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003813/0.1768, allocations: 199.9 kB / 496.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00477/0.1816, allocations: 2.602 MB / 499.5 MB, free: 15.57 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.297e-05/0.1816, allocations: 7.938 kB / 499.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.1818, allocations: 80 kB / 499.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001179/0.1819, allocations: 103.7 kB / 499.7 MB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.1858, allocations: 2.189 MB / 0.4901 GB, free: 13.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01388/0.1997, allocations: 8.258 MB / 0.4982 GB, free: 4.684 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003498/0.2033, allocations: 1.627 MB / 0.4998 GB, free: 2.988 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001413/0.2047, allocations: 0.798 MB / 0.5006 GB, free: 2.191 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002619/0.205, allocations: 126 kB / 0.5007 GB, free: 2.051 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001349/0.2064, allocations: 0.8028 MB / 0.5015 GB, free: 1.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.575e-06/0.2064, allocations: 0 / 0.5015 GB, free: 1.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.2831/0.4895, allocations: 6.664 MB / 0.508 GB, free: 44.05 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.858e-05/0.4896, allocations: 168.6 kB / 0.5081 GB, free: 43.86 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.002311/0.492, allocations: 1.363 MB / 0.5095 GB, free: 43.33 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.4921, allocations: 47.14 kB / 0.5095 GB, free: 43.29 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007655/0.4929, allocations: 0.995 MB / 0.5105 GB, free: 42.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/0.4932, allocations: 442.6 kB / 0.5109 GB, free: 42.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000409/0.4936, allocations: 269.2 kB / 0.5112 GB, free: 42.21 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.762e-05/0.4937, allocations: 307.5 kB / 0.5115 GB, free: 41.91 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001336/0.495, allocations: 0.7555 MB / 0.5122 GB, free: 41.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001686/0.4967, allocations: 1.185 MB / 0.5134 GB, free: 40.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01029/0.507, allocations: 3.975 MB / 0.5172 GB, free: 39.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.624e-05/0.5071, allocations: 3.312 kB / 0.5172 GB, free: 39.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005656/0.5127, allocations: 2.734 MB / 0.5199 GB, free: 38.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.5128, allocations: 36.39 kB / 0.5199 GB, free: 38.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.437e-05/0.5128, allocations: 12.53 kB / 0.52 GB, free: 38.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002277/0.5151, allocations: 0.6062 MB / 0.5206 GB, free: 38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.5167, allocations: 410.4 kB / 0.5209 GB, free: 37.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008634/0.5253, allocations: 9.545 MB / 0.5303 GB, free: 29.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002073/0.5274, allocations: 136.7 kB / 0.5304 GB, free: 29.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001981/0.5276, allocations: 64.17 kB / 0.5305 GB, free: 29.34 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.002132/0.5298, allocations: 1.277 MB / 0.5317 GB, free: 28.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001265/0.5311, allocations: 1.169 MB / 0.5328 GB, free: 27.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009186/0.5403, allocations: 3.933 MB / 0.5367 GB, free: 23.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.345e-05/0.5403, allocations: 10.73 kB / 0.5367 GB, free: 23.83 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005262/0.5456, allocations: 2.707 MB / 0.5393 GB, free: 21.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.5456, allocations: 41.7 kB / 0.5394 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/0.5457, allocations: 12 kB / 0.5394 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.5481, allocations: 0.599 MB / 0.54 GB, free: 20.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001403/0.5495, allocations: 407.3 kB / 0.5404 GB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/0.5577, allocations: 9.558 MB / 0.5497 GB, free: 9.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/0.5595, allocations: 147.9 kB / 0.5498 GB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/0.5596, allocations: 63.98 kB / 0.5499 GB, free: 9.562 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.0004832/0.5601, allocations: 293.3 kB / 0.5502 GB, free: 9.285 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003798/0.5605, allocations: 167 kB / 0.5503 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004863/0.5653, allocations: 2.401 MB / 0.5527 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/0.5654, allocations: 12 kB / 0.5527 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.5654, allocations: 0 / 0.5527 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.5654, allocations: 7.969 kB / 0.5527 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007645/0.573, allocations: 4.688 MB / 0.5573 GB, free: 1.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/0.5731, allocations: 12.03 kB / 0.5573 GB, free: 1.906 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/0.5742, allocations: 279.6 kB / 0.5576 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001896/0.5761, allocations: 0.5979 MB / 0.5581 GB, free: 1.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/0.5762, allocations: 27.98 kB / 0.5582 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.5881, allocations: 9.705 MB / 0.5676 GB, free: 6.586 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/0.5881, allocations: 4.031 kB / 0.5677 GB, free: 6.582 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/0.5954, allocations: 3.437 MB / 0.571 GB, free: 3.086 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/0.5964, allocations: 391.8 kB / 0.5714 GB, free: 2.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.5967, allocations: 35.98 kB / 0.5714 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/0.5977, allocations: 103.9 kB / 0.5715 GB, free: 2.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003516/0.5981, allocations: 112.8 kB / 0.5716 GB, free: 2.438 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.51e-05/0.5982, allocations: 39.92 kB / 0.5717 GB, free: 2.398 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.5996, allocations: 0.9205 MB / 0.5726 GB, free: 1.477 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5996, allocations: 7.938 kB / 0.5726 GB, free: 1.469 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002712/0.6023, allocations: 0.7891 MB / 0.5733 GB, free: 0.6797 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.0004187/0.6027, allocations: 190 kB / 0.5735 GB, free: 500 kB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008943/0.6117, allocations: 4.868 MB / 0.5783 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.433e-06/0.6117, allocations: 0 / 0.5783 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003235/0.615, allocations: 1.84 MB / 0.5801 GB, free: 9.508 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/0.6174, allocations: 427.9 kB / 0.5805 GB, free: 9.102 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007812/0.6253, allocations: 4.235 MB / 0.5846 GB, free: 4.812 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.6267, allocations: 1.684 MB / 0.5863 GB, free: 3.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001456/0.6282, allocations: 488.7 kB / 0.5867 GB, free: 2.605 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003475/0.6285, allocations: 119.3 kB / 0.5868 GB, free: 2.488 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.6285, allocations: 0 / 0.5868 GB, free: 2.488 MB / 414.1 MB Notification: Performance of Templates: time 0.05595/0.6845, allocations: 32.03 MB / 0.6181 GB, free: 2.699 MB / 446.1 MB 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)