Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") [: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.001112/0.001113, allocations: 196.1 kB / 8.138 MB, free: 2.195 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.326/1.326, allocations: 194.2 MB / 202.8 MB, free: 8.668 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: 116.2 kB / 247.7 MB, free: 6.375 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1793/0.1793, allocations: 37.92 MB / 330.5 MB, free: 6.902 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.254e-06/7.274e-06, allocations: 0 / 389.8 MB, free: 78.13 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09484/0.09487, allocations: 53.23 MB / 443 MB, free: 24.99 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3259/0.4209, allocations: 98.03 MB / 0.5284 GB, free: 8.297 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4211, allocations: 78.72 kB / 0.5284 GB, free: 8.289 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.07157/0.4927, allocations: 25.3 MB / 0.5532 GB, free: 4.145 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.532e-05/0.4928, allocations: 27.94 kB / 0.5532 GB, free: 4.117 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002795/0.4956, allocations: 1.061 MB / 0.5542 GB, free: 3.059 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4957, allocations: 16.03 kB / 0.5542 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.4969, allocations: 178.5 kB / 0.5544 GB, free: 2.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003869/0.5008, allocations: 1.346 MB / 0.5557 GB, free: 1.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/0.5009, allocations: 31.91 kB / 0.5557 GB, free: 1.695 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002041/0.5011, allocations: 51.5 kB / 0.5558 GB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/0.5027, allocations: 0.7581 MB / 0.5565 GB, free: 1.129 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.5043, allocations: 1.051 MB / 0.5576 GB, free: 244 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/0.5044, allocations: 7.922 kB / 0.5576 GB, free: 236 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.203e-05/0.5045, allocations: 4 kB / 0.5576 GB, free: 232 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.115e-05/0.5045, allocations: 49.36 kB / 0.5576 GB, free: 184 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005665/0.5102, allocations: 4.584 MB / 0.5621 GB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.5113, allocations: 0.6057 MB / 0.5627 GB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004719/0.5117, allocations: 390.4 kB / 0.5631 GB, free: 11.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.595e-05/0.5118, allocations: 12.62 kB / 0.5631 GB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005274/0.5124, allocations: 437.7 kB / 0.5635 GB, free: 10.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=69): time 4.238e-06/0.5124, allocations: 7.922 kB / 0.5635 GB, free: 10.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=70): time 0.003031/0.5154, allocations: 1.587 MB / 0.565 GB, free: 9.598 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.271e-05/0.5155, allocations: 166.8 kB / 0.5652 GB, free: 9.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005558/0.5161, allocations: 475.1 kB / 0.5657 GB, free: 9.027 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.413e-05/0.5161, allocations: 25.7 kB / 0.5657 GB, free: 8.996 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002519/0.5164, allocations: 392.6 kB / 0.5661 GB, free: 8.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.5166, allocations: 231.7 kB / 0.5663 GB, free: 8.445 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/0.5166, allocations: 0 / 0.5663 GB, free: 8.445 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001461/0.5168, allocations: 392.9 kB / 0.5667 GB, free: 8.086 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003972/0.5172, allocations: 282.8 kB / 0.5669 GB, free: 7.895 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005615/0.5178, allocations: 0.5376 MB / 0.5674 GB, free: 7.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/0.5183, allocations: 395.5 kB / 0.5678 GB, free: 7.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.5184, allocations: 0 / 0.5678 GB, free: 7.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001941/0.5203, allocations: 1.117 MB / 0.5689 GB, free: 6.168 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.544e-05/0.5203, allocations: 11.94 kB / 0.5689 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.5204, allocations: 8 kB / 0.5689 GB, free: 6.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.5214, allocations: 332.8 kB / 0.5693 GB, free: 5.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005264/0.5219, allocations: 142.2 kB / 0.5694 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005171/0.5271, allocations: 4.51 MB / 0.5738 GB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006069/0.5277, allocations: 27.92 kB / 0.5738 GB, free: 1.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.527e-05/0.5278, allocations: 36.56 kB / 0.5739 GB, free: 1.648 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 76 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002276/0.5281, allocations: 169.3 kB / 0.574 GB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001273/0.5282, allocations: 71.06 kB / 0.5741 GB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001897/0.5301, allocations: 0.997 MB / 0.5751 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/0.5302, allocations: 12 kB / 0.5751 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/0.5302, allocations: 4 kB / 0.5751 GB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.5302, allocations: 3.984 kB / 0.5751 GB, free: 0.6211 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003707/0.5339, allocations: 1.979 MB / 0.577 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.5339, allocations: 4 kB / 0.577 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003592/0.5343, allocations: 71.89 kB / 0.5771 GB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000986/0.5353, allocations: 317.7 kB / 0.5774 GB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/0.5354, allocations: 8 kB / 0.5774 GB, free: 14.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00562/0.541, allocations: 4.455 MB / 0.5817 GB, free: 9.715 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/0.541, allocations: 4 kB / 0.5817 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002315/0.5434, allocations: 1.208 MB / 0.5829 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003127/0.5437, allocations: 152.1 kB / 0.5831 GB, free: 8.223 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.5439, allocations: 4 kB / 0.5831 GB, free: 8.219 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.5444, allocations: 11.98 kB / 0.5831 GB, free: 8.207 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5445, allocations: 52.3 kB / 0.5831 GB, free: 8.156 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.421e-05/0.5446, allocations: 23.98 kB / 0.5832 GB, free: 8.133 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0005511/0.5452, allocations: 355.2 kB / 0.5835 GB, free: 7.793 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001285/0.5465, allocations: 240 kB / 0.5837 GB, free: 7.559 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.closed,switch.control[1],$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 38 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004033/0.5469, allocations: 167.3 kB / 0.5839 GB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002048/0.5489, allocations: 1.054 MB / 0.5849 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5489, allocations: 0 / 0.5849 GB, free: 6.305 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/0.55, allocations: 0.6896 MB / 0.5856 GB, free: 5.59 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008916/0.5509, allocations: 150.7 kB / 0.5857 GB, free: 5.438 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.5542, allocations: 1.416 MB / 0.5871 GB, free: 3.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001006/0.5552, allocations: 1.158 MB / 0.5882 GB, free: 2.777 MB / 394.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5552, allocations: 0 / 0.5882 GB, free: 2.777 MB / 394.7 MB Notification: Performance of Templates: time 0.02032/0.5755, allocations: 10.46 MB / 0.5985 GB, free: 8.336 MB / 410.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)