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.001804/0.001804, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002288/0.002288, allocations: 216.2 kB / 22.26 MB, free: 5.078 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.452/1.452, allocations: 230.6 MB / 256 MB, free: 8.031 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.04114/0.04114, allocations: 8.54 MB / 321 MB, free: 10.62 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.001987/0.001987, allocations: 63.91 kB / 446.9 MB, free: 15.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1076, allocations: 55.43 MB / 0.4906 GB, free: 8.449 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.01526/0.1229, allocations: 11.72 MB / 0.502 GB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007422/0.1303, allocations: 3.276 MB / 0.5052 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001779/0.1321, allocations: 79.56 kB / 0.5053 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001879/0.134, allocations: 0.6439 MB / 0.5059 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002974/0.137, allocations: 0.8617 MB / 0.5068 GB, free: 7.793 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001588/0.1385, allocations: 0.6392 MB / 0.5074 GB, free: 7.156 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.004515/0.1431, allocations: 3.103 MB / 0.5104 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002647/0.1457, allocations: 1.541 MB / 0.5119 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002137/0.1478, allocations: 1.394 MB / 0.5133 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.223/0.3708, allocations: 1.694 MB / 0.515 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001266/0.3721, allocations: 387.4 kB / 0.5153 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.3732, allocations: 477 kB / 0.5158 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009702/0.3742, allocations: 1.009 MB / 0.5168 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002376/0.3766, allocations: 1.656 MB / 0.5184 GB, free: 10.71 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009004/0.3856, allocations: 4.81 MB / 0.5231 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.025e-06/0.3856, allocations: 0.5312 kB / 0.5231 GB, free: 10.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3856, allocations: 0 / 0.5231 GB, free: 10.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002423/0.3858, allocations: 2.875 kB / 0.5231 GB, free: 10.12 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.008601/0.3944, allocations: 3.273 MB / 0.5263 GB, free: 8.836 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.3945, allocations: 9.125 kB / 0.5263 GB, free: 8.836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005431/0.395, allocations: 384.1 kB / 0.5267 GB, free: 8.785 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009127/0.3959, allocations: 346.4 kB / 0.527 GB, free: 8.617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003243/0.3992, allocations: 1.636 MB / 0.5286 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.3994, allocations: 233.4 kB / 0.5288 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004065/0.3998, allocations: 279.1 kB / 0.5291 GB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005741/0.4055, allocations: 3.317 MB / 0.5323 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.138e-05/0.4056, allocations: 9.75 kB / 0.5323 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002587/0.4059, allocations: 110.4 kB / 0.5324 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001742/0.406, allocations: 130.1 kB / 0.5325 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004487/0.4105, allocations: 2.647 MB / 0.5351 GB, free: 6.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01547/0.426, allocations: 10.46 MB / 0.5454 GB, free: 15.05 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/0.4291, allocations: 1.479 MB / 0.5468 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001532/0.4306, allocations: 0.8545 MB / 0.5476 GB, free: 13.93 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002444/0.4309, allocations: 62.48 kB / 0.5477 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.061e-05/0.4309, allocations: 43.59 kB / 0.5477 GB, free: 13.86 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.136e-06/0.4309, allocations: 3.312 kB / 0.5477 GB, free: 13.86 MB / 398.1 MB Notification: Performance of matching and sorting (n=132): time 0.02002/0.451, allocations: 7.083 MB / 0.5547 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.451, allocations: 91.11 kB / 0.5547 GB, free: 10.15 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.002369/0.4534, allocations: 1.413 MB / 0.5561 GB, free: 9.344 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002382/0.4536, allocations: 45.7 kB / 0.5562 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.4547, allocations: 1.249 MB / 0.5574 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005729/0.4553, allocations: 488.3 kB / 0.5578 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/0.4558, allocations: 295.5 kB / 0.5581 GB, free: 7.277 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.4559, allocations: 309.1 kB / 0.5584 GB, free: 6.973 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001486/0.4574, allocations: 0.7738 MB / 0.5592 GB, free: 6.195 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001866/0.4593, allocations: 1.23 MB / 0.5604 GB, free: 4.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/0.4703, allocations: 4.026 MB / 0.5643 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.666e-05/0.4703, allocations: 4 kB / 0.5643 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.007898/0.4782, allocations: 3.017 MB / 0.5673 GB, free: 13.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.583e-05/0.4782, allocations: 12 kB / 0.5673 GB, free: 13.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.244e-05/0.4783, allocations: 13.69 kB / 0.5673 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003232/0.4815, allocations: 0.7163 MB / 0.568 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001667/0.4832, allocations: 390.5 kB / 0.5684 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.4972, allocations: 8.033 MB / 0.5762 GB, free: 4.246 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.4991, allocations: 123.8 kB / 0.5763 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/0.4993, allocations: 73.94 kB / 0.5764 GB, free: 4.055 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.002904/0.5022, allocations: 1.404 MB / 0.5778 GB, free: 2.652 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001775/0.504, allocations: 1.226 MB / 0.579 GB, free: 1.234 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01089/0.5149, allocations: 3.997 MB / 0.5829 GB, free: 13.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.708e-05/0.5149, allocations: 4 kB / 0.5829 GB, free: 13.09 MB / 430.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.007408/0.5223, allocations: 2.941 MB / 0.5857 GB, free: 10.23 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5224, allocations: 8 kB / 0.5857 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.5224, allocations: 16 kB / 0.5858 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002926/0.5253, allocations: 0.6889 MB / 0.5864 GB, free: 9.508 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/0.5269, allocations: 397.6 kB / 0.5868 GB, free: 9.141 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01299/0.5399, allocations: 7.808 MB / 0.5944 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/0.5417, allocations: 123.9 kB / 0.5946 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001526/0.5419, allocations: 70.7 kB / 0.5946 GB, free: 0.8398 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.0005587/0.5424, allocations: 295.4 kB / 0.5949 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/0.5428, allocations: 174.9 kB / 0.5951 GB, free: 404 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006765/0.5495, allocations: 2.644 MB / 0.5977 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.972e-05/0.5495, allocations: 23.92 kB / 0.5977 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.5495, allocations: 0 / 0.5977 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.735e-05/0.5496, allocations: 7.969 kB / 0.5977 GB, free: 13.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01215/0.5617, allocations: 5.288 MB / 0.6028 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.5617, allocations: 0 / 0.6028 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001165/0.5629, allocations: 250.6 kB / 0.6031 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002721/0.5656, allocations: 0.6943 MB / 0.6038 GB, free: 7.477 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.5658, allocations: 31.98 kB / 0.6038 GB, free: 7.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01353/0.5793, allocations: 8.171 MB / 0.6118 GB, free: 14.96 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/0.5793, allocations: 4.156 kB / 0.6118 GB, free: 14.95 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008533/0.5878, allocations: 3.728 MB / 0.6154 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.589, allocations: 326.7 kB / 0.6157 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002619/0.5892, allocations: 35.98 kB / 0.6158 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009699/0.5902, allocations: 95.83 kB / 0.6159 GB, free: 10.74 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003255/0.5905, allocations: 124.9 kB / 0.616 GB, free: 10.62 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.373e-05/0.5906, allocations: 47.98 kB / 0.616 GB, free: 10.58 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001491/0.5921, allocations: 0.9464 MB / 0.6169 GB, free: 9.633 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5921, allocations: 0 / 0.6169 GB, free: 9.633 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003193/0.5953, allocations: 0.9062 MB / 0.6178 GB, free: 8.727 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.0087/0.604, allocations: 4.371 MB / 0.6221 GB, free: 4.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.008834/0.6128, allocations: 4.273 MB / 0.6263 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.6128, allocations: 0 / 0.6263 GB, free: 84 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003411/0.6162, allocations: 1.617 MB / 0.6279 GB, free: 14.46 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.6186, allocations: 455.4 kB / 0.6283 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03684/0.6555, allocations: 18.48 MB / 0.6463 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002132/0.6576, allocations: 1.928 MB / 0.6482 GB, free: 9.012 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001652/0.6593, allocations: 0.4902 MB / 0.6487 GB, free: 8.516 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001394/0.6606, allocations: 0.9562 MB / 0.6496 GB, free: 7.559 MB / 494.1 MB Notification: Performance of SimCode: time 1.133e-06/0.6607, allocations: 0 / 0.6496 GB, free: 7.559 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1295/0.7902, allocations: 55.03 MB / 0.7034 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.96/17.75, allocations: 3.266 kB / 0.7034 GB, free: 0.9844 MB / 0.5294 GB " [Timeout remaining time 642] (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 sys.exit(0), Time elapsed: 21.30627730100241] Failed to read output from testmodel.py, exit status != 0: 17.899859039003786 17.925507022 17.535235309 Calling exit ...