Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.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.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001526/0.001526, allocations: 179.6 kB / 15.76 MB, free: 6.359 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.999/1.999, allocations: 205.4 MB / 221.9 MB, free: 13.75 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.001159/0.001158, allocations: 90.83 kB / 270.2 MB, free: 13.29 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2563/0.2563, allocations: 38.07 MB / 356.6 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004531, allocations: 19.98 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1054, allocations: 56.32 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4927/0.5981, allocations: 98.68 MB / 0.5642 GB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003232/0.5985, allocations: 104.1 kB / 0.5643 GB, free: 0.9492 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04462/0.6432, allocations: 10.1 MB / 0.5741 GB, free: 8.27 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.964e-06/0.6432, allocations: 0 / 0.5741 GB, free: 8.27 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.338e-05/0.6433, allocations: 16 kB / 0.5742 GB, free: 8.254 MB / 378.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.002016/0.6453, allocations: 0.785 MB / 0.5749 GB, free: 7.449 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.6454, allocations: 8.031 kB / 0.5749 GB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.6455, allocations: 59.3 kB / 0.575 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003344/0.6489, allocations: 0.9028 MB / 0.5759 GB, free: 6.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.649, allocations: 34.88 kB / 0.5759 GB, free: 6.559 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001018/0.6491, allocations: 34.44 kB / 0.5759 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.6503, allocations: 470.2 kB / 0.5764 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.6503, allocations: 0 / 0.5764 GB, free: 6.168 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.195e-05/0.6504, allocations: 16.98 kB / 0.5764 GB, free: 6.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.6504, allocations: 12 kB / 0.5764 GB, free: 6.148 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000983/0.6514, allocations: 361.3 kB / 0.5768 GB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003477/0.6549, allocations: 1.714 MB / 0.5784 GB, free: 4.379 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008823/0.6558, allocations: 312.5 kB / 0.5787 GB, free: 4.148 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.025e-05/0.6559, allocations: 4.234 kB / 0.5787 GB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006161/0.6565, allocations: 282.3 kB / 0.579 GB, free: 3.895 MB / 378.7 MB Notification: Performance of pre-optimization done (n=35): time 3.166e-06/0.6565, allocations: 3.938 kB / 0.579 GB, free: 3.891 MB / 378.7 MB Notification: Performance of matching and sorting (n=36): time 0.003549/0.6601, allocations: 1.434 MB / 0.5804 GB, free: 2.555 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001059/0.6602, allocations: 140.5 kB / 0.5805 GB, free: 2.387 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005653/0.6608, allocations: 329.1 kB / 0.5809 GB, free: 2.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/0.6609, allocations: 37.08 kB / 0.5809 GB, free: 2.078 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.6611, allocations: 294.5 kB / 0.5812 GB, free: 1.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6613, allocations: 115.8 kB / 0.5813 GB, free: 1.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.6613, allocations: 15.28 kB / 0.5813 GB, free: 1.734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.6615, allocations: 326.1 kB / 0.5816 GB, free: 1.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.6619, allocations: 131.7 kB / 0.5817 GB, free: 1.328 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004849/0.6624, allocations: 252.8 kB / 0.582 GB, free: 1.078 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.6628, allocations: 180.2 kB / 0.5821 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6628, allocations: 0 / 0.5821 GB, free: 0.9492 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001343/0.6642, allocations: 0.5228 MB / 0.5827 GB, free: 0.5273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.634e-05/0.6643, allocations: 34.33 kB / 0.5827 GB, free: 500 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/0.6643, allocations: 4.047 kB / 0.5827 GB, free: 496 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004007/0.6647, allocations: 77.78 kB / 0.5828 GB, free: 424 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005037/0.6652, allocations: 75.09 kB / 0.5828 GB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003203/0.6684, allocations: 2.779 MB / 0.5855 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005445/0.669, allocations: 26.73 kB / 0.5856 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.861e-05/0.6691, allocations: 19.94 kB / 0.5856 GB, free: 13.41 MB / 394.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.0004805/0.6696, allocations: 239.5 kB / 0.5858 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.476e-05/0.6697, allocations: 43.48 kB / 0.5859 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001307/0.671, allocations: 481.9 kB / 0.5863 GB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.671, allocations: 4 kB / 0.5863 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.671, allocations: 0 / 0.5863 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6711, allocations: 7.984 kB / 0.5863 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.6733, allocations: 1.021 MB / 0.5873 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6734, allocations: 0 / 0.5873 GB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003647/0.6737, allocations: 46.97 kB / 0.5874 GB, free: 11.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003769/0.6741, allocations: 79.45 kB / 0.5875 GB, free: 11.8 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.6742, allocations: 13.88 kB / 0.5875 GB, free: 11.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00367/0.6779, allocations: 2.786 MB / 0.5902 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6779, allocations: 0 / 0.5902 GB, free: 8.887 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002413/0.6803, allocations: 0.7591 MB / 0.5909 GB, free: 8.254 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.6806, allocations: 116 kB / 0.591 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/0.6807, allocations: 14.42 kB / 0.5911 GB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.6813, allocations: 23.5 kB / 0.5911 GB, free: 8.098 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.6815, allocations: 33.83 kB / 0.5911 GB, free: 8.07 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.992e-05/0.6816, allocations: 15.5 kB / 0.5911 GB, free: 8.059 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006042/0.6822, allocations: 256.5 kB / 0.5914 GB, free: 7.859 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6822, allocations: 4 kB / 0.5914 GB, free: 7.855 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001218/0.6835, allocations: 113.6 kB / 0.5915 GB, free: 7.758 MB / 394.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.0003475/0.6838, allocations: 134.2 kB / 0.5916 GB, free: 7.625 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002086/0.6859, allocations: 0.6269 MB / 0.5922 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.686, allocations: 0.9375 kB / 0.5922 GB, free: 7.059 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001433/0.6874, allocations: 0.4933 MB / 0.5927 GB, free: 6.586 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.6886, allocations: 73.28 kB / 0.5928 GB, free: 6.531 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003895/0.6925, allocations: 1.262 MB / 0.594 GB, free: 5.32 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/0.6935, allocations: 0.8875 MB / 0.5949 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.6938, allocations: 35.42 kB / 0.5949 GB, free: 4.383 MB / 394.7 MB Notification: Performance of SimCode: time 1.664e-06/0.6938, allocations: 0 / 0.5949 GB, free: 4.383 MB / 394.7 MB Notification: Performance of Templates: time 0.02633/0.7202, allocations: 8.899 MB / 0.6036 GB, free: 11.55 MB / 410.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)