Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00211/0.00211, allocations: 184.9 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.969/1.969, allocations: 205.2 MB / 218.9 MB, free: 9.223 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 87.86 kB / 267.1 MB, free: 9.277 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2705/0.2705, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.01e-05/4.026e-05, allocations: 0 / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1017, allocations: 56.31 MB / 473.1 MB, free: 0.9258 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4814/0.5831, allocations: 103.7 MB / 0.5633 GB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004026/0.5836, allocations: 83.97 kB / 0.5634 GB, free: 15.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1386/0.7222, allocations: 25.81 MB / 0.5886 GB, free: 5.824 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.7223, allocations: 0 / 0.5886 GB, free: 5.824 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.686e-05/0.7224, allocations: 20 kB / 0.5886 GB, free: 5.805 MB / 426.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.003282/0.7257, allocations: 1.058 MB / 0.5896 GB, free: 4.691 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.7257, allocations: 12.03 kB / 0.5896 GB, free: 4.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001701/0.7275, allocations: 186.5 kB / 0.5898 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005518/0.733, allocations: 1.342 MB / 0.5911 GB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.922e-05/0.7331, allocations: 62 kB / 0.5912 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002208/0.7334, allocations: 84 kB / 0.5913 GB, free: 2.969 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002959/0.7364, allocations: 1.128 MB / 0.5924 GB, free: 1.758 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/0.7365, allocations: 11.84 kB / 0.5924 GB, free: 1.746 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.7366, allocations: 39.98 kB / 0.5924 GB, free: 1.707 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.7367, allocations: 49.98 kB / 0.5925 GB, free: 1.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002583/0.7393, allocations: 0.8704 MB / 0.5933 GB, free: 0.7852 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009807/0.7492, allocations: 4.712 MB / 0.5979 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001995/0.7512, allocations: 0.6733 MB / 0.5986 GB, free: 11.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00097/0.7522, allocations: 387.9 kB / 0.5989 GB, free: 10.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.65e-05/0.7523, allocations: 20.48 kB / 0.599 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.7534, allocations: 459.8 kB / 0.5994 GB, free: 10.31 MB / 442.7 MB Notification: Performance of pre-optimization done (n=69): time 3.838e-06/0.7534, allocations: 0 / 0.5994 GB, free: 10.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=70): time 0.005066/0.7585, allocations: 1.7 MB / 0.6011 GB, free: 8.578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.7586, allocations: 162.8 kB / 0.6012 GB, free: 8.379 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.7597, allocations: 0.5111 MB / 0.6017 GB, free: 7.863 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001284/0.7598, allocations: 41.7 kB / 0.6018 GB, free: 7.816 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/0.7603, allocations: 0.4934 MB / 0.6022 GB, free: 7.316 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003375/0.7607, allocations: 236.7 kB / 0.6025 GB, free: 7.082 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.585e-05/0.7607, allocations: 16 kB / 0.6025 GB, free: 7.066 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001775/0.7609, allocations: 346.8 kB / 0.6028 GB, free: 6.719 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008145/0.7618, allocations: 289.9 kB / 0.6031 GB, free: 6.434 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.7628, allocations: 0.5451 MB / 0.6036 GB, free: 5.773 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001034/0.7639, allocations: 416.7 kB / 0.604 GB, free: 5.363 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.7639, allocations: 4 kB / 0.604 GB, free: 5.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003479/0.7674, allocations: 1.184 MB / 0.6052 GB, free: 4.152 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-05/0.7675, allocations: 38.44 kB / 0.6052 GB, free: 4.109 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.7675, allocations: 11.94 kB / 0.6052 GB, free: 4.098 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001771/0.7693, allocations: 341.4 kB / 0.6056 GB, free: 3.758 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001003/0.7703, allocations: 143.8 kB / 0.6057 GB, free: 3.617 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00926/0.7796, allocations: 4.948 MB / 0.6105 GB, free: 14.38 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001008/0.7807, allocations: 40.02 kB / 0.6106 GB, free: 14.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.7808, allocations: 43.98 kB / 0.6106 GB, free: 14.3 MB / 458.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.0003228/0.7811, allocations: 193.1 kB / 0.6108 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.7813, allocations: 75.06 kB / 0.6109 GB, free: 14.03 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.7847, allocations: 1.064 MB / 0.6119 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.583e-05/0.7848, allocations: 8 kB / 0.6119 GB, free: 12.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.7848, allocations: 8 kB / 0.6119 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.605e-05/0.7849, allocations: 3.984 kB / 0.6119 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005832/0.7907, allocations: 2.114 MB / 0.614 GB, free: 10.72 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-05/0.7908, allocations: 4 kB / 0.614 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.7914, allocations: 71.89 kB / 0.6141 GB, free: 10.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001583/0.793, allocations: 325.5 kB / 0.6144 GB, free: 10.32 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.7931, allocations: 16 kB / 0.6144 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008945/0.8021, allocations: 4.873 MB / 0.6191 GB, free: 5.133 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.8021, allocations: 4 kB / 0.6191 GB, free: 5.129 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.8054, allocations: 1.199 MB / 0.6203 GB, free: 3.848 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000315/0.8057, allocations: 148.2 kB / 0.6205 GB, free: 3.684 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001584/0.8059, allocations: 12 kB / 0.6205 GB, free: 3.672 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006991/0.8066, allocations: 27.97 kB / 0.6205 GB, free: 3.645 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002219/0.8068, allocations: 60.36 kB / 0.6206 GB, free: 3.586 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.388e-05/0.8069, allocations: 20 kB / 0.6206 GB, free: 3.566 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008052/0.8077, allocations: 407.2 kB / 0.621 GB, free: 3.176 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.8077, allocations: 0 / 0.621 GB, free: 3.176 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001543/0.8093, allocations: 299.9 kB / 0.6212 GB, free: 2.883 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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.0004711/0.8098, allocations: 198.5 kB / 0.6214 GB, free: 2.684 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003303/0.8131, allocations: 1.164 MB / 0.6226 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.8132, allocations: 0 / 0.6226 GB, free: 1.477 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002165/0.8154, allocations: 0.7758 MB / 0.6233 GB, free: 0.6641 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/0.8168, allocations: 159.1 kB / 0.6235 GB, free: 0.5078 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004337/0.8212, allocations: 1.448 MB / 0.6249 GB, free: 15.01 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001192/0.8224, allocations: 1.123 MB / 0.626 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/0.8228, allocations: 59.42 kB / 0.626 GB, free: 13.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.001e-06/0.8228, allocations: 0 / 0.626 GB, free: 13.8 MB / 474.7 MB Notification: Performance of Templates: time 0.367/1.19, allocations: 16.83 MB / 0.6425 GB, free: 133.7 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)