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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 108.9 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.425/1.425, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04303/0.04303, allocations: 8.544 MB / 317.4 MB, free: 11.78 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 67.91 kB / 441.7 MB, free: 3.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1104, allocations: 55.38 MB / 497.1 MB, free: 11.98 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.01551/0.1259, allocations: 11.67 MB / 0.4969 GB, free: 260 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007905/0.1338, allocations: 3.26 MB / 0.5 GB, free: 12.98 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.136, allocations: 87.5 kB / 0.5001 GB, free: 12.9 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.1378, allocations: 0.6361 MB / 0.5008 GB, free: 12.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003018/0.1409, allocations: 0.8578 MB / 0.5016 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.1424, allocations: 0.6194 MB / 0.5022 GB, free: 10.78 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.004381/0.1467, allocations: 3.119 MB / 0.5052 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002588/0.1493, allocations: 1.842 MB / 0.507 GB, free: 5.738 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001982/0.1513, allocations: 1.394 MB / 0.5084 GB, free: 4.34 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.1535, allocations: 1.693 MB / 0.5101 GB, free: 2.641 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005386/0.1541, allocations: 384 kB / 0.5104 GB, free: 2.266 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008134/0.1549, allocations: 479.8 kB / 0.5109 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001005/0.1559, allocations: 1.009 MB / 0.5119 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2214/0.3773, allocations: 1.654 MB / 0.5135 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.3834, allocations: 4.804 MB / 0.5182 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3834, allocations: 2.328 kB / 0.5182 GB, free: 10.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.3834, allocations: 0.5938 kB / 0.5182 GB, free: 10.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002036/0.3836, allocations: 0 / 0.5182 GB, free: 10.95 MB / 382.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.009134/0.3927, allocations: 3.342 MB / 0.5214 GB, free: 9.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/0.3928, allocations: 8.625 kB / 0.5214 GB, free: 9.59 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009248/0.3937, allocations: 386.5 kB / 0.5218 GB, free: 9.539 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.3949, allocations: 347.1 kB / 0.5221 GB, free: 9.371 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00393/0.3988, allocations: 1.712 MB / 0.5238 GB, free: 8.891 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.399, allocations: 231.4 kB / 0.524 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006797/0.3997, allocations: 279.6 kB / 0.5243 GB, free: 8.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007719/0.4074, allocations: 3.325 MB / 0.5276 GB, free: 8.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001091/0.4075, allocations: 7.812 kB / 0.5276 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003933/0.4079, allocations: 116 kB / 0.5277 GB, free: 8.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001538/0.4081, allocations: 121.1 kB / 0.5278 GB, free: 8.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006145/0.4142, allocations: 2.648 MB / 0.5304 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01981/0.434, allocations: 10.65 MB / 0.5408 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.4372, allocations: 1.781 MB / 0.5425 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001848/0.4391, allocations: 0.8625 MB / 0.5434 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000323/0.4394, allocations: 129 kB / 0.5435 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.824e-05/0.4395, allocations: 48.47 kB / 0.5435 GB, free: 15.58 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.286e-06/0.4395, allocations: 0 / 0.5435 GB, free: 15.58 MB / 398.1 MB Notification: Performance of matching and sorting (n=132): time 0.0238/0.4633, allocations: 7.307 MB / 0.5507 GB, free: 11.69 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.553e-05/0.4634, allocations: 89.95 kB / 0.5507 GB, free: 11.59 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.002913/0.4663, allocations: 1.428 MB / 0.5521 GB, free: 10.82 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003798/0.4666, allocations: 46.02 kB / 0.5522 GB, free: 10.77 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.4677, allocations: 1.243 MB / 0.5534 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006553/0.4684, allocations: 495.2 kB / 0.5539 GB, free: 9.266 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006204/0.469, allocations: 289.9 kB / 0.5541 GB, free: 9.098 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.4691, allocations: 309.1 kB / 0.5544 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.4707, allocations: 0.7787 MB / 0.5552 GB, free: 8.07 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001871/0.4725, allocations: 1.229 MB / 0.5564 GB, free: 6.645 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0115/0.484, allocations: 4.025 MB / 0.5603 GB, free: 2.48 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.642e-05/0.4841, allocations: 4 kB / 0.5603 GB, free: 2.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.00823/0.4923, allocations: 3.014 MB / 0.5633 GB, free: 15.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.48e-05/0.4923, allocations: 13.72 kB / 0.5633 GB, free: 15.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.003e-05/0.4924, allocations: 16 kB / 0.5633 GB, free: 15.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003279/0.4957, allocations: 0.7084 MB / 0.564 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.4974, allocations: 399.3 kB / 0.5644 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/0.5123, allocations: 8.329 MB / 0.5725 GB, free: 5.738 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.5142, allocations: 132.8 kB / 0.5726 GB, free: 5.609 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003168/0.5145, allocations: 74.48 kB / 0.5727 GB, free: 5.539 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.003302/0.5178, allocations: 1.4 MB / 0.5741 GB, free: 4.133 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002062/0.5199, allocations: 1.225 MB / 0.5753 GB, free: 2.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01184/0.5317, allocations: 3.995 MB / 0.5792 GB, free: 14.58 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.002e-05/0.5318, allocations: 4 kB / 0.5792 GB, free: 14.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.008242/0.54, allocations: 2.93 MB / 0.582 GB, free: 11.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.54, allocations: 12 kB / 0.582 GB, free: 11.72 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.716e-05/0.5401, allocations: 22.56 kB / 0.5821 GB, free: 11.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003259/0.5433, allocations: 0.6965 MB / 0.5828 GB, free: 11 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001638/0.545, allocations: 394.1 kB / 0.5831 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.559, allocations: 8.126 MB / 0.5911 GB, free: 2.129 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001944/0.561, allocations: 123.8 kB / 0.5912 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.5614, allocations: 67.98 kB / 0.5912 GB, free: 1.941 MB / 430.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.0008605/0.5622, allocations: 306 kB / 0.5915 GB, free: 1.664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007264/0.5629, allocations: 170.9 kB / 0.5917 GB, free: 1.496 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007784/0.5707, allocations: 2.638 MB / 0.5943 GB, free: 14.86 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/0.5708, allocations: 16 kB / 0.5943 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.154e-05/0.5708, allocations: 7.938 kB / 0.5943 GB, free: 14.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.419e-05/0.5708, allocations: 7.969 kB / 0.5943 GB, free: 14.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.5865, allocations: 5.302 MB / 0.5995 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/0.5865, allocations: 0 / 0.5995 GB, free: 9.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/0.5878, allocations: 255.9 kB / 0.5997 GB, free: 9.262 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003118/0.5909, allocations: 0.697 MB / 0.6004 GB, free: 8.555 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002942/0.5912, allocations: 35.98 kB / 0.6004 GB, free: 8.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/0.6069, allocations: 8.464 MB / 0.6087 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6069, allocations: 9.562 kB / 0.6087 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009331/0.6163, allocations: 3.724 MB / 0.6124 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001204/0.6175, allocations: 411.7 kB / 0.6127 GB, free: 11.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000464/0.6179, allocations: 32 kB / 0.6128 GB, free: 11.44 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/0.6192, allocations: 103.8 kB / 0.6129 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003872/0.6196, allocations: 124.1 kB / 0.613 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/0.6197, allocations: 36 kB / 0.613 GB, free: 11.18 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001909/0.6216, allocations: 0.9542 MB / 0.614 GB, free: 10.23 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6216, allocations: 0 / 0.614 GB, free: 10.23 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003617/0.6252, allocations: 0.8984 MB / 0.6148 GB, free: 9.332 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.009405/0.6346, allocations: 4.376 MB / 0.6191 GB, free: 4.934 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009986/0.6446, allocations: 4.421 MB / 0.6234 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/0.6446, allocations: 384 / 0.6234 GB, free: 0.5039 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003769/0.6484, allocations: 1.681 MB / 0.6251 GB, free: 14.79 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002981/0.6514, allocations: 450.8 kB / 0.6255 GB, free: 14.37 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04066/0.692, allocations: 18.46 MB / 0.6435 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/0.6948, allocations: 1.925 MB / 0.6454 GB, free: 9.379 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001761/0.6965, allocations: 498 kB / 0.6459 GB, free: 8.887 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001666/0.6982, allocations: 0.9601 MB / 0.6468 GB, free: 7.926 MB / 494.1 MB Notification: Performance of SimCode: time 1.422e-06/0.6982, allocations: 0 / 0.6468 GB, free: 7.926 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1542/0.8524, allocations: 53.53 MB / 0.6991 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.68/16.53, allocations: 4.062 kB / 0.6991 GB, free: 2.863 MB / 0.5294 GB " [Timeout remaining time 643] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.856095668001217] Failed to read output from testmodel.py, exit status != 0: 16.669888652002555 16.691058917 16.304411639 Calling exit ...