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.00513/0.00513, allocations: 98.09 kB / 15.73 MB, free: 6.012 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.001163/0.001163, allocations: 197 kB / 16.67 MB, free: 5.949 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.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1397/0.1397, allocations: 8.022 MB / 298.6 MB, free: 2.309 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 67.91 kB / 412.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2276, allocations: 51.19 MB / 463.8 MB, free: 17.98 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.01126/0.2389, allocations: 11.58 MB / 475.4 MB, free: 9.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006106/0.2451, allocations: 3.226 MB / 478.6 MB, free: 7.297 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.2466, allocations: 65.25 kB / 478.6 MB, free: 7.281 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001379/0.248, allocations: 0.6387 MB / 479.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002301/0.2504, allocations: 0.841 MB / 480.1 MB, free: 6.359 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001229/0.2516, allocations: 0.6425 MB / 480.8 MB, free: 5.949 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.00296/0.2546, allocations: 3.087 MB / 483.9 MB, free: 4.328 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002429/0.257, allocations: 2.545 MB / 486.4 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.2587, allocations: 1.355 MB / 487.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.2605, allocations: 1.663 MB / 489.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005019/0.261, allocations: 388.8 kB / 489.8 MB, free: 1.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008582/0.2619, allocations: 476.8 kB / 490.3 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006965/0.2626, allocations: 0.9953 MB / 491.3 MB, free: 200 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001706/0.2643, allocations: 1.654 MB / 492.9 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005033/0.2693, allocations: 4.812 MB / 497.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.2693, allocations: 0 / 497.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.2694, allocations: 0 / 497.7 MB, free: 11.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.379e-05/0.2695, allocations: 0 / 497.7 MB, free: 11.34 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.006849/0.2763, allocations: 3.34 MB / 0.4893 GB, free: 8.156 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.2764, allocations: 11.97 kB / 0.4893 GB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004999/0.2769, allocations: 384 kB / 0.4897 GB, free: 7.762 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008031/0.2777, allocations: 346.9 kB / 0.49 GB, free: 7.422 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002986/0.2807, allocations: 1.66 MB / 0.4916 GB, free: 5.703 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/0.2809, allocations: 243.1 kB / 0.4919 GB, free: 5.457 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003766/0.2813, allocations: 271.9 kB / 0.4921 GB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005399/0.2867, allocations: 3.334 MB / 0.4954 GB, free: 1.773 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.596e-05/0.2868, allocations: 7.953 kB / 0.4954 GB, free: 1.766 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002332/0.287, allocations: 108 kB / 0.4955 GB, free: 1.66 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001438/0.2871, allocations: 129.2 kB / 0.4956 GB, free: 1.531 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004598/0.2918, allocations: 2.671 MB / 0.4982 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01638/0.3081, allocations: 10.68 MB / 0.5087 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003139/0.3113, allocations: 1.845 MB / 0.5105 GB, free: 1.914 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001634/0.313, allocations: 0.9088 MB / 0.5114 GB, free: 1.008 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000255/0.3133, allocations: 130 kB / 0.5115 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.532e-05/0.3133, allocations: 43.56 kB / 0.5115 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.216e-06/0.3133, allocations: 0 / 0.5115 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02014/0.3335, allocations: 7.329 MB / 0.5187 GB, free: 9.395 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.869e-05/0.3336, allocations: 90.42 kB / 0.5188 GB, free: 9.289 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.002545/0.3361, allocations: 1.438 MB / 0.5202 GB, free: 7.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001326/0.3363, allocations: 53.64 kB / 0.5202 GB, free: 7.781 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00082/0.3371, allocations: 1.239 MB / 0.5214 GB, free: 6.531 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004377/0.3375, allocations: 483.9 kB / 0.5219 GB, free: 6.055 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005127/0.3381, allocations: 299.5 kB / 0.5222 GB, free: 5.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.935e-05/0.3382, allocations: 301.1 kB / 0.5225 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3396, allocations: 0.7816 MB / 0.5232 GB, free: 4.672 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.3412, allocations: 1.246 MB / 0.5244 GB, free: 3.223 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01038/0.3516, allocations: 4.041 MB / 0.5284 GB, free: 14.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/0.3516, allocations: 4 kB / 0.5284 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007306/0.359, allocations: 3.048 MB / 0.5314 GB, free: 11.9 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.359, allocations: 12 kB / 0.5314 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.359, allocations: 15.94 kB / 0.5314 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003056/0.3621, allocations: 0.7177 MB / 0.5321 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.3636, allocations: 395.4 kB / 0.5325 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01344/0.3771, allocations: 8.381 MB / 0.5407 GB, free: 1.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001954/0.3791, allocations: 123.8 kB / 0.5408 GB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/0.3795, allocations: 72.05 kB / 0.5408 GB, free: 1.773 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.002835/0.3823, allocations: 1.409 MB / 0.5422 GB, free: 372 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001792/0.3841, allocations: 1.234 MB / 0.5434 GB, free: 14.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01055/0.3947, allocations: 4.01 MB / 0.5473 GB, free: 10.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.477e-05/0.3947, 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.007357/0.4021, allocations: 2.966 MB / 0.5502 GB, free: 7.723 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.4022, allocations: 12 kB / 0.5503 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.923e-05/0.4022, allocations: 16 kB / 0.5503 GB, free: 7.695 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002952/0.4052, allocations: 0.6983 MB / 0.551 GB, free: 6.984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001484/0.4067, allocations: 395.4 kB / 0.5513 GB, free: 6.598 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01257/0.4192, allocations: 8.166 MB / 0.5593 GB, free: 14.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4209, allocations: 119.8 kB / 0.5594 GB, free: 13.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002438/0.4212, allocations: 71.98 kB / 0.5595 GB, free: 13.82 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.0005436/0.4217, allocations: 298.6 kB / 0.5598 GB, free: 13.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004981/0.4222, allocations: 166.9 kB / 0.5599 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006745/0.429, allocations: 2.664 MB / 0.5625 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.429, allocations: 19.92 kB / 0.5626 GB, free: 10.65 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.4291, allocations: 8 kB / 0.5626 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.4291, allocations: 7.922 kB / 0.5626 GB, free: 10.64 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/0.4417, allocations: 5.343 MB / 0.5678 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.4418, allocations: 0 / 0.5678 GB, free: 5.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/0.4428, allocations: 259.8 kB / 0.568 GB, free: 4.938 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002692/0.4456, allocations: 0.6902 MB / 0.5687 GB, free: 4.234 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001305/0.4457, allocations: 35.97 kB / 0.5687 GB, free: 4.199 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/0.4586, allocations: 8.516 MB / 0.5771 GB, free: 11.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.4586, allocations: 4.062 kB / 0.5771 GB, free: 11.24 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008266/0.4669, allocations: 3.751 MB / 0.5807 GB, free: 7.43 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001074/0.468, allocations: 407.8 kB / 0.5811 GB, free: 7.012 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/0.4684, allocations: 35.91 kB / 0.5811 GB, free: 6.977 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001272/0.4697, allocations: 95.89 kB / 0.5812 GB, free: 6.883 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003437/0.4701, allocations: 121.1 kB / 0.5814 GB, free: 6.766 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001131/0.4702, allocations: 43.98 kB / 0.5814 GB, free: 6.723 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001776/0.472, allocations: 0.962 MB / 0.5823 GB, free: 5.762 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.472, allocations: 0 / 0.5823 GB, free: 5.762 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003948/0.476, allocations: 0.9101 MB / 0.5832 GB, free: 4.852 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.008593/0.4846, allocations: 4.393 MB / 0.5875 GB, free: 396 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.1935/0.6781, allocations: 4.6 MB / 0.592 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.015e-06/0.6782, allocations: 1.422 kB / 0.592 GB, free: 115.4 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003209/0.6814, allocations: 1.753 MB / 0.5937 GB, free: 114.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/0.6836, allocations: 456.4 kB / 0.5942 GB, free: 114.6 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0324/0.716, allocations: 18.62 MB / 0.6123 GB, free: 106.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001569/0.7176, allocations: 1.927 MB / 0.6142 GB, free: 105.3 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001543/0.7192, allocations: 0.4921 MB / 0.6147 GB, free: 105.2 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000966/0.7202, allocations: 0.955 MB / 0.6156 GB, free: 104.5 MB / 462.1 MB Notification: Performance of SimCode: time 1.122e-06/0.7202, allocations: 0 / 0.6156 GB, free: 104.5 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08407/0.8042, allocations: 53.13 MB / 0.6675 GB, free: 57.1 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.57, allocations: 15.84 kB / 0.6675 GB, free: 57.08 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)