Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001517/0.001517, allocations: 213 kB / 22.24 MB, free: 5.258 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.441/1.441, allocations: 230.6 MB / 256 MB, free: 7.809 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.04535/0.04535, allocations: 8.541 MB / 321 MB, free: 10.42 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.SmaAllSpeeds,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 67.91 kB / 446.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1217/0.1241, allocations: 55.43 MB / 0.4905 GB, free: 8.137 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter smpm1.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter smpm1.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter smpm1.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter smpm1.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter smpm1.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter smpm1.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter smpm1.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter smpm1.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=1e-5) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm1.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm1.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm1.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm1.Rrd has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm1.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm1.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.01689/0.141, allocations: 10.19 MB / 0.5005 GB, free: 13.89 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.008653/0.1496, allocations: 3.132 MB / 0.5035 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002268/0.1519, allocations: 83.44 kB / 0.5036 GB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.1543, allocations: 0.6049 MB / 0.5042 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003531/0.1578, allocations: 0.8695 MB / 0.505 GB, free: 9.184 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001886/0.1597, allocations: 0.6203 MB / 0.5057 GB, free: 8.562 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.00477/0.1645, allocations: 3.116 MB / 0.5087 GB, free: 5.441 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003096/0.1676, allocations: 1.463 MB / 0.5101 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002393/0.1699, allocations: 1.386 MB / 0.5115 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00302/0.173, allocations: 1.56 MB / 0.513 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009864/0.1739, allocations: 384 kB / 0.5134 GB, free: 0.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001436/0.1754, allocations: 479.8 kB / 0.5138 GB, free: 116 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2444/0.4198, allocations: 0.9969 MB / 0.5148 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001665/0.4215, allocations: 1.339 MB / 0.5161 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005282/0.4267, allocations: 4.836 MB / 0.5208 GB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.4268, allocations: 1 kB / 0.5208 GB, free: 11.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4268, allocations: 3.625 kB / 0.5208 GB, free: 11.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001368/0.4269, allocations: 0 / 0.5208 GB, free: 11.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 699 * Number of variables: 699 Notification: Performance of Generate backend data structure: time 0.00673/0.4336, allocations: 3.27 MB / 0.524 GB, free: 10.27 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.4337, allocations: 9.344 kB / 0.524 GB, free: 10.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005333/0.4342, allocations: 387.4 kB / 0.5244 GB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008012/0.435, allocations: 345.5 kB / 0.5247 GB, free: 10.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003516/0.4385, allocations: 1.625 MB / 0.5263 GB, free: 9.625 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002292/0.4387, allocations: 233 kB / 0.5265 GB, free: 9.586 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004795/0.4392, allocations: 280.9 kB / 0.5268 GB, free: 9.574 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006482/0.4457, allocations: 3.434 MB / 0.5302 GB, free: 9.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.838e-05/0.4458, allocations: 6.656 kB / 0.5302 GB, free: 9.086 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002669/0.4461, allocations: 109 kB / 0.5303 GB, free: 9.004 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/0.4462, allocations: 124.3 kB / 0.5304 GB, free: 8.992 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005549/0.4518, allocations: 2.648 MB / 0.533 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01682/0.4686, allocations: 9.637 MB / 0.5424 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/0.4715, allocations: 1.481 MB / 0.5438 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.4731, allocations: 0.8581 MB / 0.5447 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002218/0.4734, allocations: 44.92 kB / 0.5447 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/0.4734, allocations: 49.03 kB / 0.5448 GB, free: 1.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 4.849e-06/0.4734, allocations: 2.156 kB / 0.5448 GB, free: 1.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=132): time 0.02053/0.4939, allocations: 7.086 MB / 0.5517 GB, free: 13.39 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.603e-05/0.494, allocations: 94.14 kB / 0.5518 GB, free: 13.3 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter smpm1.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/0.4968, allocations: 1.441 MB / 0.5532 GB, free: 12.51 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/0.4969, allocations: 47.8 kB / 0.5532 GB, free: 12.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00111/0.498, allocations: 1.246 MB / 0.5544 GB, free: 11.37 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005652/0.4986, allocations: 479 kB / 0.5549 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004426/0.499, allocations: 305.4 kB / 0.5552 GB, free: 10.78 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4992, allocations: 305.1 kB / 0.5555 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/0.5004, allocations: 0.7668 MB / 0.5562 GB, free: 10.1 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001825/0.5022, allocations: 1.267 MB / 0.5575 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01076/0.513, allocations: 4.013 MB / 0.5614 GB, free: 4.855 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.6e-05/0.513, allocations: 4 kB / 0.5614 GB, free: 4.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007701/0.5207, allocations: 3.021 MB / 0.5643 GB, free: 1.914 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.334e-05/0.5208, allocations: 8 kB / 0.5644 GB, free: 1.906 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.5208, allocations: 16 kB / 0.5644 GB, free: 1.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003022/0.5238, allocations: 0.7105 MB / 0.5651 GB, free: 1.176 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001509/0.5253, allocations: 399.1 kB / 0.5654 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01368/0.539, allocations: 7.94 MB / 0.5732 GB, free: 8.582 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.5408, allocations: 127.8 kB / 0.5733 GB, free: 8.457 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001583/0.5409, allocations: 71.98 kB / 0.5734 GB, free: 8.387 MB / 414.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) \"State of block\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003037/0.544, allocations: 1.4 MB / 0.5748 GB, free: 6.984 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00181/0.5458, allocations: 1.256 MB / 0.576 GB, free: 5.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01071/0.5565, allocations: 3.995 MB / 0.5799 GB, free: 1.391 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.66e-05/0.5565, allocations: 8 kB / 0.5799 GB, free: 1.383 MB / 414.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.007475/0.564, allocations: 2.931 MB / 0.5828 GB, free: 14.54 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.564, allocations: 12 kB / 0.5828 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.888e-05/0.5641, allocations: 16.38 kB / 0.5828 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002919/0.567, allocations: 0.6947 MB / 0.5835 GB, free: 13.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/0.5685, allocations: 397 kB / 0.5838 GB, free: 13.44 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01273/0.5812, allocations: 7.718 MB / 0.5914 GB, free: 5.418 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001782/0.583, allocations: 115.9 kB / 0.5915 GB, free: 5.305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.5832, allocations: 75.92 kB / 0.5916 GB, free: 5.23 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) \"State of block\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 2 (myMTPA.limiting.y,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,12)} Notification: Performance of prepare postOptimizeDAE: time 0.00052/0.5837, allocations: 302.8 kB / 0.5918 GB, free: 4.961 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003178/0.584, allocations: 174.9 kB / 0.592 GB, free: 4.789 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00656/0.5906, allocations: 2.652 MB / 0.5946 GB, free: 2.137 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.5906, allocations: 19.98 kB / 0.5946 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5906, allocations: 3.938 kB / 0.5946 GB, free: 2.113 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/0.5906, allocations: 7.984 kB / 0.5946 GB, free: 2.105 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/0.6021, allocations: 5.014 MB / 0.5995 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.6021, allocations: 7.875 kB / 0.5995 GB, free: 13.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.6032, allocations: 258.1 kB / 0.5998 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00266/0.6058, allocations: 0.6889 MB / 0.6005 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001189/0.6059, allocations: 35.98 kB / 0.6005 GB, free: 12.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.6193, allocations: 8.075 MB / 0.6084 GB, free: 3.699 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.6193, allocations: 4 kB / 0.6084 GB, free: 3.695 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008447/0.6277, allocations: 3.719 MB / 0.612 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001493/0.6292, allocations: 341.3 kB / 0.6123 GB, free: 15.61 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002649/0.6295, allocations: 32 kB / 0.6124 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.6305, allocations: 95.83 kB / 0.6125 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004067/0.6309, allocations: 128.2 kB / 0.6126 GB, free: 15.36 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/0.631, allocations: 39.98 kB / 0.6126 GB, free: 15.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001626/0.6326, allocations: 0.9464 MB / 0.6135 GB, free: 14.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6326, allocations: 0 / 0.6135 GB, free: 14.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003048/0.6357, allocations: 0.9062 MB / 0.6144 GB, free: 13.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008549/0.6442, allocations: 4.364 MB / 0.6187 GB, free: 9.074 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009054/0.6533, allocations: 4.28 MB / 0.6229 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.845e-06/0.6533, allocations: 0 / 0.6229 GB, free: 4.824 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003452/0.6567, allocations: 1.616 MB / 0.6244 GB, free: 3.199 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002593/0.6593, allocations: 450.3 kB / 0.6249 GB, free: 2.781 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/0.697, allocations: 18.48 MB / 0.6429 GB, free: 15.72 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.6987, allocations: 1.363 MB / 0.6443 GB, free: 14.32 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001575/0.7003, allocations: 498 kB / 0.6447 GB, free: 13.83 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/0.7016, allocations: 0.9601 MB / 0.6457 GB, free: 12.87 MB / 494.1 MB Notification: Performance of SimCode: time 9.92e-07/0.7016, allocations: 0 / 0.6457 GB, free: 12.87 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/0.8245, allocations: 55.78 MB / 0.7001 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.85/15.68, allocations: 4.062 kB / 0.7001 GB, free: 5.637 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0005 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.706182547844946] Failed to read output from testmodel.py, exit status != 0: 15.826986371073872 15.843422756 15.413406903 Calling exit ...