Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") translateModel(PowerSystems.Examples.AC3ph.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001083/0.001083, allocations: 184 kB / 8.354 MB, free: 0.7305 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.341/1.341, allocations: 194.4 MB / 203.1 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.00155/0.00155, allocations: 112.4 kB / 248.1 MB, free: 36 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1575/0.1575, allocations: 37.93 MB / 330.9 MB, free: 2.656 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.185e-05/2.179e-05, allocations: 11.94 kB / 390.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 53.21 MB / 443.6 MB, free: 17.78 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3704/0.6327, allocations: 99.62 MB / 0.5305 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002829/0.633, allocations: 89.03 kB / 0.5306 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05399/0.687, allocations: 19.36 MB / 0.5495 GB, free: 33.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.754e-06/0.687, allocations: 0 / 0.5495 GB, free: 33.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.915e-05/0.6871, allocations: 20.44 kB / 0.5495 GB, free: 33.53 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: 199 * Number of variables: 199 Notification: Performance of Generate backend data structure: time 0.003079/0.6902, allocations: 1.055 MB / 0.5505 GB, free: 32.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.667e-05/0.6903, allocations: 8.719 kB / 0.5505 GB, free: 32.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.6917, allocations: 134.9 kB / 0.5507 GB, free: 32.83 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003072/0.6948, allocations: 1.024 MB / 0.5517 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.6948, allocations: 30.92 kB / 0.5517 GB, free: 32.51 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.695, allocations: 46.97 kB / 0.5517 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001399/0.6964, allocations: 0.7865 MB / 0.5525 GB, free: 32.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001383/0.6978, allocations: 0.9383 MB / 0.5534 GB, free: 32.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.631e-05/0.6979, allocations: 7.75 kB / 0.5534 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.891e-05/0.698, allocations: 7.531 kB / 0.5534 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.946e-05/0.698, allocations: 44.53 kB / 0.5535 GB, free: 32.27 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004679/0.7027, allocations: 3.999 MB / 0.5574 GB, free: 30.19 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008544/0.7036, allocations: 0.664 MB / 0.558 GB, free: 30.12 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004758/0.7041, allocations: 436.6 kB / 0.5584 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.001e-05/0.7041, allocations: 8.375 kB / 0.5585 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007397/0.7049, allocations: 0.6284 MB / 0.5591 GB, free: 29.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=96): time 3.146e-06/0.7049, allocations: 0 / 0.5591 GB, free: 29.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=97): time 0.003254/0.7082, allocations: 2.105 MB / 0.5611 GB, free: 29.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.103e-05/0.7082, allocations: 151.9 kB / 0.5613 GB, free: 29.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004258/0.7087, allocations: 390 kB / 0.5616 GB, free: 29.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.874e-05/0.7087, allocations: 29.58 kB / 0.5617 GB, free: 29.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.7089, allocations: 374.8 kB / 0.562 GB, free: 28.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001857/0.7091, allocations: 287.6 kB / 0.5623 GB, free: 28.76 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.547e-05/0.7092, allocations: 0 / 0.5623 GB, free: 28.76 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.7093, allocations: 382.5 kB / 0.5627 GB, free: 28.45 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000452/0.7097, allocations: 371.1 kB / 0.563 GB, free: 28.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005335/0.7103, allocations: 0.5863 MB / 0.5636 GB, free: 28.21 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006216/0.7109, allocations: 461.8 kB / 0.564 GB, free: 28.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.461e-06/0.7109, allocations: 3.938 kB / 0.564 GB, free: 28.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002431/0.7134, allocations: 1.401 MB / 0.5654 GB, free: 28.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/0.7134, allocations: 33.52 kB / 0.5654 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001962/0.7154, allocations: 1.129 MB / 0.5665 GB, free: 27.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001247/0.7166, allocations: 428.1 kB / 0.5669 GB, free: 27.87 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/0.7171, allocations: 141.3 kB / 0.5671 GB, free: 27.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005601/0.7228, allocations: 4.491 MB / 0.5715 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006212/0.7234, allocations: 51.56 kB / 0.5715 GB, free: 26.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.8e-05/0.7235, allocations: 37.41 kB / 0.5715 GB, free: 26.43 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 46 (system.initime,$whenCondition1,$PRE.relay.cnt,relay.cnt,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.breaker.breaker_a.arc,breaker.breaker_a.arc,$PRE.breaker.breaker_a.open,breaker.breaker_a.open,breaker.breaker_a.closed,$PRE.breaker.breaker_a.t0,breaker.breaker_a.t0,breaker.breaker_a.opening,$PRE.breaker.breaker_b.arc,breaker.breaker_b.arc,$PRE.breaker.breaker_b.open,breaker.breaker_b.open,breaker.breaker_b.closed,$PRE.breaker.breaker_b.t0,breaker.breaker_b.t0,breaker.breaker_b.opening,$PRE.breaker.breaker_c.arc,breaker.breaker_c.arc,$PRE.breaker.breaker_c.open,breaker.breaker_c.open,breaker.breaker_c.closed,$PRE.breaker.breaker_c.t0,breaker.breaker_c.t0,breaker.breaker_c.opening,$PRE.relay.y[1],relay.y[1],$PRE.relay.y[2],relay.y[2],$PRE.relay.y[3],relay.y[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (103): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 21} Notification: Performance of prepare postOptimizeDAE: time 0.000245/0.7237, allocations: 189.7 kB / 0.5717 GB, free: 26.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.7239, allocations: 70.22 kB / 0.5718 GB, free: 26.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00157/0.7255, allocations: 1.057 MB / 0.5728 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.403e-05/0.7255, allocations: 23.38 kB / 0.5729 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.7255, allocations: 0 / 0.5729 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.7255, allocations: 3.797 kB / 0.5729 GB, free: 26.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002772/0.7283, allocations: 2.013 MB / 0.5748 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.7283, allocations: 0 / 0.5748 GB, free: 25.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006291/0.729, allocations: 135.6 kB / 0.5749 GB, free: 25.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/0.7291, allocations: 89.47 kB / 0.575 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.153e-05/0.7292, allocations: 11.08 kB / 0.575 GB, free: 25.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001686/0.7309, allocations: 3.76 MB / 0.5787 GB, free: 22.1 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.7309, allocations: 0 / 0.5787 GB, free: 22.1 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002119/0.733, allocations: 1.738 MB / 0.5804 GB, free: 21.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/0.7332, allocations: 143.2 kB / 0.5806 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.7333, allocations: 18.42 kB / 0.5806 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004913/0.7338, allocations: 48.41 kB / 0.5806 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001811/0.734, allocations: 88.69 kB / 0.5807 GB, free: 21.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.231e-05/0.7341, allocations: 26.34 kB / 0.5807 GB, free: 21.63 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002889/0.7344, allocations: 293.3 kB / 0.581 GB, free: 21.54 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7344, allocations: 0 / 0.581 GB, free: 21.54 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009787/0.7354, allocations: 241.3 kB / 0.5812 GB, free: 21.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (ind.i[1],ind.i[2],ind.i[3]) * Number of discrete variables: 33 (breaker.breaker_c.closed,breaker.breaker_b.closed,breaker.breaker_a.closed,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,breaker.breaker_a.arc,breaker.breaker_a.open,breaker.breaker_a.t0,breaker.breaker_a.opening,breaker.breaker_b.arc,breaker.breaker_b.open,breaker.breaker_b.t0,breaker.breaker_b.opening,breaker.breaker_c.arc,breaker.breaker_c.open,breaker.breaker_c.t0,breaker.breaker_c.opening,relay.y[1],relay.y[2],relay.y[3],relay.cnt,system.initime) * Number of discrete states: 11 (breaker.breaker_a.arc,breaker.breaker_b.arc,breaker.breaker_c.arc,relay.y[3],relay.y[2],relay.y[1],relay.cnt,$whenCondition1,breaker.breaker_c.open,breaker.breaker_a.open,breaker.breaker_b.open) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 72 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(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.000347/0.7357, allocations: 172.7 kB / 0.5814 GB, free: 21.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00182/0.7375, allocations: 1.28 MB / 0.5826 GB, free: 21.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.7376, allocations: 0 / 0.5826 GB, free: 21.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008343/0.7384, allocations: 0.9235 MB / 0.5836 GB, free: 20.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005636/0.739, allocations: 88.23 kB / 0.5836 GB, free: 20.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.7414, allocations: 1.41 MB / 0.585 GB, free: 20.32 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.7419, allocations: 1.053 MB / 0.586 GB, free: 19.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005507/0.7425, allocations: 181.4 kB / 0.5862 GB, free: 19.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001944/0.7427, allocations: 65.97 kB / 0.5863 GB, free: 19.58 MB / 378.7 MB Notification: Performance of SimCode: time 2.9e-07/0.7427, allocations: 0 / 0.5863 GB, free: 19.58 MB / 378.7 MB Notification: Performance of Templates: time 0.01629/0.759, allocations: 10.66 MB / 0.5967 GB, free: 14.48 MB / 378.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Breaker.pipe 2>&1)