Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.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.001692/0.001692, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001769/0.001769, allocations: 215 kB / 22.25 MB, free: 5.117 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 8.016 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.04273/0.04273, allocations: 8.546 MB / 321 MB, free: 10.62 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.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",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.002104/0.002104, allocations: 68.17 kB / 446.9 MB, free: 15.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.134, allocations: 55.41 MB / 0.4906 GB, free: 8.473 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=0.1*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: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.SmaDriveLim): time 0.01384/0.1478, allocations: 10.03 MB / 0.5004 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007057/0.1549, allocations: 2.914 MB / 0.5032 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001653/0.1565, allocations: 67.56 kB / 0.5033 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001694/0.1582, allocations: 0.5276 MB / 0.5038 GB, free: 10.87 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002635/0.1609, allocations: 0.7922 MB / 0.5046 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001313/0.1622, allocations: 0.5146 MB / 0.5051 GB, free: 9.555 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.003937/0.1661, allocations: 2.58 MB / 0.5076 GB, free: 6.969 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001801/0.1679, allocations: 1.009 MB / 0.5086 GB, free: 5.91 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001797/0.1697, allocations: 1.125 MB / 0.5097 GB, free: 4.781 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001918/0.1716, allocations: 1.409 MB / 0.511 GB, free: 3.367 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004783/0.1721, allocations: 292 kB / 0.5113 GB, free: 3.082 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007546/0.1729, allocations: 379.8 kB / 0.5117 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008796/0.1737, allocations: 0.8219 MB / 0.5125 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.1752, allocations: 1.303 MB / 0.5138 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3232/0.4984, allocations: 3.71 MB / 0.5174 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.4984, allocations: 0.8906 kB / 0.5174 GB, free: 13.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.785e-06/0.4984, allocations: 1.5 kB / 0.5174 GB, free: 13.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001779/0.4986, allocations: 0 / 0.5174 GB, free: 13.68 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01122/0.5098, allocations: 2.742 MB / 0.5201 GB, free: 12.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/0.5099, allocations: 11.72 kB / 0.5201 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006672/0.5105, allocations: 287.8 kB / 0.5203 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/0.5117, allocations: 285.7 kB / 0.5206 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004601/0.5163, allocations: 1.367 MB / 0.522 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002634/0.5166, allocations: 183.7 kB / 0.5221 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007893/0.5173, allocations: 202.5 kB / 0.5223 GB, free: 11.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009411/0.5268, allocations: 2.595 MB / 0.5249 GB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001165/0.5269, allocations: 9.594 kB / 0.5249 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003528/0.5272, allocations: 75.88 kB / 0.5249 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002022/0.5274, allocations: 100 kB / 0.525 GB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00764/0.5351, allocations: 2.182 MB / 0.5272 GB, free: 11.74 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02376/0.5588, allocations: 8.089 MB / 0.5351 GB, free: 7.867 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004545/0.5634, allocations: 1.337 MB / 0.5364 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002214/0.5656, allocations: 0.7536 MB / 0.5371 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003476/0.5659, allocations: 51.83 kB / 0.5372 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002228/0.5682, allocations: 0.8016 MB / 0.5379 GB, free: 6.742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.458e-06/0.5682, allocations: 1.156 kB / 0.5379 GB, free: 6.742 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.02388/0.592, allocations: 6.283 MB / 0.5441 GB, free: 3.543 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.103e-05/0.5921, allocations: 175.1 kB / 0.5442 GB, free: 3.352 MB / 382.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.002875/0.595, allocations: 1.342 MB / 0.5455 GB, free: 2.621 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002981/0.5953, allocations: 48.84 kB / 0.5456 GB, free: 2.57 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008995/0.5962, allocations: 0.9898 MB / 0.5466 GB, free: 1.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004987/0.5967, allocations: 449.3 kB / 0.547 GB, free: 1.324 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006153/0.5973, allocations: 269.7 kB / 0.5472 GB, free: 1.168 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.955e-05/0.5974, allocations: 302.7 kB / 0.5475 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.5994, allocations: 0.7515 MB / 0.5483 GB, free: 500 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002654/0.602, allocations: 1.182 MB / 0.5494 GB, free: 15.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01702/0.619, allocations: 3.946 MB / 0.5533 GB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.563e-05/0.6191, allocations: 4 kB / 0.5533 GB, free: 13.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.01075/0.6298, allocations: 2.701 MB / 0.5559 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/0.6299, allocations: 37.69 kB / 0.556 GB, free: 10.51 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.499e-05/0.63, allocations: 16.38 kB / 0.556 GB, free: 10.5 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003919/0.6339, allocations: 0.6079 MB / 0.5566 GB, free: 9.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003079/0.637, allocations: 410.8 kB / 0.557 GB, free: 9.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01796/0.6549, allocations: 9.016 MB / 0.5658 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/0.6578, allocations: 143.9 kB / 0.5659 GB, free: 15.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002545/0.6581, allocations: 63.98 kB / 0.566 GB, free: 15.77 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.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" 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.003931/0.662, allocations: 1.259 MB / 0.5672 GB, free: 14.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002855/0.6648, allocations: 1.167 MB / 0.5683 GB, free: 13.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01741/0.6822, allocations: 3.927 MB / 0.5722 GB, free: 9.113 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.331e-05/0.6823, allocations: 4 kB / 0.5722 GB, free: 9.109 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.01024/0.6925, allocations: 2.676 MB / 0.5748 GB, free: 6.484 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.584e-05/0.6926, allocations: 38.08 kB / 0.5748 GB, free: 6.441 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/0.6926, allocations: 19.94 kB / 0.5748 GB, free: 6.422 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003841/0.6965, allocations: 0.6009 MB / 0.5754 GB, free: 5.805 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/0.6993, allocations: 405.9 kB / 0.5758 GB, free: 5.43 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01606/0.7154, allocations: 9.03 MB / 0.5846 GB, free: 11.88 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/0.7181, allocations: 139.9 kB / 0.5848 GB, free: 11.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002849/0.7184, allocations: 71.92 kB / 0.5848 GB, free: 11.67 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.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" 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: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007503/0.7192, allocations: 306.4 kB / 0.5851 GB, free: 11.39 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006407/0.7198, allocations: 159 kB / 0.5853 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008092/0.7279, allocations: 2.391 MB / 0.5876 GB, free: 8.836 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.7279, allocations: 12 kB / 0.5876 GB, free: 8.824 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.7279, allocations: 4 kB / 0.5876 GB, free: 8.82 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/0.728, allocations: 3.984 kB / 0.5876 GB, free: 8.816 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.7436, allocations: 4.635 MB / 0.5922 GB, free: 4.156 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.305e-05/0.7436, allocations: 3.984 kB / 0.5922 GB, free: 4.152 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00205/0.7456, allocations: 294.8 kB / 0.5924 GB, free: 3.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00326/0.7489, allocations: 0.5657 MB / 0.593 GB, free: 3.293 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001916/0.7491, allocations: 35.97 kB / 0.593 GB, free: 3.258 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/0.7661, allocations: 9.179 MB / 0.602 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7661, allocations: 0 / 0.602 GB, free: 9.566 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0115/0.7776, allocations: 3.425 MB / 0.6053 GB, free: 6.098 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001508/0.7791, allocations: 310.8 kB / 0.6056 GB, free: 5.793 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004397/0.7795, allocations: 35.94 kB / 0.6057 GB, free: 5.758 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001592/0.7811, allocations: 103.9 kB / 0.6058 GB, free: 5.656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005174/0.7816, allocations: 127.8 kB / 0.6059 GB, free: 5.535 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001461/0.7818, allocations: 35.98 kB / 0.6059 GB, free: 5.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002282/0.7841, allocations: 0.9089 MB / 0.6068 GB, free: 4.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7841, allocations: 0 / 0.6068 GB, free: 4.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004757/0.7888, allocations: 0.7812 MB / 0.6076 GB, free: 3.809 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01181/0.8006, allocations: 4.055 MB / 0.6115 GB, free: 15.71 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01396/0.8146, allocations: 4.532 MB / 0.616 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/0.8146, allocations: 0 / 0.616 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005237/0.8199, allocations: 1.706 MB / 0.6176 GB, free: 9.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003397/0.8232, allocations: 429.7 kB / 0.618 GB, free: 8.973 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04294/0.8662, allocations: 16.78 MB / 0.6344 GB, free: 7.727 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00179/0.868, allocations: 1.672 MB / 0.6361 GB, free: 6.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001705/0.8697, allocations: 493 kB / 0.6365 GB, free: 5.531 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00128/0.871, allocations: 0.7805 MB / 0.6373 GB, free: 4.75 MB / 478.1 MB Notification: Performance of SimCode: time 1.633e-06/0.871, allocations: 3.188 kB / 0.6373 GB, free: 4.75 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1653/1.036, allocations: 49.77 MB / 0.6859 GB, free: 3.414 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.71/17.74, allocations: 10.28 kB / 0.6859 GB, free: 3.41 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & python3 -m fmpy simulate --output-file EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.930257581996557] Failed to read output from testmodel.py, exit status != 0: 17.89475938800024 17.912924747 17.411081481 Calling exit ...