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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005127/0.005127, allocations: 98.72 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.001214/0.001214, allocations: 187.2 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.342/1.342, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1381/0.1381, allocations: 8.025 MB / 298.6 MB, free: 2.391 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 75.88 kB / 412.6 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2255/0.2269, allocations: 51.18 MB / 463.8 MB, free: 18.02 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.009574/0.2365, allocations: 9.915 MB / 473.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005544/0.2421, allocations: 2.867 MB / 476.5 MB, free: 8.852 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001375/0.2435, allocations: 49.41 kB / 476.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001305/0.2448, allocations: 0.5303 MB / 477.1 MB, free: 8.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002292/0.2471, allocations: 0.7713 MB / 477.9 MB, free: 8.039 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001298/0.2484, allocations: 0.5026 MB / 478.4 MB, free: 7.73 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.003026/0.2514, allocations: 2.558 MB / 480.9 MB, free: 6.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001861/0.2533, allocations: 1.666 MB / 482.6 MB, free: 5.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001597/0.2549, allocations: 1.105 MB / 483.7 MB, free: 5.082 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001637/0.2566, allocations: 1.362 MB / 485.1 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004896/0.2571, allocations: 290.1 kB / 485.4 MB, free: 4.164 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000835/0.2579, allocations: 376.4 kB / 485.7 MB, free: 4.121 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006539/0.2586, allocations: 0.8073 MB / 486.5 MB, free: 3.508 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001332/0.2599, allocations: 1.301 MB / 487.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.2633, allocations: 3.711 MB / 491.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.2633, allocations: 5.25 kB / 491.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2633, allocations: 0 / 491.6 MB, free: 15.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.64e-05/0.2634, allocations: 4 kB / 491.6 MB, free: 15.78 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.006365/0.2698, allocations: 2.805 MB / 494.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.2699, allocations: 12.77 kB / 494.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004355/0.2703, allocations: 293.1 kB / 494.7 MB, free: 13.59 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008369/0.2712, allocations: 280.7 kB / 494.9 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.2739, allocations: 1.391 MB / 496.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001811/0.2741, allocations: 181.4 kB / 496.5 MB, free: 12.31 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003655/0.2745, allocations: 199.7 kB / 496.7 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004705/0.2792, allocations: 2.604 MB / 499.3 MB, free: 9.816 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.378e-05/0.2793, allocations: 8 kB / 499.3 MB, free: 9.809 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002005/0.2795, allocations: 84 kB / 499.4 MB, free: 9.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001115/0.2796, allocations: 95.73 kB / 499.5 MB, free: 9.633 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004182/0.2838, allocations: 2.185 MB / 0.4899 GB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01352/0.2974, allocations: 8.269 MB / 0.498 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003133/0.3006, allocations: 1.623 MB / 0.4996 GB, free: 13.24 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.3022, allocations: 0.8001 MB / 0.5004 GB, free: 12.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002639/0.3024, allocations: 126 kB / 0.5005 GB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001529/0.304, allocations: 0.8068 MB / 0.5013 GB, free: 11.47 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.236e-06/0.304, allocations: 0 / 0.5013 GB, free: 11.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01836/0.3224, allocations: 6.672 MB / 0.5078 GB, free: 4.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.3225, allocations: 175.2 kB / 0.5079 GB, free: 4.453 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.002373/0.3249, allocations: 1.367 MB / 0.5093 GB, free: 3.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002453/0.3252, allocations: 45.7 kB / 0.5093 GB, free: 3.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009392/0.3261, allocations: 0.9851 MB / 0.5103 GB, free: 2.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005473/0.3267, allocations: 448.3 kB / 0.5107 GB, free: 1.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005743/0.3273, allocations: 271.5 kB / 0.511 GB, free: 1.312 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3274, allocations: 301.1 kB / 0.5113 GB, free: 1.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001513/0.3289, allocations: 0.7582 MB / 0.512 GB, free: 260 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001885/0.3308, allocations: 1.185 MB / 0.5132 GB, free: 14.89 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01133/0.3422, allocations: 3.97 MB / 0.517 GB, free: 10.72 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.144e-05/0.3422, allocations: 4 kB / 0.517 GB, free: 10.72 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006577/0.3488, allocations: 2.735 MB / 0.5197 GB, free: 7.953 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.738e-05/0.3489, allocations: 33.7 kB / 0.5197 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/0.3489, allocations: 15.94 kB / 0.5198 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/0.3514, allocations: 0.6063 MB / 0.5203 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001693/0.3531, allocations: 407.3 kB / 0.5207 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.3641, allocations: 9.554 MB / 0.5301 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.3659, allocations: 131.8 kB / 0.5302 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000217/0.3661, allocations: 67.98 kB / 0.5303 GB, free: 12.41 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.0024/0.3685, allocations: 1.269 MB / 0.5315 GB, free: 11.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001659/0.3702, allocations: 1.177 MB / 0.5326 GB, free: 9.789 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0107/0.3809, allocations: 3.938 MB / 0.5365 GB, free: 5.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.282e-05/0.381, allocations: 4 kB / 0.5365 GB, free: 5.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006478/0.3874, allocations: 2.72 MB / 0.5392 GB, free: 2.902 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/0.3875, allocations: 37.7 kB / 0.5392 GB, free: 2.859 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.453e-05/0.3876, allocations: 12 kB / 0.5392 GB, free: 2.848 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/0.3901, allocations: 0.6024 MB / 0.5398 GB, free: 2.227 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001783/0.3919, allocations: 403.4 kB / 0.5402 GB, free: 1.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01098/0.4029, allocations: 9.558 MB / 0.5495 GB, free: 7.555 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/0.4047, allocations: 135.9 kB / 0.5496 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/0.405, allocations: 68.05 kB / 0.5497 GB, free: 7.355 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.0005287/0.4055, allocations: 300.4 kB / 0.55 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004058/0.4059, allocations: 163 kB / 0.5501 GB, free: 6.902 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005831/0.4118, allocations: 2.403 MB / 0.5525 GB, free: 4.465 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4118, allocations: 12 kB / 0.5525 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.4118, allocations: 0 / 0.5525 GB, free: 4.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.529e-05/0.4118, allocations: 3.984 kB / 0.5525 GB, free: 4.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01013/0.422, allocations: 4.692 MB / 0.5571 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.422, allocations: 4 kB / 0.5571 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.4234, allocations: 295.8 kB / 0.5574 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002223/0.4257, allocations: 0.5786 MB / 0.5579 GB, free: 14.76 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/0.4259, allocations: 35.91 kB / 0.558 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01138/0.4373, allocations: 9.699 MB / 0.5674 GB, free: 4.309 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.372e-06/0.4373, allocations: 4.031 kB / 0.5674 GB, free: 4.305 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007822/0.4451, allocations: 3.445 MB / 0.5708 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001059/0.4462, allocations: 391.8 kB / 0.5712 GB, free: 404 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00049/0.4467, allocations: 28 kB / 0.5712 GB, free: 376 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001308/0.4481, allocations: 107.9 kB / 0.5713 GB, free: 268 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003601/0.4484, allocations: 109.1 kB / 0.5714 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001142/0.4486, allocations: 35.98 kB / 0.5715 GB, free: 124 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001588/0.4502, allocations: 0.9243 MB / 0.5724 GB, free: 15.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4502, allocations: 7.875 kB / 0.5724 GB, free: 15.19 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00316/0.4533, allocations: 0.789 MB / 0.5731 GB, free: 14.4 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.007754/0.4611, allocations: 4.076 MB / 0.5771 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0091/0.4702, allocations: 4.868 MB / 0.5819 GB, free: 5.184 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.573e-06/0.4703, allocations: 4.188 kB / 0.5819 GB, free: 5.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003351/0.4736, allocations: 1.829 MB / 0.5837 GB, free: 3.262 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00238/0.476, allocations: 426 kB / 0.5841 GB, free: 2.859 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.209/0.6851, allocations: 16.91 MB / 0.6006 GB, free: 108.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.6866, allocations: 1.674 MB / 0.6022 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001666/0.6883, allocations: 489.2 kB / 0.6027 GB, free: 108 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001031/0.6894, allocations: 0.7745 MB / 0.6034 GB, free: 107.3 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6894, allocations: 3.609 kB / 0.6034 GB, free: 107.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08764/0.777, allocations: 48.13 MB / 0.6504 GB, free: 72.58 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.05, allocations: 7.453 kB / 0.6504 GB, free: 72.58 MB / 462.1 MB (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)