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.001392/0.001392, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001456/0.001456, allocations: 218.4 kB / 22.25 MB, free: 5.105 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.461/1.461, allocations: 230.6 MB / 256 MB, free: 7.801 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.04311/0.04311, allocations: 8.536 MB / 321 MB, free: 10.39 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.002041/0.002041, allocations: 71.88 kB / 446.8 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1071, allocations: 55.42 MB / 0.4905 GB, free: 8.098 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.01229/0.1194, allocations: 8.777 MB / 0.4991 GB, free: 15.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006908/0.1263, allocations: 2.786 MB / 0.5018 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1281, allocations: 63.56 kB / 0.5019 GB, free: 12.42 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1296, allocations: 0.5042 MB / 0.5023 GB, free: 11.91 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003534/0.1332, allocations: 0.7922 MB / 0.5031 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.1347, allocations: 0.5066 MB / 0.5036 GB, free: 10.61 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.0038/0.1385, allocations: 2.577 MB / 0.5061 GB, free: 8.023 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001659/0.1402, allocations: 1.001 MB / 0.5071 GB, free: 6.973 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001793/0.1419, allocations: 1.125 MB / 0.5082 GB, free: 5.844 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.1441, allocations: 1.409 MB / 0.5096 GB, free: 4.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005521/0.1447, allocations: 292 kB / 0.5099 GB, free: 4.145 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008123/0.1455, allocations: 383.8 kB / 0.5102 GB, free: 3.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008692/0.1464, allocations: 0.8141 MB / 0.511 GB, free: 2.953 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.1477, allocations: 1.062 MB / 0.5121 GB, free: 1.887 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2102/0.3579, allocations: 3.731 MB / 0.5157 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3579, allocations: 0 / 0.5157 GB, free: 13.84 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3579, allocations: 2.188 kB / 0.5157 GB, free: 13.84 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.277e-05/0.358, allocations: 0 / 0.5157 GB, free: 13.84 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.00536/0.3634, allocations: 2.743 MB / 0.5184 GB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3634, allocations: 7.688 kB / 0.5184 GB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003495/0.3638, allocations: 285.2 kB / 0.5187 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006491/0.3644, allocations: 290.8 kB / 0.5189 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00259/0.367, allocations: 1.366 MB / 0.5203 GB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.3671, allocations: 185.2 kB / 0.5204 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003039/0.3674, allocations: 197.7 kB / 0.5206 GB, free: 12.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004472/0.3719, allocations: 2.698 MB / 0.5233 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.506e-05/0.372, allocations: 11.2 kB / 0.5233 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001882/0.3722, allocations: 77.25 kB / 0.5234 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001059/0.3723, allocations: 104.5 kB / 0.5235 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003975/0.3762, allocations: 2.174 MB / 0.5256 GB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01261/0.3889, allocations: 7.467 MB / 0.5329 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00295/0.3918, allocations: 1.347 MB / 0.5342 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00132/0.3931, allocations: 0.749 MB / 0.5349 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000214/0.3933, allocations: 44.94 kB / 0.535 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.3946, allocations: 0.8688 MB / 0.5358 GB, free: 7.367 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.065e-06/0.3946, allocations: 4 kB / 0.5358 GB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01635/0.4109, allocations: 6.288 MB / 0.542 GB, free: 4.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.894e-05/0.411, allocations: 171.7 kB / 0.5421 GB, free: 4.648 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.002066/0.4131, allocations: 1.369 MB / 0.5435 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002545/0.4133, allocations: 45.27 kB / 0.5435 GB, free: 3.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006145/0.4139, allocations: 0.9943 MB / 0.5445 GB, free: 2.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003099/0.4143, allocations: 446.3 kB / 0.5449 GB, free: 2.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004066/0.4147, allocations: 270.8 kB / 0.5452 GB, free: 2.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.784e-05/0.4147, allocations: 306.7 kB / 0.5454 GB, free: 2.148 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001167/0.4159, allocations: 0.7725 MB / 0.5462 GB, free: 1.742 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/0.4172, allocations: 1.312 MB / 0.5475 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009947/0.4272, allocations: 3.953 MB / 0.5513 GB, free: 14.38 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.4272, allocations: 7.906 kB / 0.5513 GB, free: 14.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006139/0.4333, allocations: 2.732 MB / 0.554 GB, free: 12.43 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.337e-05/0.4334, allocations: 41.7 kB / 0.5541 GB, free: 12.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.156e-05/0.4334, allocations: 13.69 kB / 0.5541 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002415/0.4358, allocations: 0.5946 MB / 0.5546 GB, free: 11.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4374, allocations: 412.7 kB / 0.555 GB, free: 11.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4492, allocations: 8.958 MB / 0.5638 GB, free: 1.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/0.451, allocations: 140 kB / 0.5639 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001688/0.4511, allocations: 67.98 kB / 0.564 GB, free: 1.719 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.00257/0.4537, allocations: 1.283 MB / 0.5652 GB, free: 440 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00192/0.4556, allocations: 1.295 MB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0108/0.4664, allocations: 3.924 MB / 0.5703 GB, free: 10.87 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.592e-05/0.4664, allocations: 8 kB / 0.5703 GB, free: 10.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006302/0.4727, allocations: 2.712 MB / 0.573 GB, free: 8.195 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.384e-05/0.4728, allocations: 33.7 kB / 0.573 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.093e-05/0.4728, allocations: 15.94 kB / 0.573 GB, free: 8.141 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/0.4752, allocations: 0.6079 MB / 0.5736 GB, free: 7.523 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.4767, allocations: 404.7 kB / 0.574 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01146/0.4882, allocations: 8.965 MB / 0.5828 GB, free: 13.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.4899, allocations: 139.9 kB / 0.5829 GB, free: 13.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/0.4901, allocations: 69.78 kB / 0.583 GB, free: 13.46 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.0005033/0.4906, allocations: 304 kB / 0.5833 GB, free: 13.18 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003224/0.4909, allocations: 159 kB / 0.5834 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005891/0.4968, allocations: 2.387 MB / 0.5857 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.895e-05/0.4968, allocations: 12 kB / 0.5858 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4968, allocations: 0 / 0.5858 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.108e-05/0.4968, allocations: 7.969 kB / 0.5858 GB, free: 10.61 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.5075, allocations: 4.388 MB / 0.5901 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.048e-05/0.5075, allocations: 4 kB / 0.5901 GB, free: 6.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001348/0.5088, allocations: 282.3 kB / 0.5903 GB, free: 5.926 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002131/0.5109, allocations: 0.5815 MB / 0.5909 GB, free: 5.328 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001479/0.5111, allocations: 42.38 kB / 0.5909 GB, free: 5.289 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.5228, allocations: 9.091 MB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5229, allocations: 6.938 kB / 0.5998 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007545/0.5304, allocations: 3.421 MB / 0.6032 GB, free: 8.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00113/0.5315, allocations: 318.7 kB / 0.6035 GB, free: 7.895 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.5318, allocations: 36.2 kB / 0.6035 GB, free: 7.859 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00101/0.5328, allocations: 105.8 kB / 0.6036 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003653/0.5332, allocations: 123.4 kB / 0.6037 GB, free: 7.641 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.495e-05/0.5333, allocations: 39.92 kB / 0.6038 GB, free: 7.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001474/0.5348, allocations: 0.9089 MB / 0.6046 GB, free: 6.691 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5348, allocations: 2.625 kB / 0.6046 GB, free: 6.691 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002838/0.5376, allocations: 0.7851 MB / 0.6054 GB, free: 5.906 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.007814/0.5454, allocations: 4.049 MB / 0.6094 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009122/0.5545, allocations: 4.591 MB / 0.6138 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/0.5545, allocations: 0 / 0.6138 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003493/0.558, allocations: 1.695 MB / 0.6155 GB, free: 11.41 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002217/0.5602, allocations: 437.7 kB / 0.6159 GB, free: 11 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03142/0.5917, allocations: 16.88 MB / 0.6324 GB, free: 9.633 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001382/0.593, allocations: 1.112 MB / 0.6335 GB, free: 8.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001631/0.5947, allocations: 489 kB / 0.634 GB, free: 7.996 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001152/0.5958, allocations: 0.7766 MB / 0.6347 GB, free: 7.219 MB / 478.1 MB Notification: Performance of SimCode: time 1.453e-06/0.5958, allocations: 0 / 0.6347 GB, free: 7.219 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1448/0.7406, allocations: 51.76 MB / 0.6853 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.59, allocations: 0 / 0.6853 GB, free: 3.992 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.642109203035943] Failed to read output from testmodel.py, exit status != 0: 15.744920398981776 15.763530268 15.402291659 Calling exit ...