Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Breaker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.AC1ph_DC.Elementary.Breaker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002633/0.002633, allocations: 361.8 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.772/3.772, allocations: 388.9 MB / 406.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003663/0.003663, allocations: 237.6 kB / 452.2 MB, free: 14.58 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7557/0.7557, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004518/0.000452, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08988/0.09036, allocations: 53.22 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5359, allocations: 93.63 MB / 0.7657 GB, free: 81.58 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5362, allocations: 91.52 kB / 0.7657 GB, free: 81.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04072/0.577, allocations: 10.07 MB / 0.7756 GB, free: 80.59 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.577, allocations: 0 / 0.7756 GB, free: 80.59 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.69e-05/0.5771, allocations: 7.656 kB / 0.7756 GB, free: 80.59 MB / 442.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.001812/0.5789, allocations: 0.7972 MB / 0.7764 GB, free: 80.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.579, allocations: 11.53 kB / 0.7764 GB, free: 80.04 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001516/0.5791, allocations: 50.34 kB / 0.7764 GB, free: 80.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.5806, allocations: 0.5622 MB / 0.777 GB, free: 79.75 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.52e-05/0.5807, allocations: 29.58 kB / 0.777 GB, free: 79.75 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5808, allocations: 38.19 kB / 0.777 GB, free: 79.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.5818, allocations: 480.6 kB / 0.7775 GB, free: 79.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.527e-05/0.5819, allocations: 5.734 kB / 0.7775 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.5819, allocations: 14.78 kB / 0.7775 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.582, allocations: 11.56 kB / 0.7775 GB, free: 79.63 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008797/0.5828, allocations: 354.5 kB / 0.7779 GB, free: 79.62 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.5859, allocations: 1.716 MB / 0.7795 GB, free: 78.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007919/0.5868, allocations: 315.5 kB / 0.7798 GB, free: 78.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007348/0.5875, allocations: 226.4 kB / 0.7801 GB, free: 78.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.5876, allocations: 11.84 kB / 0.7801 GB, free: 78.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005394/0.5881, allocations: 268 kB / 0.7803 GB, free: 78.46 MB / 442.7 MB Notification: Performance of pre-optimization done (n=35): time 2.845e-06/0.5881, allocations: 0 / 0.7803 GB, free: 78.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=36): time 0.003249/0.5914, allocations: 1.374 MB / 0.7817 GB, free: 77.68 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.5915, allocations: 140.9 kB / 0.7818 GB, free: 77.52 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000572/0.5921, allocations: 367.8 kB / 0.7821 GB, free: 77.36 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.852e-05/0.5922, allocations: 34.7 kB / 0.7822 GB, free: 77.32 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/0.5924, allocations: 260.5 kB / 0.7824 GB, free: 77.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001139/0.5925, allocations: 114.5 kB / 0.7825 GB, free: 77.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-05/0.5926, allocations: 10.75 kB / 0.7826 GB, free: 77.08 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.894e-05/0.5927, allocations: 348.3 kB / 0.7829 GB, free: 76.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/0.593, allocations: 131.4 kB / 0.783 GB, free: 76.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003886/0.5934, allocations: 262.2 kB / 0.7833 GB, free: 76.56 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.5938, allocations: 187.2 kB / 0.7834 GB, free: 76.51 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.848e-06/0.5938, allocations: 0 / 0.7834 GB, free: 76.51 MB / 442.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001253/0.5951, allocations: 0.5333 MB / 0.784 GB, free: 76.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.5951, allocations: 33.36 kB / 0.784 GB, free: 76.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5952, allocations: 5.25 kB / 0.784 GB, free: 76.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003604/0.5955, allocations: 78.77 kB / 0.7841 GB, free: 76.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004883/0.596, allocations: 69.5 kB / 0.7841 GB, free: 76.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002243/0.5983, allocations: 2.765 MB / 0.7868 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005805/0.5989, allocations: 29.67 kB / 0.7869 GB, free: 73.62 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-05/0.599, allocations: 22.36 kB / 0.7869 GB, free: 73.61 MB / 442.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.000405/0.5994, allocations: 244.8 kB / 0.7871 GB, free: 73.44 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.999e-05/0.5995, allocations: 42.5 kB / 0.7872 GB, free: 73.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.6007, allocations: 492.9 kB / 0.7876 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.6007, allocations: 7.828 kB / 0.7876 GB, free: 73.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.6007, allocations: 7.031 kB / 0.7876 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.6008, allocations: 3.984 kB / 0.7876 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/0.6029, allocations: 1.036 MB / 0.7887 GB, free: 72.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.6029, allocations: 3.844 kB / 0.7887 GB, free: 72.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003529/0.6033, allocations: 47.81 kB / 0.7887 GB, free: 72.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003559/0.6037, allocations: 71.38 kB / 0.7888 GB, free: 72.69 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/0.6037, allocations: 17.92 kB / 0.7888 GB, free: 72.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00223/0.606, allocations: 2.757 MB / 0.7915 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.606, allocations: 0 / 0.7915 GB, free: 70.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.6077, allocations: 0.7714 MB / 0.7922 GB, free: 69.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.6079, allocations: 111.3 kB / 0.7923 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.784e-05/0.608, allocations: 15.67 kB / 0.7924 GB, free: 69.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.6084, allocations: 22.31 kB / 0.7924 GB, free: 69.62 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001256/0.6086, allocations: 40.02 kB / 0.7924 GB, free: 69.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.813e-05/0.6086, allocations: 18.14 kB / 0.7924 GB, free: 69.6 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003836/0.609, allocations: 256.4 kB / 0.7927 GB, free: 69.49 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.609, allocations: 0 / 0.7927 GB, free: 69.49 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007232/0.6098, allocations: 122.8 kB / 0.7928 GB, free: 69.48 MB / 442.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.0002261/0.61, allocations: 124.5 kB / 0.7929 GB, free: 69.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001325/0.6113, allocations: 0.639 MB / 0.7935 GB, free: 69.03 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.6114, allocations: 4.719 kB / 0.7935 GB, free: 69.03 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000844/0.6122, allocations: 488.7 kB / 0.794 GB, free: 68.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.6131, allocations: 80.81 kB / 0.7941 GB, free: 68.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002139/0.6153, allocations: 1.208 MB / 0.7953 GB, free: 67.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.6157, allocations: 0.8808 MB / 0.7961 GB, free: 67.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.6161, allocations: 69.83 kB / 0.7962 GB, free: 67.11 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.6162, allocations: 33.09 kB / 0.7962 GB, free: 67.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6162, allocations: 0 / 0.7962 GB, free: 67.1 MB / 442.7 MB Notification: Performance of Templates: time 0.01375/0.63, allocations: 4.914 MB / 0.801 GB, free: 64.83 MB / 442.7 MB