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.0008395/0.0008395, allocations: 80.44 kB / 19.16 MB, free: 0.7344 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.0008525/0.0008525, allocations: 173.9 kB / 22.45 MB, free: 2.094 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.9775/0.9775, allocations: 177.2 MB / 202.8 MB, free: 5.75 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.02798/0.02798, allocations: 6.472 MB / 265.7 MB, free: 6.848 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 1.853e-06/1.853e-06, allocations: 0 / 391.7 MB, free: 5.75 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.004e-05, allocations: 5.234 kB / 391.7 MB, free: 5.746 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.007628/0.007648, allocations: 8.788 MB / 400.5 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.004778/0.01243, allocations: 2.793 MB / 403.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.01353, allocations: 59.62 kB / 403.3 MB, free: 10.06 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.01486, allocations: 0.5042 MB / 403.8 MB, free: 9.555 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.01697, allocations: 0.7879 MB / 404.6 MB, free: 8.762 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.01814, allocations: 0.5069 MB / 405.1 MB, free: 8.254 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.003458/0.0216, allocations: 2.577 MB / 407.7 MB, free: 5.668 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.02265, allocations: 0.958 MB / 408.7 MB, free: 4.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.02465, allocations: 1.629 MB / 410.3 MB, free: 3.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001498/0.02615, allocations: 1.165 MB / 411.4 MB, free: 1.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003202/0.02647, allocations: 292 kB / 411.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005417/0.02701, allocations: 383.8 kB / 412.1 MB, free: 1.199 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005295/0.02754, allocations: 0.8256 MB / 412.9 MB, free: 380 kB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007864/0.02833, allocations: 0.8963 MB / 413.8 MB, free: 15.47 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.03113, allocations: 3.778 MB / 417.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.03114, allocations: 0 / 417.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.03114, allocations: 0 / 417.6 MB, free: 11.68 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.47e-05/0.03121, allocations: 0 / 417.6 MB, free: 11.68 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.004259/0.03546, allocations: 2.751 MB / 420.4 MB, free: 8.887 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/0.03551, allocations: 8.031 kB / 420.4 MB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002858/0.0358, allocations: 283.1 kB / 420.6 MB, free: 8.594 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005173/0.03631, allocations: 283.3 kB / 420.9 MB, free: 8.316 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.0381, allocations: 1.363 MB / 422.3 MB, free: 6.906 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.03822, allocations: 189.9 kB / 422.5 MB, free: 6.715 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002164/0.03844, allocations: 199.9 kB / 422.7 MB, free: 6.52 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.04208, allocations: 2.695 MB / 425.4 MB, free: 3.754 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.04212, allocations: 11.89 kB / 425.4 MB, free: 3.742 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.04224, allocations: 80 kB / 425.4 MB, free: 3.664 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.496e-05/0.04232, allocations: 95.73 kB / 425.5 MB, free: 3.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002724/0.04504, allocations: 2.177 MB / 427.7 MB, free: 1.391 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008521/0.05356, allocations: 7.484 MB / 435.2 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00178/0.05534, allocations: 1.336 MB / 436.5 MB, free: 8.309 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008621/0.0562, allocations: 0.7454 MB / 437.3 MB, free: 7.562 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001666/0.05637, allocations: 52.95 kB / 437.3 MB, free: 7.508 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009462/0.05732, allocations: 0.8742 MB / 438.2 MB, free: 6.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=104): time 2.264e-06/0.05732, allocations: 0 / 438.2 MB, free: 6.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=121): time 0.01012/0.06744, allocations: 6.27 MB / 444.5 MB, free: 300 kB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.06756, allocations: 175.2 kB / 444.6 MB, free: 88 kB / 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.1774/0.245, allocations: 1.365 MB / 446 MB, free: 88.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.2452, allocations: 49.23 kB / 446.1 MB, free: 88.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004914/0.2457, allocations: 0.9875 MB / 447 MB, free: 87.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.246, allocations: 447.9 kB / 447.5 MB, free: 87.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002711/0.2462, allocations: 277.1 kB / 447.8 MB, free: 87.38 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.297e-05/0.2463, allocations: 301.1 kB / 448.1 MB, free: 87.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008082/0.2471, allocations: 0.7736 MB / 448.8 MB, free: 86.8 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/0.248, allocations: 1.307 MB / 450.1 MB, free: 85.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005469/0.2534, allocations: 3.95 MB / 454.1 MB, free: 84.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.4e-05/0.2535, allocations: 10.34 kB / 454.1 MB, free: 84.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003375/0.2568, allocations: 2.733 MB / 456.8 MB, free: 83.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.2569, allocations: 38.69 kB / 456.9 MB, free: 83.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.2569, allocations: 12.56 kB / 456.9 MB, free: 83.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001166/0.2581, allocations: 0.5989 MB / 457.5 MB, free: 83.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007989/0.2589, allocations: 411.8 kB / 457.9 MB, free: 83.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005278/0.2641, allocations: 8.946 MB / 466.8 MB, free: 75.78 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.2653, allocations: 140.5 kB / 467 MB, free: 75.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/0.2654, allocations: 70.16 kB / 467 MB, free: 75.74 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.001401/0.2668, allocations: 1.293 MB / 468.3 MB, free: 75.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008432/0.2677, allocations: 1.299 MB / 469.6 MB, free: 74.26 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00501/0.2727, allocations: 3.923 MB / 473.5 MB, free: 72.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.128e-06/0.2727, allocations: 7.125 kB / 473.5 MB, free: 72.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.00317/0.2758, allocations: 2.706 MB / 476.3 MB, free: 71.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.2759, allocations: 41.19 kB / 476.3 MB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.2759, allocations: 16.22 kB / 476.3 MB, free: 71.53 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001096/0.277, allocations: 0.6021 MB / 476.9 MB, free: 71.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007908/0.2778, allocations: 403.7 kB / 477.3 MB, free: 71.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005204/0.283, allocations: 8.939 MB / 486.2 MB, free: 64.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001236/0.2842, allocations: 147.8 kB / 486.4 MB, free: 64.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000133/0.2843, allocations: 67.88 kB / 486.5 MB, free: 64.02 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.0004632/0.2848, allocations: 299.9 kB / 486.8 MB, free: 63.77 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.285, allocations: 162.6 kB / 486.9 MB, free: 63.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003275/0.2883, allocations: 2.386 MB / 489.3 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.2883, allocations: 15.8 kB / 489.3 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2883, allocations: 1.125 kB / 489.3 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/0.2883, allocations: 4.625 kB / 489.3 MB, free: 62.82 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00599/0.2943, allocations: 4.396 MB / 493.7 MB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-06/0.2943, allocations: 1.281 kB / 493.7 MB, free: 61.08 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007275/0.2951, allocations: 289.4 kB / 494 MB, free: 61.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.2962, allocations: 0.5794 MB / 494.6 MB, free: 60.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.786e-05/0.2962, allocations: 31 kB / 494.6 MB, free: 60.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005514/0.3018, allocations: 9.09 MB / 0.4919 GB, free: 53.53 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3018, allocations: 6.75 kB / 0.4919 GB, free: 53.52 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004564/0.3063, allocations: 3.42 MB / 0.4952 GB, free: 52.15 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000673/0.307, allocations: 313.4 kB / 0.4955 GB, free: 51.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.3071, allocations: 30.06 kB / 0.4956 GB, free: 51.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005381/0.3077, allocations: 110.5 kB / 0.4957 GB, free: 51.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003325/0.308, allocations: 122.5 kB / 0.4958 GB, free: 51.92 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.3081, allocations: 36.97 kB / 0.4958 GB, free: 51.91 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001076/0.3091, allocations: 0.9083 MB / 0.4967 GB, free: 51.55 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3091, allocations: 0 / 0.4967 GB, free: 51.55 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00177/0.3109, allocations: 0.7855 MB / 0.4975 GB, free: 51.48 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.004036/0.3149, allocations: 4.051 MB / 0.5014 GB, free: 47.89 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004921/0.3199, allocations: 4.569 MB / 0.5059 GB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.3199, allocations: 4 kB / 0.5059 GB, free: 43.75 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/0.3215, allocations: 1.71 MB / 0.5076 GB, free: 42.2 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001265/0.3228, allocations: 433.5 kB / 0.508 GB, free: 41.85 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.3402, allocations: 16.82 MB / 0.5244 GB, free: 24.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000789/0.3409, allocations: 1.104 MB / 0.5255 GB, free: 23.81 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0009825/0.3419, allocations: 493 kB / 0.526 GB, free: 23.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000555/0.3425, allocations: 0.7737 MB / 0.5267 GB, free: 22.55 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.3425, allocations: 0 / 0.5267 GB, free: 22.55 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07239/0.4149, allocations: 51.53 MB / 0.577 GB, free: 3.418 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.125/9.539, allocations: 0 / 0.577 GB, free: 3.418 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.638040585909039] Failed to read output from testmodel.py, exit status != 0: 9.655274813994765 9.670059559 9.636360095 Calling exit ...