Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001497/0.001497, allocations: 168.4 kB / 16.76 MB, free: 5.051 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.002/3.002, allocations: 205.4 MB / 222.9 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 90.34 kB / 271.3 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.4617/0.4617, allocations: 38.07 MB / 357.6 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007669/0.0007674, allocations: 19.98 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5196/0.5204, allocations: 56.32 MB / 480.3 MB, free: 9.215 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.238/0.7584, allocations: 98.71 MB / 0.5654 GB, free: 3.648 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003598/0.7589, allocations: 95.95 kB / 0.5655 GB, free: 3.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05035/0.8092, allocations: 10.09 MB / 0.5753 GB, free: 9.352 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.407e-06/0.8093, allocations: 0 / 0.5753 GB, free: 9.352 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.978e-05/0.8094, allocations: 16.19 kB / 0.5754 GB, free: 9.336 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.002464/0.8119, allocations: 0.7771 MB / 0.5761 GB, free: 8.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.812, allocations: 12.03 kB / 0.5761 GB, free: 8.488 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.8122, allocations: 52.28 kB / 0.5762 GB, free: 8.438 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.8142, allocations: 0.5978 MB / 0.5768 GB, free: 7.805 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.918e-05/0.8143, allocations: 25.38 kB / 0.5768 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.8144, allocations: 40.31 kB / 0.5768 GB, free: 7.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001316/0.8157, allocations: 479.2 kB / 0.5773 GB, free: 7.238 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.345e-05/0.8158, allocations: 7.938 kB / 0.5773 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.256e-05/0.8159, allocations: 19.98 kB / 0.5773 GB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.795e-05/0.8159, allocations: 8 kB / 0.5773 GB, free: 7.203 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.817, allocations: 354.6 kB / 0.5777 GB, free: 6.852 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.8211, allocations: 1.715 MB / 0.5793 GB, free: 5.047 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.8222, allocations: 313.6 kB / 0.5796 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007798/0.823, allocations: 221.9 kB / 0.5798 GB, free: 4.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.8231, allocations: 8.219 kB / 0.5798 GB, free: 4.492 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006708/0.8238, allocations: 275.7 kB / 0.5801 GB, free: 4.195 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.158e-06/0.8238, allocations: 4 kB / 0.5801 GB, free: 4.191 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.004115/0.8279, allocations: 1.369 MB / 0.5815 GB, free: 2.707 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.8281, allocations: 136.5 kB / 0.5816 GB, free: 2.543 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007106/0.8288, allocations: 373.6 kB / 0.5819 GB, free: 2.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.27e-05/0.8289, allocations: 37.7 kB / 0.582 GB, free: 2.129 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003153/0.8292, allocations: 256 kB / 0.5822 GB, free: 1.875 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.8294, allocations: 118.4 kB / 0.5823 GB, free: 1.758 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.8295, allocations: 7.938 kB / 0.5823 GB, free: 1.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002359/0.8297, allocations: 358.7 kB / 0.5827 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.8301, allocations: 129 kB / 0.5828 GB, free: 1.266 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004899/0.8306, allocations: 256.1 kB / 0.583 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000944/0.8316, allocations: 437.4 kB / 0.5835 GB, free: 480 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.8316, allocations: 0 / 0.5835 GB, free: 480 kB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001628/0.8333, allocations: 0.5308 MB / 0.584 GB, free: 15.92 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.25e-05/0.8334, allocations: 33.7 kB / 0.584 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/0.8334, allocations: 7.938 kB / 0.584 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004691/0.8381, allocations: 82.17 kB / 0.5841 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00061/0.8388, allocations: 71.84 kB / 0.5842 GB, free: 15.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007986/0.8468, allocations: 2.766 MB / 0.5869 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007206/0.8475, allocations: 31.83 kB / 0.5869 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.8477, allocations: 16 kB / 0.5869 GB, free: 12.64 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 18 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.relay.y[1],relay.y[1],$PRE.breaker.breaker_1.arc,breaker.breaker_1.arc,$PRE.breaker.breaker_1.open,breaker.breaker_1.open,breaker.breaker_1.closed,$PRE.breaker.breaker_1.t0,breaker.breaker_1.t0,breaker.breaker_1.opening) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 0 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000631/0.8483, allocations: 247.3 kB / 0.5872 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.8485, allocations: 43.53 kB / 0.5872 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.8501, allocations: 489.1 kB / 0.5877 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/0.8501, allocations: 4 kB / 0.5877 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.8501, allocations: 3.938 kB / 0.5877 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.8502, allocations: 7.922 kB / 0.5877 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002613/0.8528, allocations: 1.048 MB / 0.5887 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.8528, allocations: 0 / 0.5887 GB, free: 10.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003623/0.8532, allocations: 43.92 kB / 0.5887 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003826/0.8536, allocations: 77.64 kB / 0.5888 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.446e-05/0.8537, allocations: 12 kB / 0.5888 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008498/0.8622, allocations: 2.773 MB / 0.5915 GB, free: 7.527 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.766e-06/0.8623, allocations: 4.031 kB / 0.5915 GB, free: 7.523 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002166/0.8644, allocations: 0.7495 MB / 0.5923 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.8647, allocations: 120.6 kB / 0.5924 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001038/0.8648, allocations: 12 kB / 0.5924 GB, free: 6.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004419/0.8653, allocations: 19.98 kB / 0.5924 GB, free: 6.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001797/0.8655, allocations: 43.94 kB / 0.5925 GB, free: 6.527 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.458e-05/0.8655, allocations: 8 kB / 0.5925 GB, free: 6.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005317/0.8661, allocations: 263.1 kB / 0.5927 GB, free: 6.27 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.8661, allocations: 0 / 0.5927 GB, free: 6.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001038/0.8672, allocations: 120 kB / 0.5928 GB, free: 6.152 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (ind.i[1],ind.i[2]) * Number of discrete variables: 13 (breaker.breaker_1.closed,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,relay.y[1],relay.cnt,breaker.breaker_1.arc,breaker.breaker_1.open,breaker.breaker_1.t0,breaker.breaker_1.opening,system.initime) * Number of discrete states: 5 (breaker.breaker_1.arc,relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_1.open) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 3 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003623/0.8675, allocations: 119.2 kB / 0.5929 GB, free: 6.027 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001759/0.8693, allocations: 0.6347 MB / 0.5936 GB, free: 5.355 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.8693, allocations: 0 / 0.5936 GB, free: 5.355 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005463/0.8748, allocations: 493.1 kB / 0.594 GB, free: 4.836 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001216/0.8761, allocations: 84.69 kB / 0.5941 GB, free: 4.754 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003388/0.8795, allocations: 1.262 MB / 0.5953 GB, free: 3.449 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008475/0.8804, allocations: 0.8704 MB / 0.5962 GB, free: 2.555 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.8807, allocations: 35.44 kB / 0.5962 GB, free: 2.52 MB / 426.7 MB Notification: Performance of SimCode: time 1.603e-06/0.8807, allocations: 3.938 kB / 0.5962 GB, free: 2.516 MB / 426.7 MB Notification: Performance of Templates: time 0.03291/0.9136, allocations: 9.225 MB / 0.6052 GB, free: 9.289 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.pipe 2>&1)