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.001492/0.001491, allocations: 185.5 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.95/1.95, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.001138/0.001137, allocations: 87.81 kB / 267.1 MB, free: 9.285 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.2752/0.2752, allocations: 37.97 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.179e-05/4.208e-05, allocations: 4 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.1126, allocations: 56.32 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5019/0.6145, allocations: 98.58 MB / 0.5583 GB, free: 5.148 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003313/0.6149, allocations: 95.94 kB / 0.5584 GB, free: 5.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04698/0.6619, allocations: 10.1 MB / 0.5683 GB, free: 10.85 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.662, allocations: 0 / 0.5683 GB, free: 10.85 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.317e-05/0.662, allocations: 12.19 kB / 0.5683 GB, free: 10.84 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.001806/0.6639, allocations: 0.7142 MB / 0.569 GB, free: 10.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6639, allocations: 8.031 kB / 0.569 GB, free: 10.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.6641, allocations: 59.3 kB / 0.569 GB, free: 10.01 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003678/0.6678, allocations: 0.882 MB / 0.5699 GB, free: 9.086 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.835e-05/0.6679, allocations: 28.78 kB / 0.5699 GB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.6681, allocations: 36 kB / 0.57 GB, free: 9.023 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.6692, allocations: 468 kB / 0.5704 GB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.6693, allocations: 4 kB / 0.5704 GB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/0.6694, allocations: 16 kB / 0.5704 GB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.6694, allocations: 8 kB / 0.5704 GB, free: 8.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001007/0.6704, allocations: 354.8 kB / 0.5708 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003691/0.6741, allocations: 1.719 MB / 0.5724 GB, free: 6.348 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000962/0.6751, allocations: 305.7 kB / 0.5727 GB, free: 6.031 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007952/0.676, allocations: 221.9 kB / 0.573 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.326e-05/0.676, allocations: 4.234 kB / 0.573 GB, free: 5.805 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006169/0.6767, allocations: 279.6 kB / 0.5732 GB, free: 5.504 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 2.775e-06/0.6767, allocations: 0 / 0.5732 GB, free: 5.504 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.002757/0.6794, allocations: 1.055 MB / 0.5743 GB, free: 4.371 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.447e-05/0.6796, allocations: 144.5 kB / 0.5744 GB, free: 4.199 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005759/0.6802, allocations: 315.5 kB / 0.5747 GB, free: 3.887 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.6802, allocations: 41.67 kB / 0.5747 GB, free: 3.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.6805, allocations: 310.4 kB / 0.575 GB, free: 3.531 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.6807, allocations: 110.5 kB / 0.5751 GB, free: 3.422 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.419e-05/0.6807, allocations: 8 kB / 0.5751 GB, free: 3.414 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.6808, allocations: 326.8 kB / 0.5755 GB, free: 3.086 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/0.6812, allocations: 125.1 kB / 0.5756 GB, free: 2.965 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004669/0.6817, allocations: 252.1 kB / 0.5758 GB, free: 2.664 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.6821, allocations: 177.4 kB / 0.576 GB, free: 2.484 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.6822, allocations: 7.938 kB / 0.576 GB, free: 2.477 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001378/0.6836, allocations: 0.5035 MB / 0.5765 GB, free: 1.953 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.6836, allocations: 38.17 kB / 0.5765 GB, free: 1.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.6837, allocations: 4 kB / 0.5765 GB, free: 1.906 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003851/0.6841, allocations: 77.67 kB / 0.5766 GB, free: 1.824 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005331/0.6846, allocations: 67.84 kB / 0.5767 GB, free: 1.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00302/0.6876, allocations: 2.76 MB / 0.5794 GB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000581/0.6883, allocations: 27.89 kB / 0.5794 GB, free: 14.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-05/0.6883, allocations: 23.92 kB / 0.5794 GB, free: 14.68 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 () * 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.0002248/0.6886, allocations: 170.7 kB / 0.5796 GB, free: 14.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.87e-05/0.6887, allocations: 39.53 kB / 0.5796 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001338/0.69, allocations: 468.9 kB / 0.5801 GB, free: 13.99 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/0.6901, allocations: 4 kB / 0.5801 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.6901, allocations: 0 / 0.5801 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/0.6901, allocations: 11.97 kB / 0.5801 GB, free: 13.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002528/0.6926, allocations: 1.025 MB / 0.5811 GB, free: 12.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.6927, allocations: 7.953 kB / 0.5811 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003652/0.6931, allocations: 39.91 kB / 0.5811 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003838/0.6935, allocations: 77.69 kB / 0.5812 GB, free: 12.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.11e-05/0.6935, allocations: 16 kB / 0.5812 GB, free: 12.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.6965, allocations: 2.754 MB / 0.5839 GB, free: 9.707 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/0.6966, allocations: 3.984 kB / 0.5839 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.6984, allocations: 0.7494 MB / 0.5846 GB, free: 8.906 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.6986, allocations: 120.5 kB / 0.5847 GB, free: 8.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001041/0.6987, allocations: 23.88 kB / 0.5848 GB, free: 8.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.6992, allocations: 20.05 kB / 0.5848 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.6993, allocations: 35.95 kB / 0.5848 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.6994, allocations: 11.98 kB / 0.5848 GB, free: 8.68 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004427/0.6999, allocations: 250.2 kB / 0.5851 GB, free: 8.438 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6999, allocations: 0 / 0.5851 GB, free: 8.438 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007368/0.7006, allocations: 120 kB / 0.5852 GB, free: 8.32 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) * 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.0002629/0.7009, allocations: 131.1 kB / 0.5853 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001509/0.7024, allocations: 0.6259 MB / 0.5859 GB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.7025, allocations: 0 / 0.5859 GB, free: 7.516 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.7035, allocations: 477.1 kB / 0.5864 GB, free: 7.012 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000772/0.7043, allocations: 90.52 kB / 0.5865 GB, free: 6.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.7064, allocations: 0.7788 MB / 0.5872 GB, free: 6.113 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/0.707, allocations: 0.8743 MB / 0.5881 GB, free: 5.211 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.7072, allocations: 31.44 kB / 0.5881 GB, free: 5.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.022e-06/0.7072, allocations: 0 / 0.5881 GB, free: 5.18 MB / 426.7 MB Notification: Performance of Templates: time 0.01887/0.7261, allocations: 8.918 MB / 0.5968 GB, free: 12.25 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)