Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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.002117/0.002117, allocations: 111.8 kB / 16.46 MB, free: 6.508 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.002461/0.002461, allocations: 215.2 kB / 19.43 MB, free: 3.648 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.542/1.542, allocations: 230.6 MB / 252.8 MB, free: 9.121 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04432/0.04432, allocations: 8.566 MB / 317.4 MB, free: 11.81 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-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.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_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.001977/0.001977, allocations: 67.91 kB / 441.7 MB, free: 3.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.113, allocations: 55.38 MB / 497.1 MB, free: 12.31 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.01281/0.1258, allocations: 9.988 MB / 0.4952 GB, free: 2.281 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006596/0.1324, allocations: 2.902 MB / 0.4981 GB, free: 15.37 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001564/0.1339, allocations: 59.62 kB / 0.4981 GB, free: 15.31 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001485/0.1354, allocations: 0.5393 MB / 0.4986 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002722/0.1381, allocations: 0.7805 MB / 0.4994 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001326/0.1395, allocations: 0.4987 MB / 0.4999 GB, free: 13.49 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.003622/0.1431, allocations: 2.581 MB / 0.5024 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.1453, allocations: 1.223 MB / 0.5036 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001791/0.147, allocations: 1.121 MB / 0.5047 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002392/0.1494, allocations: 1.401 MB / 0.5061 GB, free: 7.09 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000806/0.1502, allocations: 292 kB / 0.5063 GB, free: 6.805 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.1515, allocations: 387.8 kB / 0.5067 GB, free: 6.426 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009437/0.1524, allocations: 0.8141 MB / 0.5075 GB, free: 5.609 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001492/0.1539, allocations: 1.307 MB / 0.5088 GB, free: 4.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.1582, allocations: 3.709 MB / 0.5124 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1582, allocations: 0 / 0.5124 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1582, allocations: 0 / 0.5124 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.303e-05/0.1583, allocations: 3.938 kB / 0.5124 GB, free: 0.5703 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.2037/0.362, allocations: 2.812 MB / 0.5152 GB, free: 27.24 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/0.362, allocations: 13.89 kB / 0.5152 GB, free: 27.24 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003876/0.3624, allocations: 288.1 kB / 0.5154 GB, free: 27.19 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007798/0.3632, allocations: 286.9 kB / 0.5157 GB, free: 27.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002633/0.3658, allocations: 1.445 MB / 0.5171 GB, free: 26.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001687/0.366, allocations: 178.3 kB / 0.5173 GB, free: 26.59 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003171/0.3663, allocations: 201 kB / 0.5175 GB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00467/0.371, allocations: 2.597 MB / 0.52 GB, free: 26.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.662e-05/0.371, allocations: 18.31 kB / 0.52 GB, free: 26.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.3712, allocations: 77 kB / 0.5201 GB, free: 26.02 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001359/0.3713, allocations: 98.59 kB / 0.5202 GB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004514/0.3759, allocations: 2.18 MB / 0.5223 GB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01377/0.3896, allocations: 8.225 MB / 0.5304 GB, free: 20.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002848/0.3925, allocations: 1.569 MB / 0.5319 GB, free: 19.81 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.3938, allocations: 0.7488 MB / 0.5326 GB, free: 19.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/0.394, allocations: 124.8 kB / 0.5328 GB, free: 19.33 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001274/0.3953, allocations: 0.8047 MB / 0.5335 GB, free: 18.84 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.514e-06/0.3953, allocations: 0 / 0.5335 GB, free: 18.84 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01612/0.4114, allocations: 6.654 MB / 0.54 GB, free: 15.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.4115, allocations: 168.1 kB / 0.5402 GB, free: 14.96 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.001827/0.4133, allocations: 1.349 MB / 0.5415 GB, free: 14.22 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.4134, allocations: 49.61 kB / 0.5416 GB, free: 14.17 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005894/0.414, allocations: 0.9913 MB / 0.5425 GB, free: 13.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002678/0.4143, allocations: 443 kB / 0.543 GB, free: 12.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003722/0.4147, allocations: 273.9 kB / 0.5432 GB, free: 12.77 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.851e-05/0.4147, allocations: 309 kB / 0.5435 GB, free: 12.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/0.4159, allocations: 0.7494 MB / 0.5442 GB, free: 12.09 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.4173, allocations: 1.181 MB / 0.5454 GB, free: 11.16 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009448/0.4267, allocations: 3.954 MB / 0.5493 GB, free: 7.285 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.122e-05/0.4268, allocations: 5.5 kB / 0.5493 GB, free: 7.281 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005597/0.4324, allocations: 2.7 MB / 0.5519 GB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.4324, allocations: 42.06 kB / 0.5519 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.285e-05/0.4324, allocations: 16 kB / 0.552 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002202/0.4346, allocations: 0.6012 MB / 0.5525 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001491/0.4361, allocations: 407.4 kB / 0.5529 GB, free: 3.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01099/0.4471, allocations: 9.529 MB / 0.5622 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001878/0.449, allocations: 143.9 kB / 0.5624 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003136/0.4493, allocations: 69.05 kB / 0.5624 GB, free: 9.051 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.002596/0.4519, allocations: 1.268 MB / 0.5637 GB, free: 7.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001763/0.4537, allocations: 1.162 MB / 0.5648 GB, free: 6.438 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01093/0.4646, allocations: 3.915 MB / 0.5686 GB, free: 2.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.257e-05/0.4646, allocations: 4 kB / 0.5686 GB, free: 2.332 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006528/0.4711, allocations: 2.68 MB / 0.5713 GB, free: 15.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.203e-05/0.4712, allocations: 46 kB / 0.5713 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.4712, allocations: 18.81 kB / 0.5713 GB, free: 15.55 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0025/0.4737, allocations: 0.5904 MB / 0.5719 GB, free: 14.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/0.4754, allocations: 412.5 kB / 0.5723 GB, free: 14.54 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/0.4879, allocations: 9.542 MB / 0.5816 GB, free: 4.305 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/0.49, allocations: 139.9 kB / 0.5817 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003755/0.4903, allocations: 67.98 kB / 0.5818 GB, free: 4.102 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.0007608/0.4911, allocations: 304.9 kB / 0.5821 GB, free: 3.801 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005894/0.4917, allocations: 159.1 kB / 0.5823 GB, free: 3.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006516/0.4982, allocations: 2.387 MB / 0.5846 GB, free: 1.227 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-05/0.4982, allocations: 23.94 kB / 0.5846 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/0.4982, allocations: 0 / 0.5846 GB, free: 1.203 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-05/0.4983, allocations: 3.984 kB / 0.5846 GB, free: 1.199 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01255/0.5108, allocations: 4.651 MB / 0.5892 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.5108, allocations: 0 / 0.5892 GB, free: 12.46 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001393/0.5122, allocations: 291.9 kB / 0.5894 GB, free: 12.18 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002274/0.5145, allocations: 0.5823 MB / 0.59 GB, free: 11.58 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001402/0.5146, allocations: 39.86 kB / 0.59 GB, free: 11.54 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01231/0.5269, allocations: 9.673 MB / 0.5995 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.5269, allocations: 0 / 0.5995 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008179/0.5351, allocations: 3.425 MB / 0.6028 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/0.5363, allocations: 391.8 kB / 0.6032 GB, free: 13.27 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005093/0.5368, allocations: 24 kB / 0.6032 GB, free: 13.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/0.5382, allocations: 112 kB / 0.6033 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004198/0.5386, allocations: 112.8 kB / 0.6034 GB, free: 13.03 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001256/0.5387, allocations: 39.98 kB / 0.6035 GB, free: 12.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001815/0.5406, allocations: 0.9167 MB / 0.6044 GB, free: 12.07 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5406, allocations: 0 / 0.6044 GB, free: 12.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003488/0.544, allocations: 0.7773 MB / 0.6051 GB, free: 11.3 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.008625/0.5527, allocations: 4.062 MB / 0.6091 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009921/0.5626, allocations: 4.684 MB / 0.6137 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.5626, allocations: 0 / 0.6137 GB, free: 2.289 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003624/0.5662, allocations: 1.778 MB / 0.6154 GB, free: 440 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002507/0.5687, allocations: 417.1 kB / 0.6158 GB, free: 36 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/0.6042, allocations: 16.77 MB / 0.6322 GB, free: 14.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001948/0.6062, allocations: 1.68 MB / 0.6338 GB, free: 12.98 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001617/0.6078, allocations: 493 kB / 0.6343 GB, free: 12.49 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/0.609, allocations: 0.7766 MB / 0.6351 GB, free: 11.71 MB / 478.1 MB Notification: Performance of SimCode: time 8.62e-07/0.609, allocations: 0 / 0.6351 GB, free: 11.71 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1216/0.7306, allocations: 48.44 MB / 0.6824 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.04, allocations: 2.812 kB / 0.6824 GB, free: 11.66 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.21913449233398] Failed to read output from testmodel.py, exit status != 0: 16.16458398802206 16.188649305 16.026079022 Calling exit ...