Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001312/0.001312, allocations: 190.2 kB / 8.133 MB, free: 2.199 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.2 MB / 202.8 MB, free: 8.68 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00172/0.00172, allocations: 121.4 kB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1761/0.1761, allocations: 37.91 MB / 330.5 MB, free: 6.945 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.458e-06, allocations: 4 kB / 389.8 MB, free: 78.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/0.1305, allocations: 53.23 MB / 443 MB, free: 25.01 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2849/0.4155, allocations: 89.9 MB / 0.5204 GB, free: 10.53 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4158, allocations: 79.55 kB / 0.5205 GB, free: 10.52 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1321/0.5479, allocations: 56.84 MB / 0.576 GB, free: 15.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.334e-05/0.548, allocations: 16 kB / 0.576 GB, free: 15.53 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002444/0.5504, allocations: 1.01 MB / 0.577 GB, free: 14.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.5505, allocations: 8.031 kB / 0.577 GB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003953/0.5545, allocations: 422.3 kB / 0.5774 GB, free: 14.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/0.5555, allocations: 0.4941 MB / 0.5779 GB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.5555, allocations: 24 kB / 0.5779 GB, free: 13.5 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000211/0.5557, allocations: 44 kB / 0.578 GB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001664/0.5574, allocations: 0.9761 MB / 0.5789 GB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001761/0.5592, allocations: 1.117 MB / 0.58 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.5592, allocations: 3.906 kB / 0.58 GB, free: 11.34 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.731e-05/0.5593, allocations: 3.984 kB / 0.58 GB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002658/0.5596, allocations: 105.9 kB / 0.5801 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005998/0.5656, allocations: 3.61 MB / 0.5837 GB, free: 7.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.5673, allocations: 1.004 MB / 0.5846 GB, free: 6.531 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008261/0.5681, allocations: 0.6059 MB / 0.5852 GB, free: 5.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.429e-05/0.5682, allocations: 28.22 kB / 0.5853 GB, free: 5.898 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.5683, allocations: 39.34 kB / 0.5853 GB, free: 5.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=92): time 2.625e-06/0.5683, allocations: 0 / 0.5853 GB, free: 5.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=93): time 0.003465/0.5717, allocations: 1.955 MB / 0.5872 GB, free: 3.891 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.668e-05/0.5718, allocations: 85.89 kB / 0.5873 GB, free: 3.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003254/0.5721, allocations: 306 kB / 0.5876 GB, free: 3.484 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.301e-05/0.5722, allocations: 29.7 kB / 0.5876 GB, free: 3.449 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/0.5724, allocations: 288 kB / 0.5879 GB, free: 3.16 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002533/0.5726, allocations: 303.4 kB / 0.5882 GB, free: 2.859 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.432e-05/0.5727, allocations: 0 / 0.5882 GB, free: 2.859 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.5728, allocations: 370.8 kB / 0.5885 GB, free: 2.488 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006119/0.5734, allocations: 433.8 kB / 0.5889 GB, free: 2.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/0.5741, allocations: 0.5334 MB / 0.5895 GB, free: 1.492 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007367/0.5749, allocations: 0.5182 MB / 0.59 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5749, allocations: 0 / 0.59 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002378/0.5773, allocations: 1.377 MB / 0.5913 GB, free: 15.59 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.5773, allocations: 4 kB / 0.5913 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5773, allocations: 0 / 0.5913 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009538/0.5783, allocations: 320.1 kB / 0.5916 GB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007479/0.579, allocations: 179.7 kB / 0.5918 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004867/0.5839, allocations: 3.454 MB / 0.5952 GB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.5845, allocations: 31.95 kB / 0.5952 GB, free: 11.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.42e-05/0.5846, allocations: 31.98 kB / 0.5952 GB, free: 11.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001731/0.5848, allocations: 120.7 kB / 0.5953 GB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.585, allocations: 59.33 kB / 0.5954 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002585/0.5876, allocations: 1.474 MB / 0.5968 GB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.779e-06/0.5876, allocations: 11.94 kB / 0.5968 GB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.5876, allocations: 8 kB / 0.5968 GB, free: 9.785 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.5876, allocations: 11.92 kB / 0.5969 GB, free: 9.773 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004936/0.5926, allocations: 2.846 MB / 0.5996 GB, free: 6.844 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.416e-06/0.5926, allocations: 8.094 kB / 0.5996 GB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006864/0.5933, allocations: 155.8 kB / 0.5998 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000855/0.5942, allocations: 282.4 kB / 0.6001 GB, free: 6.406 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/0.5942, allocations: 15.89 kB / 0.6001 GB, free: 6.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/0.5989, allocations: 3.259 MB / 0.6033 GB, free: 3.027 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/0.5989, allocations: 7.906 kB / 0.6033 GB, free: 3.02 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002534/0.6015, allocations: 1.675 MB / 0.6049 GB, free: 1.199 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001979/0.6017, allocations: 144.3 kB / 0.605 GB, free: 1.039 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6018, allocations: 4 kB / 0.605 GB, free: 1.035 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005004/0.6023, allocations: 19.97 kB / 0.6051 GB, free: 1.016 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.6024, allocations: 64.55 kB / 0.6051 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.587e-05/0.6025, allocations: 39.98 kB / 0.6052 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002507/0.6028, allocations: 240.6 kB / 0.6054 GB, free: 0.6758 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001045/0.6038, allocations: 268.9 kB / 0.6057 GB, free: 424 kB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.604, allocations: 111.1 kB / 0.6058 GB, free: 304 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.606, allocations: 1.254 MB / 0.607 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.606, allocations: 0 / 0.607 GB, free: 15.03 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001117/0.6072, allocations: 0.7504 MB / 0.6077 GB, free: 14.27 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005228/0.6077, allocations: 69.95 kB / 0.6078 GB, free: 14.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.6105, allocations: 1.503 MB / 0.6093 GB, free: 12.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009146/0.6114, allocations: 1.143 MB / 0.6104 GB, free: 11.45 MB / 426.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6114, allocations: 0 / 0.6104 GB, free: 11.45 MB / 426.7 MB Notification: Performance of Templates: time 0.01731/0.6288, allocations: 10.03 MB / 0.6202 GB, free: 1.465 MB / 426.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)