Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.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/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/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.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",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.007055/0.007055, allocations: 98.31 kB / 15.73 MB, free: 5.555 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.001325/0.001325, allocations: 196.4 kB / 16.68 MB, free: 5.484 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.1525/0.1525, allocations: 8.015 MB / 298.6 MB, free: 2.453 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 63.91 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 51.18 MB / 463.8 MB, free: 17.91 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=1e-5) 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.SmaAllSpeeds): time 0.01238/0.2499, allocations: 11.59 MB / 475.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006122/0.256, allocations: 3.231 MB / 478.6 MB, free: 7.223 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/0.2582, allocations: 65.66 kB / 478.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00192/0.2601, allocations: 0.635 MB / 479.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002988/0.2631, allocations: 0.8401 MB / 480.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.2648, allocations: 0.6384 MB / 480.8 MB, free: 5.883 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.004192/0.269, allocations: 3.084 MB / 483.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003646/0.2726, allocations: 2.551 MB / 486.4 MB, free: 2.941 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002113/0.2748, allocations: 1.362 MB / 487.8 MB, free: 2.113 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.2774, allocations: 1.651 MB / 489.4 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001026/0.2785, allocations: 386 kB / 489.8 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001719/0.2802, allocations: 484.1 kB / 490.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00132/0.2815, allocations: 1.007 MB / 491.3 MB, free: 140 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002729/0.2843, allocations: 1.647 MB / 492.9 MB, free: 14.93 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.2894, allocations: 4.811 MB / 497.7 MB, free: 11.29 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.2894, allocations: 4 kB / 497.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.615e-06/0.2894, allocations: 0 / 497.7 MB, free: 11.28 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001022/0.2896, allocations: 0 / 497.7 MB, free: 11.28 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: 699 * Number of variables: 699 Notification: Performance of Generate backend data structure: time 0.006651/0.2962, allocations: 3.341 MB / 0.4893 GB, free: 8.152 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.2963, allocations: 12.03 kB / 0.4893 GB, free: 8.141 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004617/0.2967, allocations: 380 kB / 0.4897 GB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000765/0.2975, allocations: 346.9 kB / 0.49 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002702/0.3002, allocations: 1.664 MB / 0.4916 GB, free: 5.699 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002116/0.3004, allocations: 239.2 kB / 0.4919 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003675/0.3008, allocations: 268 kB / 0.4921 GB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005235/0.3061, allocations: 3.33 MB / 0.4954 GB, free: 1.781 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.745e-05/0.3061, allocations: 15.94 kB / 0.4954 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002303/0.3064, allocations: 112 kB / 0.4955 GB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000121/0.3065, allocations: 129.2 kB / 0.4956 GB, free: 1.527 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004421/0.3109, allocations: 2.656 MB / 0.4982 GB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0155/0.3264, allocations: 10.68 MB / 0.5087 GB, free: 3.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003042/0.3295, allocations: 1.849 MB / 0.5105 GB, free: 1.926 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.3311, allocations: 0.9088 MB / 0.5113 GB, free: 1.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002518/0.3314, allocations: 126.1 kB / 0.5115 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.3314, allocations: 43.56 kB / 0.5115 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.286e-06/0.3314, allocations: 0 / 0.5115 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01902/0.3505, allocations: 7.333 MB / 0.5187 GB, free: 9.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.938e-05/0.3506, allocations: 90.42 kB / 0.5188 GB, free: 9.301 MB / 398.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.001993/0.3526, allocations: 1.436 MB / 0.5202 GB, free: 7.855 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.3527, allocations: 49.7 kB / 0.5202 GB, free: 7.801 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007904/0.3535, allocations: 1.243 MB / 0.5214 GB, free: 6.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003521/0.3539, allocations: 487.8 kB / 0.5219 GB, free: 6.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004591/0.3543, allocations: 295.5 kB / 0.5222 GB, free: 5.77 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.3544, allocations: 301.1 kB / 0.5225 GB, free: 5.473 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00129/0.3557, allocations: 0.7777 MB / 0.5232 GB, free: 4.691 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001672/0.3574, allocations: 1.25 MB / 0.5244 GB, free: 3.238 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009953/0.3674, allocations: 4.048 MB / 0.5284 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.3674, allocations: 8 kB / 0.5284 GB, free: 14.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007086/0.3745, allocations: 3.048 MB / 0.5314 GB, free: 11.91 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.3745, allocations: 8 kB / 0.5314 GB, free: 11.9 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/0.3746, allocations: 16 kB / 0.5314 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/0.3775, allocations: 0.7277 MB / 0.5321 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.3789, allocations: 387.4 kB / 0.5325 GB, free: 10.77 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01316/0.3921, allocations: 8.38 MB / 0.5407 GB, free: 1.969 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.3937, allocations: 119.8 kB / 0.5408 GB, free: 1.852 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002346/0.3939, allocations: 71.98 kB / 0.5408 GB, free: 1.781 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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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.002702/0.3966, allocations: 1.413 MB / 0.5422 GB, free: 380 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001755/0.3984, allocations: 1.234 MB / 0.5434 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01031/0.4087, allocations: 4.01 MB / 0.5473 GB, free: 10.72 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.544e-05/0.4088, allocations: 4 kB / 0.5473 GB, free: 10.71 MB / 430.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.007262/0.416, allocations: 2.97 MB / 0.5502 GB, free: 7.727 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.682e-05/0.4161, allocations: 12 kB / 0.5503 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.4161, allocations: 16 kB / 0.5503 GB, free: 7.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002853/0.419, allocations: 0.6981 MB / 0.551 GB, free: 6.988 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.4204, allocations: 387.4 kB / 0.5513 GB, free: 6.609 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01236/0.4328, allocations: 8.168 MB / 0.5593 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/0.4345, allocations: 123.9 kB / 0.5594 GB, free: 13.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002467/0.4348, allocations: 68.14 kB / 0.5595 GB, free: 13.83 MB / 446.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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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: 65 * Number of states: 0 () * Number of discrete variables: 2 (myMTPA.limiting.y,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005844/0.4354, allocations: 297.9 kB / 0.5598 GB, free: 13.54 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004805/0.4359, allocations: 170.9 kB / 0.5599 GB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006663/0.4425, allocations: 2.664 MB / 0.5625 GB, free: 10.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4426, allocations: 15.94 kB / 0.5625 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.4426, allocations: 4 kB / 0.5626 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.696e-05/0.4426, allocations: 7.969 kB / 0.5626 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01186/0.4545, allocations: 5.351 MB / 0.5678 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.4545, allocations: 0 / 0.5678 GB, free: 5.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.4556, allocations: 255.6 kB / 0.568 GB, free: 4.945 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002582/0.4582, allocations: 0.6982 MB / 0.5687 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.4583, allocations: 31.98 kB / 0.5687 GB, free: 4.203 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/0.4713, allocations: 8.52 MB / 0.5771 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.4713, allocations: 4.031 kB / 0.5771 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007999/0.4793, allocations: 3.751 MB / 0.5807 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009615/0.4803, allocations: 403.8 kB / 0.5811 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004453/0.4808, allocations: 39.94 kB / 0.5812 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.4819, allocations: 95.88 kB / 0.5812 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004153/0.4824, allocations: 121.1 kB / 0.5814 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001146/0.4825, allocations: 39.98 kB / 0.5814 GB, free: 6.727 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00176/0.4843, allocations: 0.9621 MB / 0.5823 GB, free: 5.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4843, allocations: 0 / 0.5823 GB, free: 5.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003363/0.4876, allocations: 0.9062 MB / 0.5832 GB, free: 4.859 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008209/0.4959, allocations: 4.401 MB / 0.5875 GB, free: 396 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.214/0.7099, allocations: 4.605 MB / 0.592 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/0.7099, allocations: 1.766 kB / 0.592 GB, free: 115.2 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003202/0.7131, allocations: 1.749 MB / 0.5937 GB, free: 114.6 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002181/0.7153, allocations: 450.3 kB / 0.5942 GB, free: 114.4 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03376/0.7491, allocations: 18.62 MB / 0.6123 GB, free: 106 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0014/0.7505, allocations: 1.932 MB / 0.6142 GB, free: 105.1 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001429/0.752, allocations: 0.4903 MB / 0.6147 GB, free: 105 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009249/0.7529, allocations: 0.9531 MB / 0.6156 GB, free: 104.2 MB / 462.1 MB Notification: Performance of SimCode: time 5.92e-07/0.7529, allocations: 0 / 0.6156 GB, free: 104.2 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07966/0.8326, allocations: 53.13 MB / 0.6675 GB, free: 56.87 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.98/15.82, allocations: 10.81 kB / 0.6675 GB, free: 56.86 MB / 462.1 MB (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1)