Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_latest_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.005039/0.005039, allocations: 98.42 kB / 15.73 MB, free: 5.98 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.001169/0.001169, allocations: 194.4 kB / 16.67 MB, free: 5.91 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.292/1.292, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04018/0.04018, allocations: 8.03 MB / 298.6 MB, free: 6.809 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 412.6 MB, free: 22.8 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07692/0.07812, allocations: 51.2 MB / 463.8 MB, free: 3.574 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=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.0119/0.09006, allocations: 11.58 MB / 475.4 MB, free: 7.941 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005682/0.09576, allocations: 3.221 MB / 478.6 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.09696, allocations: 63.75 kB / 478.6 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00145/0.09842, allocations: 0.6399 MB / 479.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002166/0.1006, allocations: 0.8423 MB / 480.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.1017, allocations: 0.6311 MB / 480.8 MB, free: 2.527 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.00293/0.1046, allocations: 3.094 MB / 483.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002671/0.1073, allocations: 2.556 MB / 486.4 MB, free: 12.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001687/0.109, allocations: 1.359 MB / 487.8 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001939/0.111, allocations: 1.654 MB / 489.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004492/0.1114, allocations: 388 kB / 489.8 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006804/0.1121, allocations: 475.8 kB / 490.3 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008369/0.113, allocations: 1.001 MB / 491.3 MB, free: 7.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001526/0.1145, allocations: 1.657 MB / 492.9 MB, free: 6.266 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.1187, allocations: 4.803 MB / 497.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.1188, allocations: 0 / 497.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.1188, allocations: 0 / 497.7 MB, free: 1.445 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.994e-05/0.1189, allocations: 0 / 497.7 MB, free: 1.445 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.006055/0.1249, allocations: 3.341 MB / 0.4893 GB, free: 14.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.125, allocations: 8.031 kB / 0.4893 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000443/0.1254, allocations: 392 kB / 0.4897 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007698/0.1262, allocations: 342.9 kB / 0.49 GB, free: 13.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002758/0.129, allocations: 1.66 MB / 0.4916 GB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001881/0.1292, allocations: 243.2 kB / 0.4919 GB, free: 11.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003916/0.1296, allocations: 267.9 kB / 0.4921 GB, free: 11.08 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005285/0.1349, allocations: 3.338 MB / 0.4954 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.929e-05/0.135, allocations: 11.89 kB / 0.4954 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002333/0.1352, allocations: 104 kB / 0.4955 GB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.1353, allocations: 129.2 kB / 0.4956 GB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004486/0.1398, allocations: 2.663 MB / 0.4982 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1965/0.3363, allocations: 10.66 MB / 0.5086 GB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/0.3394, allocations: 1.85 MB / 0.5105 GB, free: 38.53 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001553/0.341, allocations: 0.91 MB / 0.5113 GB, free: 38.23 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000211/0.3412, allocations: 127 kB / 0.5115 GB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3413, allocations: 46.92 kB / 0.5115 GB, free: 38.09 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.186e-06/0.3413, allocations: 4.312 kB / 0.5115 GB, free: 38.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01973/0.361, allocations: 7.332 MB / 0.5187 GB, free: 35.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3611, allocations: 92.45 kB / 0.5188 GB, free: 35.54 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.00188/0.363, allocations: 1.432 MB / 0.5202 GB, free: 34.99 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.3631, allocations: 46.83 kB / 0.5202 GB, free: 34.94 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005588/0.3637, allocations: 1.241 MB / 0.5214 GB, free: 34.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.364, allocations: 489.2 kB / 0.5219 GB, free: 33.73 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004207/0.3644, allocations: 298.4 kB / 0.5222 GB, free: 33.55 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.551e-05/0.3644, allocations: 306.4 kB / 0.5225 GB, free: 33.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3656, allocations: 0.7756 MB / 0.5232 GB, free: 32.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.367, allocations: 1.246 MB / 0.5244 GB, free: 31.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009045/0.376, allocations: 4.046 MB / 0.5284 GB, free: 29.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.3761, allocations: 7.406 kB / 0.5284 GB, free: 29.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006289/0.3824, allocations: 3.054 MB / 0.5314 GB, free: 27.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3824, allocations: 11.19 kB / 0.5314 GB, free: 27.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/0.3824, allocations: 19.39 kB / 0.5314 GB, free: 27.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002731/0.3852, allocations: 0.713 MB / 0.5321 GB, free: 27.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.3865, allocations: 390.8 kB / 0.5325 GB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.3969, allocations: 8.375 MB / 0.5406 GB, free: 18.49 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3984, allocations: 123.8 kB / 0.5408 GB, free: 18.37 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.3985, allocations: 75.98 kB / 0.5408 GB, free: 18.29 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.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.001986/0.4005, allocations: 1.401 MB / 0.5422 GB, free: 16.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001188/0.4017, allocations: 1.23 MB / 0.5434 GB, free: 15.46 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008743/0.4105, allocations: 4.025 MB / 0.5473 GB, free: 11.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.444e-06/0.4105, allocations: 4 kB / 0.5473 GB, free: 11.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005998/0.4165, allocations: 2.973 MB / 0.5502 GB, free: 8.242 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.4165, allocations: 14.19 kB / 0.5503 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.4166, allocations: 12 kB / 0.5503 GB, free: 8.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002657/0.4192, allocations: 0.6941 MB / 0.5509 GB, free: 7.512 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/0.4205, allocations: 398.9 kB / 0.5513 GB, free: 7.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01004/0.4306, allocations: 8.161 MB / 0.5593 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001506/0.4321, allocations: 115.9 kB / 0.5594 GB, free: 14.44 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.4322, allocations: 72 kB / 0.5595 GB, free: 14.37 MB / 398.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.0004389/0.4327, allocations: 301.6 kB / 0.5598 GB, free: 14.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.433, allocations: 178.9 kB / 0.5599 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006332/0.4394, allocations: 2.66 MB / 0.5625 GB, free: 11.21 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.4394, allocations: 18.88 kB / 0.5626 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.4394, allocations: 3.938 kB / 0.5626 GB, free: 11.2 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.476e-05/0.4394, allocations: 7.969 kB / 0.5626 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.4501, allocations: 5.343 MB / 0.5678 GB, free: 5.777 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/0.4502, allocations: 4 kB / 0.5678 GB, free: 5.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4513, allocations: 247.7 kB / 0.568 GB, free: 5.531 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002618/0.4539, allocations: 0.7058 MB / 0.5687 GB, free: 4.812 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001/0.454, allocations: 35.98 kB / 0.5687 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01237/0.4664, allocations: 8.516 MB / 0.5771 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.4664, allocations: 4 kB / 0.5771 GB, free: 11.84 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007744/0.4742, allocations: 3.751 MB / 0.5807 GB, free: 8.035 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/0.4751, allocations: 403.8 kB / 0.5811 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.4754, allocations: 36 kB / 0.5811 GB, free: 7.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009899/0.4764, allocations: 99.81 kB / 0.5812 GB, free: 7.488 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002841/0.4767, allocations: 117.1 kB / 0.5814 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-05/0.4768, allocations: 36 kB / 0.5814 GB, free: 7.336 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001339/0.4781, allocations: 0.9698 MB / 0.5823 GB, free: 6.367 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4781, allocations: 3.938 kB / 0.5823 GB, free: 6.363 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002758/0.4809, allocations: 0.9023 MB / 0.5832 GB, free: 5.461 MB / 414.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.008214/0.4891, allocations: 4.39 MB / 0.5875 GB, free: 1.008 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00861/0.4978, allocations: 4.618 MB / 0.592 GB, free: 12.28 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.4978, allocations: 6 kB / 0.592 GB, free: 12.27 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.5011, allocations: 1.749 MB / 0.5937 GB, free: 10.47 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002339/0.5034, allocations: 447.5 kB / 0.5942 GB, free: 10.05 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03258/0.5361, allocations: 18.62 MB / 0.6123 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001965/0.5381, allocations: 1.925 MB / 0.6142 GB, free: 4.773 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001492/0.5396, allocations: 0.4941 MB / 0.6147 GB, free: 4.273 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001225/0.5408, allocations: 0.9562 MB / 0.6156 GB, free: 3.32 MB / 446.1 MB Notification: Performance of SimCode: time 1.723e-06/0.5408, allocations: 0 / 0.6156 GB, free: 3.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0982/0.639, allocations: 53.14 MB / 0.6675 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.74/15.38, allocations: 4.062 kB / 0.6675 GB, free: 14.58 MB / 0.4981 GB (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1)