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.0009032/0.0009032, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001025/0.001025, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9051/0.9051, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.0267/0.0267, allocations: 6.467 MB / 265.7 MB, free: 6.832 MB / 250.7 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: Performance of FrontEnd - loaded program: time 4.628e-06/4.628e-06, allocations: 0 / 391.6 MB, free: 5.719 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.381e-05/3.844e-05, allocations: 2.281 kB / 391.6 MB, free: 5.715 MB / 362.7 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.008213/0.008252, allocations: 8.78 MB / 400.4 MB, free: 12.89 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004962/0.01321, allocations: 2.801 MB / 403.2 MB, free: 10.09 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.01421, allocations: 63.62 kB / 403.3 MB, free: 10.02 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000912/0.01512, allocations: 0.5041 MB / 403.8 MB, free: 9.516 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001707/0.01683, allocations: 0.8148 MB / 404.6 MB, free: 8.695 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007763/0.0176, allocations: 0.5 MB / 405.1 MB, free: 8.195 MB / 378.7 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.002103/0.01971, allocations: 2.662 MB / 407.7 MB, free: 5.523 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009337/0.02064, allocations: 0.9619 MB / 408.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001446/0.02209, allocations: 1.629 MB / 410.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.02315, allocations: 1.177 MB / 411.5 MB, free: 1.699 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003302/0.02348, allocations: 288 kB / 411.8 MB, free: 1.418 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004771/0.02396, allocations: 371.8 kB / 412.1 MB, free: 1.055 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005591/0.02452, allocations: 0.8452 MB / 413 MB, free: 212 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007235/0.02524, allocations: 0.8963 MB / 413.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00245/0.02769, allocations: 3.778 MB / 417.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.0277, allocations: 3.984 kB / 417.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.0277, allocations: 0 / 417.7 MB, free: 11.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.507e-05/0.02774, allocations: 0 / 417.7 MB, free: 11.52 MB / 394.7 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.003482/0.03122, allocations: 2.727 MB / 420.4 MB, free: 8.742 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.03126, allocations: 8.031 kB / 420.4 MB, free: 8.734 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002585/0.03152, allocations: 291.1 kB / 420.7 MB, free: 8.441 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004542/0.03197, allocations: 287.3 kB / 421 MB, free: 8.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001552/0.03353, allocations: 1.36 MB / 422.3 MB, free: 6.754 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000129/0.03366, allocations: 185.9 kB / 422.5 MB, free: 6.566 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.03386, allocations: 196 kB / 422.7 MB, free: 6.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002732/0.03659, allocations: 2.699 MB / 425.4 MB, free: 3.605 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.03663, allocations: 7.953 kB / 425.4 MB, free: 3.598 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/0.03676, allocations: 83.97 kB / 425.5 MB, free: 3.516 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.638e-05/0.03682, allocations: 95.75 kB / 425.6 MB, free: 3.422 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002648/0.03947, allocations: 2.181 MB / 427.8 MB, free: 1.238 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007514/0.04698, allocations: 7.476 MB / 435.2 MB, free: 9.516 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.04867, allocations: 1.336 MB / 436.6 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008624/0.04953, allocations: 0.7525 MB / 437.3 MB, free: 7.414 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001538/0.04968, allocations: 48.95 kB / 437.4 MB, free: 7.363 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008867/0.05057, allocations: 0.8743 MB / 438.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 3.046e-06/0.05057, allocations: 0 / 438.3 MB, free: 6.445 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.009209/0.05978, allocations: 6.273 MB / 444.5 MB, free: 148 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1505/0.2102, allocations: 175.2 kB / 444.7 MB, free: 88.35 MB / 410.7 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.001336/0.2116, allocations: 1.362 MB / 446.1 MB, free: 88.08 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002306/0.2118, allocations: 48.39 kB / 446.1 MB, free: 88.03 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004419/0.2122, allocations: 0.9899 MB / 447.1 MB, free: 87.64 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001948/0.2124, allocations: 438.4 kB / 447.5 MB, free: 87.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.2127, allocations: 272 kB / 447.8 MB, free: 87.26 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.661e-05/0.2127, allocations: 301.1 kB / 448.1 MB, free: 86.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007704/0.2135, allocations: 0.7743 MB / 448.9 MB, free: 86.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008135/0.2143, allocations: 1.305 MB / 450.2 MB, free: 85.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004875/0.2192, allocations: 3.966 MB / 454.1 MB, free: 84.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.2192, allocations: 2.781 kB / 454.1 MB, free: 84.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.002864/0.222, allocations: 2.733 MB / 456.9 MB, free: 83.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/0.2221, allocations: 35.39 kB / 456.9 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.2221, allocations: 12.53 kB / 456.9 MB, free: 83.12 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.2231, allocations: 0.6034 MB / 457.5 MB, free: 82.96 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.2238, allocations: 404.4 kB / 457.9 MB, free: 82.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004776/0.2286, allocations: 8.955 MB / 466.9 MB, free: 75.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006729/0.2293, allocations: 140.1 kB / 467 MB, free: 75.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.2294, allocations: 64.61 kB / 467.1 MB, free: 75.62 MB / 410.7 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.001265/0.2306, allocations: 1.29 MB / 468.4 MB, free: 75.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009214/0.2315, allocations: 1.3 MB / 469.7 MB, free: 74.14 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005068/0.2366, allocations: 3.93 MB / 473.6 MB, free: 72.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.662e-06/0.2366, allocations: 3.188 kB / 473.6 MB, free: 72.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003042/0.2397, allocations: 2.71 MB / 476.3 MB, free: 71.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.2397, allocations: 34.64 kB / 476.3 MB, free: 71.42 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.2397, allocations: 16.09 kB / 476.4 MB, free: 71.42 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001047/0.2407, allocations: 0.6009 MB / 477 MB, free: 71.27 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.2414, allocations: 411.5 kB / 477.4 MB, free: 71.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004896/0.2463, allocations: 8.943 MB / 486.3 MB, free: 63.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007383/0.2471, allocations: 148.8 kB / 486.4 MB, free: 63.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.449e-05/0.2472, allocations: 68.91 kB / 486.5 MB, free: 63.91 MB / 410.7 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.0002653/0.2474, allocations: 285.5 kB / 486.8 MB, free: 63.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.2476, allocations: 161.2 kB / 486.9 MB, free: 63.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/0.2505, allocations: 2.391 MB / 489.3 MB, free: 62.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.2505, allocations: 12.62 kB / 489.3 MB, free: 62.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.2505, allocations: 1.156 kB / 489.3 MB, free: 62.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.418e-06/0.2505, allocations: 7.875 kB / 489.4 MB, free: 62.71 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005431/0.256, allocations: 4.395 MB / 493.8 MB, free: 60.97 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.256, allocations: 2.281 kB / 493.8 MB, free: 60.97 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006525/0.2566, allocations: 288.1 kB / 494 MB, free: 60.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001016/0.2576, allocations: 0.5744 MB / 494.6 MB, free: 60.79 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-05/0.2577, allocations: 37.39 kB / 494.6 MB, free: 60.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005308/0.263, allocations: 9.097 MB / 0.4919 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.263, allocations: 2.406 kB / 0.4919 GB, free: 53.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004161/0.2672, allocations: 3.421 MB / 0.4953 GB, free: 52.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004104/0.2676, allocations: 314.8 kB / 0.4956 GB, free: 51.87 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000115/0.2677, allocations: 25.72 kB / 0.4956 GB, free: 51.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004941/0.2682, allocations: 108.2 kB / 0.4957 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002365/0.2684, allocations: 124.7 kB / 0.4958 GB, free: 51.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.875e-05/0.2685, allocations: 40 kB / 0.4959 GB, free: 51.8 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008943/0.2694, allocations: 0.908 MB / 0.4968 GB, free: 51.44 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2694, allocations: 0 / 0.4968 GB, free: 51.44 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001507/0.2709, allocations: 0.7852 MB / 0.4975 GB, free: 51.34 MB / 410.7 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.003853/0.2747, allocations: 4.055 MB / 0.5015 GB, free: 47.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004058/0.2788, allocations: 4.566 MB / 0.5059 GB, free: 43.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2788, allocations: 4 kB / 0.5059 GB, free: 43.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.2801, allocations: 1.709 MB / 0.5076 GB, free: 42.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009174/0.281, allocations: 436.3 kB / 0.508 GB, free: 41.72 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.2958, allocations: 16.82 MB / 0.5245 GB, free: 24.79 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.2964, allocations: 1.1 MB / 0.5255 GB, free: 23.65 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007063/0.2971, allocations: 493 kB / 0.526 GB, free: 23.16 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005362/0.2976, allocations: 0.7737 MB / 0.5268 GB, free: 22.39 MB / 410.7 MB Notification: Performance of SimCode: time 6.01e-07/0.2976, allocations: 4 kB / 0.5268 GB, free: 22.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05911/0.3567, allocations: 51.3 MB / 0.5768 GB, free: 3.496 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.492/9.848, allocations: 2.969 kB / 0.5769 GB, free: 3.496 MB / 442.7 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 11.864009919576347] Failed to read output from testmodel.py, exit status != 0: 9.968271960504353 9.979974781 9.949161213 Calling exit ...