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.001454/0.001454, allocations: 185.5 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 82.64 kB / 261.7 MB, free: 1.688 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.2571/0.2571, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.537e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1059/0.1059, allocations: 56.33 MB / 466.2 MB, free: 10.81 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4831/0.5891, allocations: 97.92 MB / 0.5509 GB, free: 9.934 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5894, allocations: 83.8 kB / 0.551 GB, free: 9.922 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03978/0.6292, allocations: 10 MB / 0.5607 GB, free: 4.602 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.6293, allocations: 0 / 0.5607 GB, free: 4.602 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.489e-05/0.6293, allocations: 8 kB / 0.5607 GB, free: 4.594 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001449/0.6308, allocations: 0.713 MB / 0.5614 GB, free: 3.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6308, allocations: 8.031 kB / 0.5614 GB, free: 3.855 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/0.631, allocations: 59.3 kB / 0.5615 GB, free: 3.797 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.6342, allocations: 0.8777 MB / 0.5624 GB, free: 3.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.6343, allocations: 12 kB / 0.5624 GB, free: 3.031 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.017e-05/0.6344, allocations: 27.98 kB / 0.5624 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008198/0.6352, allocations: 320 kB / 0.5627 GB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.636, allocations: 413.7 kB / 0.5631 GB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.6361, allocations: 4 kB / 0.5631 GB, free: 2.449 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.6361, allocations: 4 kB / 0.5631 GB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.6361, allocations: 11.95 kB / 0.5631 GB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002944/0.6391, allocations: 1.643 MB / 0.5647 GB, free: 0.9883 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.6398, allocations: 292.9 kB / 0.565 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006452/0.6405, allocations: 212.1 kB / 0.5652 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.095e-05/0.6405, allocations: 240 / 0.5652 GB, free: 0.6133 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004841/0.641, allocations: 277.2 kB / 0.5655 GB, free: 376 kB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.385e-06/0.641, allocations: 0 / 0.5655 GB, free: 376 kB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002252/0.6433, allocations: 0.9022 MB / 0.5663 GB, free: 15.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.6434, allocations: 148.4 kB / 0.5665 GB, free: 15.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005131/0.644, allocations: 309.8 kB / 0.5668 GB, free: 15.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.644, allocations: 29.7 kB / 0.5668 GB, free: 15.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/0.6443, allocations: 297.7 kB / 0.5671 GB, free: 14.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.6444, allocations: 110.6 kB / 0.5672 GB, free: 14.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.546e-05/0.6445, allocations: 0 / 0.5672 GB, free: 14.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.6446, allocations: 329.6 kB / 0.5675 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003327/0.645, allocations: 119.1 kB / 0.5676 GB, free: 14.35 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004094/0.6454, allocations: 238.1 kB / 0.5679 GB, free: 14.12 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.6458, allocations: 146.4 kB / 0.568 GB, free: 14.02 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6458, allocations: 4 kB / 0.568 GB, free: 14.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001183/0.647, allocations: 439.7 kB / 0.5684 GB, free: 13.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.6471, allocations: 34.12 kB / 0.5684 GB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.6471, allocations: 8 kB / 0.5685 GB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003675/0.6475, allocations: 72.06 kB / 0.5685 GB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005259/0.648, allocations: 79.77 kB / 0.5686 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00298/0.651, allocations: 2.673 MB / 0.5712 GB, free: 10.71 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005877/0.6517, allocations: 15.98 kB / 0.5712 GB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.6517, allocations: 15.88 kB / 0.5712 GB, free: 10.68 MB / 378.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.0002491/0.652, allocations: 158.3 kB / 0.5714 GB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.6521, allocations: 39.53 kB / 0.5714 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001256/0.6534, allocations: 417.2 kB / 0.5718 GB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.176e-05/0.6534, allocations: 4 kB / 0.5718 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6534, allocations: 0 / 0.5718 GB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.222e-05/0.6535, allocations: 7.984 kB / 0.5718 GB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002296/0.6558, allocations: 0.8971 MB / 0.5727 GB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.071e-05/0.6558, allocations: 3.984 kB / 0.5727 GB, free: 9.387 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/0.6562, allocations: 35.92 kB / 0.5728 GB, free: 9.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/0.6566, allocations: 81.12 kB / 0.5728 GB, free: 9.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.005e-05/0.6567, allocations: 7.984 kB / 0.5728 GB, free: 9.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003211/0.6599, allocations: 2.665 MB / 0.5754 GB, free: 6.512 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.436e-06/0.66, allocations: 3.953 kB / 0.5754 GB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001716/0.6617, allocations: 0.6896 MB / 0.5761 GB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.662, allocations: 115.4 kB / 0.5762 GB, free: 5.805 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.6621, allocations: 11.55 kB / 0.5762 GB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.6626, allocations: 20.05 kB / 0.5763 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001494/0.6627, allocations: 34.89 kB / 0.5763 GB, free: 5.746 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.006e-05/0.6628, allocations: 15.5 kB / 0.5763 GB, free: 5.734 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004106/0.6632, allocations: 236.9 kB / 0.5765 GB, free: 5.555 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6632, allocations: 0 / 0.5765 GB, free: 5.555 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008644/0.6641, allocations: 104 kB / 0.5766 GB, free: 5.453 MB / 378.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.0003144/0.6644, allocations: 124.6 kB / 0.5768 GB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001518/0.666, allocations: 0.5928 MB / 0.5773 GB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.666, allocations: 0 / 0.5773 GB, free: 4.797 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009599/0.667, allocations: 456.2 kB / 0.5778 GB, free: 4.379 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000781/0.6678, allocations: 84.62 kB / 0.5778 GB, free: 4.309 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/0.6699, allocations: 0.7552 MB / 0.5786 GB, free: 3.598 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006542/0.6706, allocations: 0.8797 MB / 0.5794 GB, free: 2.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002215/0.6709, allocations: 31.44 kB / 0.5795 GB, free: 2.676 MB / 378.7 MB Notification: Performance of SimCode: time 3.567e-06/0.6709, allocations: 4 kB / 0.5795 GB, free: 2.672 MB / 378.7 MB Notification: Performance of Templates: time 0.02118/0.6921, allocations: 8.887 MB / 0.5882 GB, free: 9.848 MB / 394.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)