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.001393/0.001393, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001428/0.001428, allocations: 216.5 kB / 22.25 MB, free: 4.855 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.44/1.44, allocations: 230.6 MB / 256 MB, free: 7.785 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.04265/0.04265, allocations: 8.55 MB / 321 MB, free: 10.41 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.002193/0.002193, allocations: 71.83 kB / 446.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1053, allocations: 55.42 MB / 0.4905 GB, free: 8.145 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.01272/0.118, allocations: 8.782 MB / 0.4991 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005907/0.1239, allocations: 2.782 MB / 0.5018 GB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001245/0.1252, allocations: 63.56 kB / 0.5018 GB, free: 12.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.1266, allocations: 0.5043 MB / 0.5023 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.1291, allocations: 0.7883 MB / 0.5031 GB, free: 11.16 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001303/0.1304, allocations: 0.5031 MB / 0.5036 GB, free: 10.66 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.003461/0.1339, allocations: 2.572 MB / 0.5061 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001827/0.1357, allocations: 0.9658 MB / 0.5071 GB, free: 7.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001673/0.1374, allocations: 1.125 MB / 0.5082 GB, free: 5.934 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002241/0.1396, allocations: 1.307 MB / 0.5094 GB, free: 4.621 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005971/0.1402, allocations: 292 kB / 0.5097 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000918/0.1412, allocations: 379.8 kB / 0.5101 GB, free: 3.965 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001029/0.1422, allocations: 0.8258 MB / 0.5109 GB, free: 3.137 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001604/0.1438, allocations: 1.05 MB / 0.5119 GB, free: 2.082 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1967/0.3405, allocations: 3.737 MB / 0.5156 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3405, allocations: 1.344 kB / 0.5156 GB, free: 13.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3405, allocations: 0 / 0.5156 GB, free: 13.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001006/0.3406, allocations: 3.781 kB / 0.5156 GB, free: 13.2 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.005801/0.3464, allocations: 2.736 MB / 0.5182 GB, free: 12.08 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.3464, allocations: 10.81 kB / 0.5182 GB, free: 12.08 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003656/0.3468, allocations: 289.3 kB / 0.5185 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006778/0.3475, allocations: 288.2 kB / 0.5188 GB, free: 11.9 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002675/0.3502, allocations: 1.363 MB / 0.5201 GB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.3503, allocations: 185.9 kB / 0.5203 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000311/0.3506, allocations: 202 kB / 0.5205 GB, free: 11.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004942/0.3556, allocations: 2.696 MB / 0.5231 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.227e-05/0.3556, allocations: 8.312 kB / 0.5231 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/0.3558, allocations: 81.92 kB / 0.5232 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001298/0.3559, allocations: 98.7 kB / 0.5233 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00468/0.3606, allocations: 2.176 MB / 0.5254 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.3737, allocations: 7.47 MB / 0.5327 GB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/0.3766, allocations: 1.337 MB / 0.534 GB, free: 7.727 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.3781, allocations: 0.7465 MB / 0.5348 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.3783, allocations: 53.89 kB / 0.5348 GB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001336/0.3797, allocations: 0.8743 MB / 0.5357 GB, free: 7.066 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.276e-06/0.3797, allocations: 1.156 kB / 0.5357 GB, free: 7.066 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01581/0.3955, allocations: 6.284 MB / 0.5418 GB, free: 4.656 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.335e-05/0.3955, allocations: 175.6 kB / 0.542 GB, free: 4.461 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.002058/0.3976, allocations: 1.362 MB / 0.5433 GB, free: 3.715 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.3977, allocations: 45.17 kB / 0.5433 GB, free: 3.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006734/0.3984, allocations: 0.9948 MB / 0.5443 GB, free: 2.797 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002779/0.3987, allocations: 447.3 kB / 0.5447 GB, free: 2.422 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/0.399, allocations: 274.8 kB / 0.545 GB, free: 2.258 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.691e-05/0.3991, allocations: 304 kB / 0.5453 GB, free: 1.961 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.4002, allocations: 0.7722 MB / 0.546 GB, free: 1.555 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/0.4017, allocations: 1.31 MB / 0.5473 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/0.4118, allocations: 3.952 MB / 0.5512 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.194e-05/0.4118, allocations: 3.844 kB / 0.5512 GB, free: 14.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006202/0.418, allocations: 2.737 MB / 0.5539 GB, free: 12.29 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.08e-05/0.4181, allocations: 38.06 kB / 0.5539 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.278e-05/0.4181, allocations: 16 kB / 0.5539 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00249/0.4206, allocations: 0.6036 MB / 0.5545 GB, free: 11.61 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.4222, allocations: 404.7 kB / 0.5549 GB, free: 11.24 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01196/0.4342, allocations: 8.964 MB / 0.5636 GB, free: 1.762 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.4359, allocations: 138.6 kB / 0.5638 GB, free: 1.629 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001552/0.4361, allocations: 68.05 kB / 0.5638 GB, free: 1.562 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.002482/0.4386, allocations: 1.285 MB / 0.5651 GB, free: 280 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00188/0.4404, allocations: 1.297 MB / 0.5664 GB, free: 14.78 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01067/0.4511, allocations: 3.925 MB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.26e-05/0.4511, allocations: 4 kB / 0.5702 GB, free: 10.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006499/0.4576, allocations: 2.706 MB / 0.5728 GB, free: 8.047 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.274e-05/0.4577, allocations: 43.98 kB / 0.5729 GB, free: 8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.4577, allocations: 15.94 kB / 0.5729 GB, free: 7.984 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002371/0.4601, allocations: 0.5961 MB / 0.5735 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/0.4617, allocations: 409.9 kB / 0.5739 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.4734, allocations: 8.964 MB / 0.5826 GB, free: 13.51 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/0.4751, allocations: 143.8 kB / 0.5828 GB, free: 13.37 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000142/0.4753, allocations: 67.92 kB / 0.5828 GB, free: 13.3 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.0004824/0.4758, allocations: 293.4 kB / 0.5831 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.4761, allocations: 166 kB / 0.5833 GB, free: 12.88 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005891/0.482, allocations: 2.383 MB / 0.5856 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.482, allocations: 12 kB / 0.5856 GB, free: 10.47 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.482, allocations: 8 kB / 0.5856 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/0.482, allocations: 7.969 kB / 0.5856 GB, free: 10.46 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009877/0.4919, allocations: 4.384 MB / 0.5899 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/0.4919, allocations: 0 / 0.5899 GB, free: 6.039 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/0.4933, allocations: 295.2 kB / 0.5902 GB, free: 5.762 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002171/0.4954, allocations: 0.5802 MB / 0.5907 GB, free: 5.168 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001165/0.4955, allocations: 27.98 kB / 0.5908 GB, free: 5.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01186/0.5074, allocations: 9.113 MB / 0.5997 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.5074, allocations: 6.625 kB / 0.5997 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007612/0.515, allocations: 3.421 MB / 0.603 GB, free: 8.043 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/0.5161, allocations: 306.8 kB / 0.6033 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002577/0.5163, allocations: 39.92 kB / 0.6034 GB, free: 7.703 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/0.5174, allocations: 99.88 kB / 0.6034 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.5177, allocations: 130 kB / 0.6036 GB, free: 7.484 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.5178, allocations: 39.98 kB / 0.6036 GB, free: 7.445 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001449/0.5193, allocations: 0.9077 MB / 0.6045 GB, free: 6.539 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5193, allocations: 0 / 0.6045 GB, free: 6.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002458/0.5217, allocations: 0.7812 MB / 0.6053 GB, free: 5.758 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.008017/0.5297, allocations: 4.057 MB / 0.6092 GB, free: 1.648 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009269/0.539, allocations: 4.581 MB / 0.6137 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/0.539, allocations: 3.984 kB / 0.6137 GB, free: 13 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003339/0.5423, allocations: 1.702 MB / 0.6154 GB, free: 11.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00208/0.5444, allocations: 420 kB / 0.6158 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02985/0.5743, allocations: 16.91 MB / 0.6323 GB, free: 9.477 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001372/0.5756, allocations: 1.104 MB / 0.6333 GB, free: 8.332 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001481/0.5771, allocations: 493 kB / 0.6338 GB, free: 7.844 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.5783, allocations: 0.7726 MB / 0.6346 GB, free: 7.07 MB / 478.1 MB Notification: Performance of SimCode: time 8.41e-07/0.5783, allocations: 0 / 0.6346 GB, free: 7.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1215/0.6998, allocations: 51.23 MB / 0.6846 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.37, allocations: 4.062 kB / 0.6846 GB, free: 4.371 MB / 0.5137 GB " [Timeout remaining time 644] (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: 18.31862708926201] Failed to read output from testmodel.py, exit status != 0: 15.516197921242565 15.533361006 15.189521786 Calling exit ...