Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.001288/0.001288, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001666/0.001666, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.423/1.423, allocations: 230.6 MB / 256 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04184/0.04184, allocations: 8.551 MB / 321 MB, free: 10.76 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_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.001974/0.001974, allocations: 67.89 kB / 446.9 MB, free: 168 kB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.105, allocations: 55.41 MB / 0.4906 GB, free: 8.652 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.01328/0.1183, allocations: 10.03 MB / 0.5004 GB, free: 14.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006144/0.1244, allocations: 2.918 MB / 0.5032 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001329/0.1258, allocations: 67.56 kB / 0.5033 GB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.1275, allocations: 0.5355 MB / 0.5038 GB, free: 11.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002659/0.1301, allocations: 0.796 MB / 0.5046 GB, free: 10.24 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.1315, allocations: 0.4992 MB / 0.5051 GB, free: 9.738 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.003948/0.1355, allocations: 2.577 MB / 0.5076 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00178/0.1372, allocations: 1.017 MB / 0.5086 GB, free: 6.086 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.1392, allocations: 1.117 MB / 0.5097 GB, free: 4.965 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002393/0.1415, allocations: 1.405 MB / 0.511 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007219/0.1423, allocations: 288 kB / 0.5113 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.1433, allocations: 383.8 kB / 0.5117 GB, free: 2.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001086/0.1444, allocations: 0.8258 MB / 0.5125 GB, free: 2.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00194/0.1463, allocations: 1.299 MB / 0.5138 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2006/0.347, allocations: 3.717 MB / 0.5174 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.347, allocations: 0 / 0.5174 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.347, allocations: 0 / 0.5174 GB, free: 14.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.013e-05/0.347, allocations: 0 / 0.5174 GB, free: 14.08 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.005756/0.3528, allocations: 2.743 MB / 0.5201 GB, free: 12.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3528, allocations: 11.03 kB / 0.5201 GB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003521/0.3532, allocations: 286.7 kB / 0.5204 GB, free: 12.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000691/0.3539, allocations: 283.1 kB / 0.5206 GB, free: 12.78 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002471/0.3564, allocations: 1.367 MB / 0.522 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.3565, allocations: 186.1 kB / 0.5221 GB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000334/0.3568, allocations: 201.1 kB / 0.5223 GB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004773/0.3616, allocations: 2.594 MB / 0.5249 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.736e-05/0.3617, allocations: 8.25 kB / 0.5249 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/0.3619, allocations: 84.12 kB / 0.5249 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001206/0.362, allocations: 96.69 kB / 0.525 GB, free: 12.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003971/0.366, allocations: 2.183 MB / 0.5272 GB, free: 12.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01196/0.3779, allocations: 8.086 MB / 0.5351 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00262/0.3806, allocations: 1.341 MB / 0.5364 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.3819, allocations: 0.7451 MB / 0.5371 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002025/0.3821, allocations: 49.75 kB / 0.5372 GB, free: 7.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001219/0.3833, allocations: 0.8029 MB / 0.5379 GB, free: 7.355 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.685e-06/0.3833, allocations: 0 / 0.5379 GB, free: 7.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01501/0.3983, allocations: 6.289 MB / 0.5441 GB, free: 4.152 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.3983, allocations: 168.3 kB / 0.5442 GB, free: 3.965 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.001732/0.4001, allocations: 1.346 MB / 0.5456 GB, free: 3.23 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001482/0.4002, allocations: 47.64 kB / 0.5456 GB, free: 3.184 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000595/0.4008, allocations: 0.9946 MB / 0.5466 GB, free: 2.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002741/0.4011, allocations: 445.1 kB / 0.547 GB, free: 1.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003908/0.4015, allocations: 269.9 kB / 0.5473 GB, free: 1.777 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.4015, allocations: 302.6 kB / 0.5475 GB, free: 1.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00117/0.4027, allocations: 0.7455 MB / 0.5483 GB, free: 1.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001324/0.404, allocations: 1.179 MB / 0.5494 GB, free: 196 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009931/0.4139, allocations: 3.955 MB / 0.5533 GB, free: 13.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.414, allocations: 2.594 kB / 0.5533 GB, free: 13.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006338/0.4203, allocations: 2.709 MB / 0.5559 GB, free: 11.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.609e-05/0.4204, allocations: 38.08 kB / 0.556 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.4204, allocations: 16 kB / 0.556 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/0.4228, allocations: 0.6044 MB / 0.5566 GB, free: 10.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.4244, allocations: 412.2 kB / 0.557 GB, free: 10.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01176/0.4362, allocations: 9.015 MB / 0.5658 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/0.4379, allocations: 139.9 kB / 0.5659 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001652/0.4381, allocations: 63.98 kB / 0.566 GB, free: 0.5156 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.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.002649/0.4407, allocations: 1.277 MB / 0.5672 GB, free: 15.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001752/0.4425, allocations: 1.161 MB / 0.5683 GB, free: 13.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01053/0.453, allocations: 3.929 MB / 0.5722 GB, free: 9.844 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/0.453, allocations: 4 kB / 0.5722 GB, free: 9.84 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006282/0.4593, allocations: 2.678 MB / 0.5748 GB, free: 7.211 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.595e-05/0.4593, allocations: 38.08 kB / 0.5748 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.4594, allocations: 19.94 kB / 0.5749 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002392/0.4617, allocations: 0.6019 MB / 0.5754 GB, free: 6.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001562/0.4633, allocations: 407 kB / 0.5758 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01156/0.4749, allocations: 9.018 MB / 0.5846 GB, free: 12.61 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001762/0.4766, allocations: 146.6 kB / 0.5848 GB, free: 12.47 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.4768, allocations: 67.92 kB / 0.5848 GB, free: 12.41 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.0005257/0.4773, allocations: 299 kB / 0.5851 GB, free: 12.13 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003471/0.4777, allocations: 163 kB / 0.5853 GB, free: 11.97 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005777/0.4834, allocations: 2.384 MB / 0.5876 GB, free: 9.578 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.4835, allocations: 16 kB / 0.5876 GB, free: 9.562 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.4835, allocations: 3.984 kB / 0.5876 GB, free: 9.559 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/0.4835, allocations: 3.984 kB / 0.5876 GB, free: 9.555 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/0.4938, allocations: 4.637 MB / 0.5922 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.4938, allocations: 0 / 0.5922 GB, free: 4.895 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00138/0.4951, allocations: 294.7 kB / 0.5924 GB, free: 4.617 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002163/0.4973, allocations: 0.5777 MB / 0.593 GB, free: 4.023 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/0.4975, allocations: 27.98 kB / 0.593 GB, free: 3.996 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01145/0.5089, allocations: 9.171 MB / 0.602 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/0.5089, allocations: 4 kB / 0.602 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007416/0.5163, allocations: 3.421 MB / 0.6053 GB, free: 6.836 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001223/0.5176, allocations: 318.7 kB / 0.6056 GB, free: 6.523 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002962/0.5178, allocations: 27.94 kB / 0.6057 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.5189, allocations: 114.6 kB / 0.6058 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003327/0.5192, allocations: 115.5 kB / 0.6059 GB, free: 6.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.783e-05/0.5193, allocations: 38.39 kB / 0.6059 GB, free: 6.242 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001481/0.5208, allocations: 0.9167 MB / 0.6068 GB, free: 5.324 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5208, allocations: 0 / 0.6068 GB, free: 5.324 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002778/0.5236, allocations: 0.7773 MB / 0.6076 GB, free: 4.547 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.007756/0.5313, allocations: 4.06 MB / 0.6115 GB, free: 456 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009237/0.5406, allocations: 4.528 MB / 0.616 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.805e-06/0.5406, allocations: 0 / 0.616 GB, free: 11.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003311/0.5439, allocations: 1.702 MB / 0.6176 GB, free: 10.11 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.546, allocations: 427.6 kB / 0.618 GB, free: 9.711 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/0.5772, allocations: 16.8 MB / 0.6344 GB, free: 8.461 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001616/0.5788, allocations: 1.676 MB / 0.6361 GB, free: 6.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001553/0.5803, allocations: 489 kB / 0.6365 GB, free: 6.266 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.5815, allocations: 0.7804 MB / 0.6373 GB, free: 5.484 MB / 478.1 MB Notification: Performance of SimCode: time 1.232e-06/0.5815, allocations: 0 / 0.6373 GB, free: 5.484 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1658/0.7473, allocations: 49.78 MB / 0.6859 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.22/16.96, allocations: 10.05 kB / 0.6859 GB, free: 4.141 MB / 0.5137 GB " [Timeout remaining time 643] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.01927873400564] Failed to read output from testmodel.py, exit status != 0: 17.1159867690003 17.148005511 16.795579498 Calling exit ...