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.004856/0.004856, allocations: 100.6 kB / 15.73 MB, free: 6.043 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.001145/0.001145, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.306/1.306, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04176/0.04176, allocations: 8.044 MB / 298.6 MB, free: 6.777 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001384/0.001384, allocations: 67.89 kB / 412.6 MB, free: 22.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09525/0.09666, allocations: 51.2 MB / 463.8 MB, free: 3.535 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.01264/0.1093, allocations: 11.57 MB / 475.3 MB, free: 7.914 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006338/0.1157, allocations: 3.225 MB / 478.6 MB, free: 4.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.1175, allocations: 63.75 kB / 478.6 MB, free: 4.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001974/0.1195, allocations: 0.6321 MB / 479.3 MB, free: 3.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00299/0.1225, allocations: 0.8578 MB / 480.1 MB, free: 3.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001667/0.1242, allocations: 0.6242 MB / 480.8 MB, free: 2.492 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.003869/0.1281, allocations: 3.098 MB / 483.8 MB, free: 15.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003653/0.1318, allocations: 2.557 MB / 486.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002015/0.1338, allocations: 1.351 MB / 487.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002607/0.1364, allocations: 1.658 MB / 489.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009352/0.1374, allocations: 384 kB / 489.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.1388, allocations: 479.8 kB / 490.3 MB, free: 8.898 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001561/0.1404, allocations: 0.9973 MB / 491.3 MB, free: 7.898 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002919/0.1433, allocations: 1.657 MB / 492.9 MB, free: 6.234 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00582/0.1492, allocations: 4.786 MB / 497.7 MB, free: 1.434 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1492, allocations: 4 kB / 497.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1492, allocations: 0 / 497.7 MB, free: 1.43 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001942/0.1494, allocations: 0 / 497.7 MB, free: 1.43 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.008776/0.1582, allocations: 3.27 MB / 0.4892 GB, free: 14.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1583, allocations: 12.03 kB / 0.4892 GB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001023/0.1593, allocations: 376 kB / 0.4896 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.1606, allocations: 337.2 kB / 0.4899 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003213/0.1638, allocations: 1.648 MB / 0.4915 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002197/0.164, allocations: 247.1 kB / 0.4918 GB, free: 11.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005532/0.1646, allocations: 267.9 kB / 0.492 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005472/0.1701, allocations: 3.33 MB / 0.4953 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.801e-05/0.1702, allocations: 4 kB / 0.4953 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.1704, allocations: 116 kB / 0.4954 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.1706, allocations: 121.2 kB / 0.4955 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004691/0.1753, allocations: 2.667 MB / 0.4981 GB, free: 4.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2032/0.3785, allocations: 10.64 MB / 0.5085 GB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002778/0.3813, allocations: 1.852 MB / 0.5103 GB, free: 38.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001483/0.3828, allocations: 0.9111 MB / 0.5112 GB, free: 38.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002263/0.383, allocations: 119.5 kB / 0.5113 GB, free: 38.15 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.3831, allocations: 53.08 kB / 0.5114 GB, free: 38.1 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.076e-06/0.3831, allocations: 0 / 0.5114 GB, free: 38.1 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.01877/0.4019, allocations: 7.293 MB / 0.5185 GB, free: 35.62 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.573e-05/0.402, allocations: 101 kB / 0.5186 GB, free: 35.52 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.002176/0.4041, allocations: 1.429 MB / 0.52 GB, free: 34.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001272/0.4043, allocations: 47.55 kB / 0.52 GB, free: 34.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005788/0.4049, allocations: 1.207 MB / 0.5212 GB, free: 34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.4052, allocations: 466.5 kB / 0.5216 GB, free: 33.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004146/0.4056, allocations: 293.3 kB / 0.5219 GB, free: 33.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.541e-05/0.4056, allocations: 305.1 kB / 0.5222 GB, free: 33.13 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.4068, allocations: 0.7759 MB / 0.523 GB, free: 32.74 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001333/0.4081, allocations: 1.243 MB / 0.5242 GB, free: 31.76 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008897/0.4171, allocations: 4.048 MB / 0.5281 GB, free: 29.36 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.4171, allocations: 3.531 kB / 0.5281 GB, free: 29.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.005988/0.4231, allocations: 3.046 MB / 0.5311 GB, free: 27.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.4231, allocations: 10.88 kB / 0.5311 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.4232, allocations: 15.06 kB / 0.5311 GB, free: 27.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002662/0.4258, allocations: 0.7067 MB / 0.5318 GB, free: 27.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001269/0.4271, allocations: 399.7 kB / 0.5322 GB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009774/0.4369, allocations: 8.378 MB / 0.5404 GB, free: 18.44 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.4384, allocations: 127.8 kB / 0.5405 GB, free: 18.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.4385, allocations: 71.98 kB / 0.5406 GB, free: 18.25 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.001935/0.4405, allocations: 1.401 MB / 0.542 GB, free: 16.84 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001105/0.4416, allocations: 1.226 MB / 0.5432 GB, free: 15.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008467/0.4501, allocations: 4.01 MB / 0.5471 GB, free: 11.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.105e-05/0.4501, allocations: 12 kB / 0.5471 GB, free: 11.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.005485/0.4556, allocations: 2.953 MB / 0.55 GB, free: 8.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4556, allocations: 15.61 kB / 0.55 GB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.4556, allocations: 16 kB / 0.55 GB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002381/0.458, allocations: 0.7137 MB / 0.5507 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00116/0.4592, allocations: 387.4 kB / 0.5511 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009533/0.4688, allocations: 8.157 MB / 0.559 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4702, allocations: 119.4 kB / 0.5591 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.4703, allocations: 71.98 kB / 0.5592 GB, free: 14.34 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.0004737/0.4708, allocations: 304.6 kB / 0.5595 GB, free: 14.04 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003127/0.4711, allocations: 169.9 kB / 0.5597 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00594/0.4771, allocations: 2.66 MB / 0.5623 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.394e-05/0.4771, allocations: 16 kB / 0.5623 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4771, allocations: 0 / 0.5623 GB, free: 11.18 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/0.4771, allocations: 3.984 kB / 0.5623 GB, free: 11.17 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/0.4882, allocations: 5.349 MB / 0.5675 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/0.4882, allocations: 0 / 0.5675 GB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.4894, allocations: 251.9 kB / 0.5677 GB, free: 5.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002616/0.492, allocations: 0.6978 MB / 0.5684 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001752/0.4922, allocations: 43.97 kB / 0.5685 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.5045, allocations: 8.512 MB / 0.5768 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.778e-06/0.5046, allocations: 0 / 0.5768 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007994/0.5126, allocations: 3.741 MB / 0.5804 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001014/0.5136, allocations: 394.9 kB / 0.5808 GB, free: 7.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/0.5141, allocations: 27.98 kB / 0.5808 GB, free: 7.594 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.5153, allocations: 99.89 kB / 0.5809 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003671/0.5157, allocations: 117.1 kB / 0.581 GB, free: 7.379 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/0.5158, allocations: 39.98 kB / 0.5811 GB, free: 7.34 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001678/0.5175, allocations: 0.9659 MB / 0.582 GB, free: 6.375 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5175, allocations: 0 / 0.582 GB, free: 6.375 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003432/0.521, allocations: 0.9089 MB / 0.5829 GB, free: 5.469 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.007935/0.5289, allocations: 4.38 MB / 0.5872 GB, free: 1.031 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.008452/0.5374, allocations: 4.617 MB / 0.5917 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.443e-06/0.5374, allocations: 0 / 0.5917 GB, free: 12.31 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003071/0.5405, allocations: 1.742 MB / 0.5934 GB, free: 10.52 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002327/0.5428, allocations: 455.2 kB / 0.5938 GB, free: 10.09 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03293/0.5758, allocations: 18.53 MB / 0.6119 GB, free: 6.879 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002316/0.5781, allocations: 1.928 MB / 0.6138 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001652/0.5798, allocations: 498 kB / 0.6143 GB, free: 4.422 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/0.5813, allocations: 0.9523 MB / 0.6152 GB, free: 3.473 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5813, allocations: 4 kB / 0.6152 GB, free: 3.469 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.174/1.755, allocations: 53.15 MB / 0.6671 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.11/17.86, allocations: 0 / 0.6671 GB, free: 14.73 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1)