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.001705/0.001705, allocations: 104.8 kB / 16.45 MB, free: 6.488 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.002075/0.002075, allocations: 216.2 kB / 19.43 MB, free: 3.66 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.453/1.453, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.0414/0.0414, allocations: 8.545 MB / 317.4 MB, free: 11.78 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.001921/0.001921, allocations: 59.91 kB / 441.7 MB, free: 3.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1058, allocations: 55.38 MB / 497.1 MB, free: 11.99 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.01255/0.1183, allocations: 9.983 MB / 0.4952 GB, free: 1.961 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006566/0.1249, allocations: 2.898 MB / 0.498 GB, free: 15.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001498/0.1264, allocations: 63.56 kB / 0.4981 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001552/0.1279, allocations: 0.5432 MB / 0.4986 GB, free: 14.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002612/0.1305, allocations: 0.7844 MB / 0.4994 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.1319, allocations: 0.4981 MB / 0.4999 GB, free: 13.16 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.003769/0.1357, allocations: 2.577 MB / 0.5024 GB, free: 10.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.1375, allocations: 1.219 MB / 0.5036 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002018/0.1395, allocations: 1.125 MB / 0.5047 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002206/0.1417, allocations: 1.401 MB / 0.5061 GB, free: 6.766 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005489/0.1422, allocations: 292 kB / 0.5063 GB, free: 6.48 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008159/0.143, allocations: 383.8 kB / 0.5067 GB, free: 6.105 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008651/0.1439, allocations: 0.8141 MB / 0.5075 GB, free: 5.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.1455, allocations: 1.303 MB / 0.5088 GB, free: 3.98 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004853/0.1503, allocations: 3.721 MB / 0.5124 GB, free: 252 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.625e-06/0.1504, allocations: 3.938 kB / 0.5124 GB, free: 248 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1504, allocations: 3.938 kB / 0.5124 GB, free: 244 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001232/0.1505, allocations: 0 / 0.5124 GB, free: 244 kB / 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.2001/0.3505, allocations: 2.809 MB / 0.5152 GB, free: 27.49 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3506, allocations: 9 kB / 0.5152 GB, free: 27.49 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003546/0.3509, allocations: 284.6 kB / 0.5154 GB, free: 27.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/0.3517, allocations: 287.3 kB / 0.5157 GB, free: 27.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.354, allocations: 1.443 MB / 0.5171 GB, free: 26.86 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001506/0.3542, allocations: 186.6 kB / 0.5173 GB, free: 26.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002754/0.3545, allocations: 197.8 kB / 0.5175 GB, free: 26.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004279/0.3587, allocations: 2.599 MB / 0.52 GB, free: 26.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.347e-05/0.3588, allocations: 11.53 kB / 0.52 GB, free: 26.1 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001683/0.359, allocations: 76.78 kB / 0.5201 GB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001055/0.3591, allocations: 103 kB / 0.5202 GB, free: 26.03 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003987/0.363, allocations: 2.18 MB / 0.5223 GB, free: 25.3 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/0.3775, allocations: 8.21 MB / 0.5303 GB, free: 20.76 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002824/0.3803, allocations: 1.575 MB / 0.5319 GB, free: 19.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.3817, allocations: 0.7508 MB / 0.5326 GB, free: 19.47 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002564/0.3819, allocations: 128.2 kB / 0.5327 GB, free: 19.36 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001323/0.3833, allocations: 0.8049 MB / 0.5335 GB, free: 18.87 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.645e-06/0.3833, allocations: 0 / 0.5335 GB, free: 18.87 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01658/0.3998, allocations: 6.652 MB / 0.54 GB, free: 15.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.3999, allocations: 167 kB / 0.5402 GB, free: 14.99 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.001878/0.4018, allocations: 1.348 MB / 0.5415 GB, free: 14.25 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001471/0.4019, allocations: 53.53 kB / 0.5415 GB, free: 14.2 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005852/0.4025, allocations: 0.9868 MB / 0.5425 GB, free: 13.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/0.4028, allocations: 451.1 kB / 0.5429 GB, free: 12.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003756/0.4032, allocations: 269.9 kB / 0.5432 GB, free: 12.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.413e-05/0.4032, allocations: 309 kB / 0.5435 GB, free: 12.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/0.4044, allocations: 0.7543 MB / 0.5442 GB, free: 12.11 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.4059, allocations: 1.177 MB / 0.5454 GB, free: 11.19 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009494/0.4154, allocations: 3.95 MB / 0.5492 GB, free: 7.266 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.514e-05/0.4154, allocations: 4 kB / 0.5492 GB, free: 7.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005354/0.4207, allocations: 2.708 MB / 0.5519 GB, free: 4.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.299e-05/0.4208, allocations: 41.69 kB / 0.5519 GB, free: 4.473 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.4208, allocations: 12 kB / 0.5519 GB, free: 4.461 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002243/0.423, allocations: 0.5968 MB / 0.5525 GB, free: 3.852 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001504/0.4245, allocations: 411.4 kB / 0.5529 GB, free: 3.449 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.4356, allocations: 9.529 MB / 0.5622 GB, free: 9.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001792/0.4374, allocations: 143.7 kB / 0.5624 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/0.4376, allocations: 63.98 kB / 0.5624 GB, free: 9.031 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.002654/0.4402, allocations: 1.268 MB / 0.5637 GB, free: 7.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002013/0.4423, allocations: 1.177 MB / 0.5648 GB, free: 6.406 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01163/0.4539, allocations: 3.911 MB / 0.5686 GB, free: 2.309 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.495e-05/0.4539, allocations: 4 kB / 0.5686 GB, free: 2.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006662/0.4606, allocations: 2.68 MB / 0.5712 GB, free: 15.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.4606, allocations: 41.69 kB / 0.5713 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.133e-05/0.4606, allocations: 15.94 kB / 0.5713 GB, free: 15.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002527/0.4632, allocations: 0.595 MB / 0.5719 GB, free: 14.92 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.4648, allocations: 403.4 kB / 0.5723 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0122/0.477, allocations: 9.544 MB / 0.5816 GB, free: 4.281 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/0.4788, allocations: 139.8 kB / 0.5817 GB, free: 4.145 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.479, allocations: 68.05 kB / 0.5818 GB, free: 4.078 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.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.0005272/0.4795, allocations: 308.6 kB / 0.5821 GB, free: 3.777 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003463/0.4798, allocations: 162.9 kB / 0.5822 GB, free: 3.617 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00603/0.4859, allocations: 2.384 MB / 0.5846 GB, free: 1.207 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-05/0.4859, allocations: 19.94 kB / 0.5846 GB, free: 1.188 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-05/0.4859, allocations: 3.984 kB / 0.5846 GB, free: 1.184 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/0.4859, allocations: 3.984 kB / 0.5846 GB, free: 1.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/0.4967, allocations: 4.648 MB / 0.5891 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.4967, allocations: 3.984 kB / 0.5891 GB, free: 12.45 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.498, allocations: 291.9 kB / 0.5894 GB, free: 12.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002221/0.5003, allocations: 0.5786 MB / 0.59 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000123/0.5004, allocations: 31.97 kB / 0.59 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01252/0.5129, allocations: 9.687 MB / 0.5995 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.5129, allocations: 0 / 0.5995 GB, free: 1.145 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008111/0.521, allocations: 3.423 MB / 0.6028 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001246/0.5223, allocations: 383.9 kB / 0.6032 GB, free: 13.26 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/0.5226, allocations: 31.98 kB / 0.6032 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.5237, allocations: 111.9 kB / 0.6033 GB, free: 13.12 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/0.5241, allocations: 108.8 kB / 0.6034 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.318e-05/0.5241, allocations: 35.98 kB / 0.6035 GB, free: 12.98 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0015/0.5256, allocations: 0.9128 MB / 0.6043 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5256, allocations: 0 / 0.6043 GB, free: 12.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002961/0.5286, allocations: 0.7851 MB / 0.6051 GB, free: 11.28 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.008005/0.5366, allocations: 4.063 MB / 0.6091 GB, free: 7.152 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009111/0.5457, allocations: 4.688 MB / 0.6137 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.646e-06/0.5457, allocations: 0 / 0.6137 GB, free: 2.273 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003511/0.5492, allocations: 1.77 MB / 0.6154 GB, free: 428 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002332/0.5516, allocations: 433.9 kB / 0.6158 GB, free: 12 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03262/0.5842, allocations: 16.76 MB / 0.6322 GB, free: 14.68 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001633/0.5858, allocations: 1.68 MB / 0.6338 GB, free: 12.96 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001486/0.5873, allocations: 493 kB / 0.6343 GB, free: 12.48 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001198/0.5885, allocations: 0.7766 MB / 0.635 GB, free: 11.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.312e-06/0.5885, allocations: 0 / 0.635 GB, free: 11.7 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/0.737, allocations: 48.42 MB / 0.6823 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/15.95, allocations: 11.73 kB / 0.6823 GB, free: 11.63 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.98008569800004] Failed to read output from testmodel.py, exit status != 0: 16.08100190901314 16.10868791 15.952900242 Calling exit ...