Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002338/0.002338, allocations: 180.1 kB / 8.008 MB, free: 1.066 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.185/2.185, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.001057/0.001057, allocations: 78.66 kB / 261.8 MB, free: 1.672 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.2572/0.2572, allocations: 37.99 MB / 347.7 MB, free: 5.762 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.03e-05/2.027e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4861/0.5907, allocations: 99.44 MB / 0.5524 GB, free: 9.605 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.5911, allocations: 74.91 kB / 0.5524 GB, free: 9.598 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05384/0.6449, allocations: 13.17 MB / 0.5653 GB, free: 0.832 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.645, allocations: 0 / 0.5653 GB, free: 0.832 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.645, allocations: 8 kB / 0.5653 GB, free: 0.8242 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001496/0.6465, allocations: 0.6737 MB / 0.566 GB, free: 136 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.6466, allocations: 16.03 kB / 0.566 GB, free: 120 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008199/0.6474, allocations: 94.22 kB / 0.5661 GB, free: 28 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003342/0.6508, allocations: 0.8471 MB / 0.5669 GB, free: 15.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.309e-05/0.6508, allocations: 16 kB / 0.5669 GB, free: 15.28 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001121/0.651, allocations: 20 kB / 0.5669 GB, free: 15.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001212/0.6522, allocations: 465.8 kB / 0.5674 GB, free: 14.95 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.6535, allocations: 0.604 MB / 0.568 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.442e-05/0.6535, allocations: 0 / 0.568 GB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.156e-05/0.6536, allocations: 4 kB / 0.568 GB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001876/0.6538, allocations: 43.75 kB / 0.568 GB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00604/0.6599, allocations: 2.411 MB / 0.5704 GB, free: 12.24 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007689/0.6607, allocations: 344.3 kB / 0.5707 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005235/0.6612, allocations: 271.2 kB / 0.5709 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.061e-05/0.6613, allocations: 11.89 kB / 0.571 GB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/0.6614, allocations: 38.53 kB / 0.571 GB, free: 11.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=47): time 4.899e-06/0.6614, allocations: 3.984 kB / 0.571 GB, free: 11.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=48): time 0.004798/0.6662, allocations: 1.576 MB / 0.5725 GB, free: 10.39 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.6663, allocations: 81.11 kB / 0.5726 GB, free: 10.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.6666, allocations: 232.2 kB / 0.5728 GB, free: 10.1 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.022e-05/0.6667, allocations: 25.7 kB / 0.5729 GB, free: 10.07 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.6669, allocations: 298.2 kB / 0.5731 GB, free: 9.812 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.6671, allocations: 167 kB / 0.5733 GB, free: 9.668 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.6672, allocations: 0 / 0.5733 GB, free: 9.668 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.6673, allocations: 330.1 kB / 0.5736 GB, free: 9.344 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.6678, allocations: 224.5 kB / 0.5738 GB, free: 9.191 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.6684, allocations: 362.3 kB / 0.5742 GB, free: 8.867 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00128/0.6697, allocations: 390.7 kB / 0.5745 GB, free: 8.578 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.6698, allocations: 3.938 kB / 0.5746 GB, free: 8.574 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002462/0.6722, allocations: 0.781 MB / 0.5753 GB, free: 7.938 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.338e-05/0.6723, allocations: 8 kB / 0.5753 GB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001948/0.6742, allocations: 0.6184 MB / 0.5759 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004736/0.6747, allocations: 75.52 kB / 0.576 GB, free: 7.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.6755, allocations: 95.44 kB / 0.5761 GB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/0.6776, allocations: 1.523 MB / 0.5776 GB, free: 5.785 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005453/0.6782, allocations: 23.95 kB / 0.5776 GB, free: 5.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.6783, allocations: 19.44 kB / 0.5776 GB, free: 5.746 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * Array equations: 3 * Algorithm blocks: 0 * 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: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001771/0.6785, allocations: 124.1 kB / 0.5777 GB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.227e-05/0.6786, allocations: 31.62 kB / 0.5778 GB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001985/0.6806, allocations: 0.6576 MB / 0.5784 GB, free: 5.086 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-05/0.6807, allocations: 19.98 kB / 0.5784 GB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.714e-06/0.6807, allocations: 4 kB / 0.5784 GB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.6807, allocations: 3.984 kB / 0.5784 GB, free: 5.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003599/0.6843, allocations: 1.233 MB / 0.5796 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.6844, allocations: 0 / 0.5796 GB, free: 4.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007761/0.6852, allocations: 87.44 kB / 0.5797 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.6852, allocations: 4.078 kB / 0.5797 GB, free: 3.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.443e-05/0.6852, allocations: 12.08 kB / 0.5797 GB, free: 3.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.535e-06/0.6853, allocations: 4 kB / 0.5797 GB, free: 3.914 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.6853, allocations: 3.984 kB / 0.5797 GB, free: 3.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002521/0.6878, allocations: 1.097 MB / 0.5808 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.688, allocations: 112 kB / 0.5809 GB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.672e-05/0.6881, allocations: 8 kB / 0.5809 GB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000425/0.6885, allocations: 28 kB / 0.581 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.464e-05/0.6886, allocations: 23.34 kB / 0.581 GB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.266e-05/0.6887, allocations: 8 kB / 0.581 GB, free: 2.824 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00026/0.6889, allocations: 181.5 kB / 0.5812 GB, free: 2.68 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6889, allocations: 0 / 0.5812 GB, free: 2.68 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008016/0.6898, allocations: 115.9 kB / 0.5813 GB, free: 2.566 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002882/0.6901, allocations: 142.6 kB / 0.5814 GB, free: 2.426 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001498/0.6916, allocations: 0.6567 MB / 0.5821 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.6916, allocations: 0 / 0.5821 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005589/0.6922, allocations: 263.4 kB / 0.5823 GB, free: 1.742 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005878/0.6928, allocations: 68 kB / 0.5824 GB, free: 1.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002397/0.6952, allocations: 0.9852 MB / 0.5833 GB, free: 0.7852 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000745/0.696, allocations: 0.8863 MB / 0.5842 GB, free: 15.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.6963, allocations: 43.23 kB / 0.5842 GB, free: 15.86 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6963, allocations: 3.938 kB / 0.5842 GB, free: 15.86 MB / 394.7 MB Notification: Performance of Templates: time 0.01596/0.7123, allocations: 6.335 MB / 0.5904 GB, free: 9.566 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)