Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001278/0.001278, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001517/0.001517, allocations: 164.1 kB / 24.49 MB, free: 3.453 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.53/1.53, allocations: 177.2 MB / 204.9 MB, free: 9.07 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1832/0.1832, allocations: 29.42 MB / 290.7 MB, free: 3.328 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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: translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660] "Notification: PowerSystems 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.002323/0.002323, allocations: 67.91 kB / 431.2 MB, free: 3.297 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.388/0.3903, allocations: 62.44 MB / 493.6 MB, free: 37.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.004953/0.3952, allocations: 4.335 MB / 497.9 MB, free: 34.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001876/0.3971, allocations: 1.387 MB / 499.3 MB, free: 33.92 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001615/0.3973, allocations: 21.34 kB / 499.4 MB, free: 33.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009286/0.3982, allocations: 373.9 kB / 499.7 MB, free: 33.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004226/0.3986, allocations: 252.4 kB / 500 MB, free: 33.56 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005331/0.3992, allocations: 242.1 kB / 0.4885 GB, free: 33.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004285/0.3996, allocations: 0.5675 MB / 0.489 GB, free: 33.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003149/0.3999, allocations: 219.1 kB / 0.4892 GB, free: 33.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003088/0.4002, allocations: 266 kB / 0.4895 GB, free: 33.01 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004013/0.4006, allocations: 371.1 kB / 0.4899 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.033e-05/0.4007, allocations: 39.22 kB / 0.4899 GB, free: 32.89 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.401, allocations: 222.7 kB / 0.4901 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000195/0.4012, allocations: 257.1 kB / 0.4903 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000206/0.4014, allocations: 210.2 kB / 0.4905 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005989/0.402, allocations: 0.688 MB / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.402, allocations: 0 / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.402, allocations: 0 / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.4021, allocations: 0 / 0.4912 GB, free: 32.4 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001184/0.4032, allocations: 0.713 MB / 0.4919 GB, free: 31.89 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4033, allocations: 17.36 kB / 0.4919 GB, free: 31.89 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006991/0.404, allocations: 131.4 kB / 0.4921 GB, free: 31.85 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005966/0.4046, allocations: 355.3 kB / 0.4924 GB, free: 31.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.4046, allocations: 36.34 kB / 0.4924 GB, free: 31.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.4047, allocations: 46.53 kB / 0.4925 GB, free: 31.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/0.4055, allocations: 0.6784 MB / 0.4931 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.173e-05/0.4055, allocations: 3.062 kB / 0.4931 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.4056, allocations: 11.03 kB / 0.4932 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001616/0.4057, allocations: 51 kB / 0.4932 GB, free: 31.26 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008083/0.4066, allocations: 0.6752 MB / 0.4939 GB, free: 31.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00279/0.4093, allocations: 2.295 MB / 0.4961 GB, free: 29.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000447/0.4098, allocations: 310.8 kB / 0.4964 GB, free: 29.39 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.41, allocations: 209.5 kB / 0.4966 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.41, allocations: 3.031 kB / 0.4966 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.4101, allocations: 37.72 kB / 0.4966 GB, free: 29.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.836e-06/0.4101, allocations: 0 / 0.4966 GB, free: 29.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=43): time 0.001707/0.4118, allocations: 1.295 MB / 0.4979 GB, free: 28.63 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.4118, allocations: 80.05 kB / 0.498 GB, free: 28.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/0.412, allocations: 303.5 kB / 0.4983 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.4121, allocations: 36.77 kB / 0.4983 GB, free: 28.33 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.4122, allocations: 262.6 kB / 0.4986 GB, free: 28.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.027e-05/0.4123, allocations: 161.9 kB / 0.4987 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001073/0.4124, allocations: 92.94 kB / 0.4988 GB, free: 27.94 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.4125, allocations: 342.5 kB / 0.4991 GB, free: 27.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.4127, allocations: 208.1 kB / 0.4993 GB, free: 27.55 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.413, allocations: 364.3 kB / 0.4997 GB, free: 27.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005647/0.4136, allocations: 0.6041 MB / 0.5003 GB, free: 26.92 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4136, allocations: 0 / 0.5003 GB, free: 26.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007288/0.4143, allocations: 0.6235 MB / 0.5009 GB, free: 26.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.4143, allocations: 10 kB / 0.5009 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4143, allocations: 6.562 kB / 0.5009 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.4143, allocations: 6.25 kB / 0.5009 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/0.4147, allocations: 113.8 kB / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4147, allocations: 17.02 kB / 0.501 GB, free: 26.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002214/0.415, allocations: 21.55 kB / 0.501 GB, free: 26.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.187e-05/0.415, allocations: 27.38 kB / 0.5011 GB, free: 26.65 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 55 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001737/0.4152, allocations: 216.3 kB / 0.5013 GB, free: 26.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.198e-05/0.4152, allocations: 39.61 kB / 0.5013 GB, free: 26.46 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006412/0.4159, allocations: 0.4888 MB / 0.5018 GB, free: 26.26 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.002e-05/0.4159, allocations: 19.72 kB / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4159, allocations: 4 kB / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.4159, allocations: 3.469 kB / 0.5018 GB, free: 26.25 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.4173, allocations: 0.9806 MB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.4173, allocations: 0 / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003304/0.4176, allocations: 70.88 kB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.4176, allocations: 3.188 kB / 0.5028 GB, free: 25.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.469e-05/0.4176, allocations: 7.031 kB / 0.5028 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.4176, allocations: 3.125 kB / 0.5028 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4176, allocations: 3.938 kB / 0.5028 GB, free: 25.74 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008347/0.4185, allocations: 0.8309 MB / 0.5037 GB, free: 25.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.056e-05/0.4185, allocations: 31.98 kB / 0.5037 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.601e-05/0.4186, allocations: 14.61 kB / 0.5037 GB, free: 25.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001949/0.4188, allocations: 13.56 kB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.4188, allocations: 23.47 kB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.486e-05/0.4188, allocations: 8.688 kB / 0.5037 GB, free: 25.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001454/0.419, allocations: 205.8 kB / 0.5039 GB, free: 25.17 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.419, allocations: 0 / 0.5039 GB, free: 25.17 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004613/0.4194, allocations: 108.3 kB / 0.504 GB, free: 25.16 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001889/0.4196, allocations: 132 kB / 0.5042 GB, free: 25.06 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006024/0.4202, allocations: 483.2 kB / 0.5046 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.4202, allocations: 0 / 0.5046 GB, free: 24.92 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.4205, allocations: 205 kB / 0.5048 GB, free: 24.86 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005209/0.421, allocations: 73.94 kB / 0.5049 GB, free: 24.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.4223, allocations: 1.124 MB / 0.506 GB, free: 24.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.4226, allocations: 267.4 kB / 0.5063 GB, free: 24.09 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002699/0.4228, allocations: 133.2 kB / 0.5064 GB, free: 24.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.4229, allocations: 36.59 kB / 0.5064 GB, free: 24.05 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.4229, allocations: 0 / 0.5064 GB, free: 24.05 MB / 446.1 MB Notification: Performance of Templates: time 0.008099/0.431, allocations: 3.768 MB / 0.5101 GB, free: 23.62 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.216824457980692] Failed to read output from testmodel.py, exit status != 0: 0.4398301279870793 0.451367372 0.046510177999999944 Calling exit ...