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-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.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.005774/0.005774, allocations: 101.4 kB / 15.73 MB, free: 6.02 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.001308/0.001309, allocations: 197.8 kB / 16.68 MB, free: 5.938 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.344/1.344, 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.1674/0.1674, allocations: 8.025 MB / 298.6 MB, free: 2.273 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 412.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2518/0.2531, allocations: 51.19 MB / 463.8 MB, free: 18.05 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.01232/0.2655, allocations: 11.58 MB / 475.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00743/0.273, allocations: 3.223 MB / 478.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002512/0.2755, allocations: 65.94 kB / 478.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001875/0.2774, allocations: 0.6341 MB / 479.3 MB, free: 6.984 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003566/0.281, allocations: 0.857 MB / 480.1 MB, free: 6.418 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001924/0.2829, allocations: 0.6196 MB / 480.7 MB, free: 6.031 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.005288/0.2882, allocations: 3.089 MB / 483.8 MB, free: 4.367 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003154/0.2914, allocations: 2.555 MB / 486.4 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002415/0.2939, allocations: 1.365 MB / 487.8 MB, free: 2.184 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002781/0.2967, allocations: 1.652 MB / 489.4 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009525/0.2976, allocations: 384.7 kB / 489.8 MB, free: 1.043 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001572/0.2992, allocations: 477 kB / 490.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009886/0.3002, allocations: 1.003 MB / 491.3 MB, free: 224 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002763/0.303, allocations: 1.654 MB / 492.9 MB, free: 15 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006747/0.3098, allocations: 4.793 MB / 497.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.034e-06/0.3098, allocations: 0 / 497.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.3098, allocations: 0 / 497.7 MB, free: 11.38 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001665/0.31, allocations: 0 / 497.7 MB, free: 11.38 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.008658/0.3187, allocations: 3.26 MB / 0.4892 GB, free: 8.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3187, allocations: 16.03 kB / 0.4892 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006127/0.3194, allocations: 380 kB / 0.4896 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008739/0.3202, allocations: 341.1 kB / 0.4899 GB, free: 7.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00313/0.3234, allocations: 1.644 MB / 0.4915 GB, free: 5.797 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/0.3236, allocations: 247.1 kB / 0.4918 GB, free: 5.547 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.324, allocations: 271.9 kB / 0.492 GB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006876/0.3309, allocations: 3.33 MB / 0.4953 GB, free: 1.867 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.3311, allocations: 7.984 kB / 0.4953 GB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005567/0.3317, allocations: 112 kB / 0.4954 GB, free: 1.75 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001659/0.3318, allocations: 121.2 kB / 0.4955 GB, free: 1.629 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006376/0.3382, allocations: 2.667 MB / 0.4981 GB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02058/0.3589, allocations: 10.65 MB / 0.5085 GB, free: 3.969 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003355/0.3623, allocations: 1.837 MB / 0.5103 GB, free: 2.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/0.3642, allocations: 0.9204 MB / 0.5112 GB, free: 1.129 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002929/0.3645, allocations: 122.1 kB / 0.5113 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.3645, allocations: 47.56 kB / 0.5114 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 4.037e-06/0.3645, allocations: 0 / 0.5114 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02049/0.385, allocations: 7.292 MB / 0.5185 GB, free: 9.555 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.3851, allocations: 94.42 kB / 0.5186 GB, free: 9.445 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.002735/0.3879, allocations: 1.434 MB / 0.52 GB, free: 8 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002811/0.3882, allocations: 49.7 kB / 0.52 GB, free: 7.945 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009227/0.3891, allocations: 1.204 MB / 0.5212 GB, free: 6.727 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006755/0.3898, allocations: 461.4 kB / 0.5216 GB, free: 6.27 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006773/0.3905, allocations: 295.3 kB / 0.5219 GB, free: 5.973 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.3906, allocations: 309.1 kB / 0.5222 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001541/0.3922, allocations: 0.7777 MB / 0.523 GB, free: 4.887 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.3938, allocations: 1.242 MB / 0.5242 GB, free: 3.441 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.4048, allocations: 4.052 MB / 0.5281 GB, free: 15.18 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/0.4048, allocations: 4 kB / 0.5282 GB, free: 15.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007642/0.4125, allocations: 3.039 MB / 0.5311 GB, free: 12.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.581e-05/0.4126, allocations: 14.5 kB / 0.5311 GB, free: 12.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/0.4126, allocations: 16.38 kB / 0.5311 GB, free: 12.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002971/0.4156, allocations: 0.7174 MB / 0.5318 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4171, allocations: 391.4 kB / 0.5322 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.4294, allocations: 8.375 MB / 0.5404 GB, free: 2.188 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001696/0.4311, allocations: 127.8 kB / 0.5405 GB, free: 2.062 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003141/0.4314, allocations: 71.98 kB / 0.5406 GB, free: 1.992 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.002918/0.4344, allocations: 1.4 MB / 0.542 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001754/0.4361, allocations: 1.23 MB / 0.5432 GB, free: 15.16 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.011/0.4472, allocations: 4.017 MB / 0.5471 GB, free: 10.94 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.717e-05/0.4472, allocations: 8 kB / 0.5471 GB, free: 10.93 MB / 430.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.007436/0.4547, allocations: 2.954 MB / 0.55 GB, free: 7.953 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.4547, allocations: 12 kB / 0.55 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-05/0.4548, allocations: 12 kB / 0.55 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002837/0.4576, allocations: 0.7052 MB / 0.5507 GB, free: 7.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001533/0.4592, allocations: 391.4 kB / 0.5511 GB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.471, allocations: 8.155 MB / 0.559 GB, free: 14.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/0.4727, allocations: 123.7 kB / 0.5591 GB, free: 14.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002864/0.473, allocations: 67.98 kB / 0.5592 GB, free: 14.07 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.0005307/0.4736, allocations: 301 kB / 0.5595 GB, free: 13.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004197/0.474, allocations: 166 kB / 0.5597 GB, free: 13.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006271/0.4803, allocations: 2.676 MB / 0.5623 GB, free: 10.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.4803, allocations: 15.94 kB / 0.5623 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.4803, allocations: 0 / 0.5623 GB, free: 10.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.4804, allocations: 7.969 kB / 0.5623 GB, free: 10.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/0.4919, allocations: 5.339 MB / 0.5675 GB, free: 5.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.769e-05/0.492, allocations: 4 kB / 0.5675 GB, free: 5.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.4932, allocations: 255.9 kB / 0.5678 GB, free: 5.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002684/0.4959, allocations: 0.7017 MB / 0.5684 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001948/0.4961, allocations: 35.98 kB / 0.5685 GB, free: 4.434 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01297/0.5091, allocations: 8.496 MB / 0.5768 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.351e-06/0.5091, allocations: 4 kB / 0.5768 GB, free: 11.5 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008024/0.5171, allocations: 3.746 MB / 0.5804 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001012/0.5182, allocations: 390.9 kB / 0.5808 GB, free: 7.285 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/0.5187, allocations: 39.92 kB / 0.5808 GB, free: 7.246 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/0.5202, allocations: 99.89 kB / 0.5809 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.5206, allocations: 113.1 kB / 0.581 GB, free: 7.039 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001282/0.5207, allocations: 39.98 kB / 0.5811 GB, free: 7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.5228, allocations: 0.9659 MB / 0.582 GB, free: 6.035 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.51e-07/0.5228, allocations: 0 / 0.582 GB, free: 6.035 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003623/0.5264, allocations: 0.9102 MB / 0.5829 GB, free: 5.125 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.008466/0.5349, allocations: 4.384 MB / 0.5872 GB, free: 0.668 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.2005/0.7354, allocations: 4.599 MB / 0.5917 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.7355, allocations: 0.7188 kB / 0.5917 GB, free: 114.7 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003567/0.739, allocations: 1.747 MB / 0.5934 GB, free: 114.2 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.7417, allocations: 452.7 kB / 0.5938 GB, free: 114.1 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04175/0.7835, allocations: 18.54 MB / 0.6119 GB, free: 105.8 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002177/0.7857, allocations: 1.925 MB / 0.6138 GB, free: 104.9 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001665/0.7874, allocations: 0.4892 MB / 0.6143 GB, free: 104.8 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/0.7886, allocations: 0.9564 MB / 0.6152 GB, free: 104 MB / 462.1 MB Notification: Performance of SimCode: time 9.72e-07/0.7886, allocations: 0 / 0.6152 GB, free: 104 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09808/0.8867, allocations: 53.13 MB / 0.6671 GB, free: 56.75 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16, allocations: 7.844 kB / 0.6671 GB, free: 56.75 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1)