Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001521/0.001521, allocations: 184.8 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 2.06/2.06, 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.001103/0.001103, allocations: 93.02 kB / 267.1 MB, free: 9.277 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.2642/0.2642, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.417e-05, allocations: 7.984 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1023, allocations: 56.31 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4671/0.5695, allocations: 102.1 MB / 0.5618 GB, free: 1.594 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5698, allocations: 91.95 kB / 0.5619 GB, free: 1.504 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06518/0.635, allocations: 13.71 MB / 0.5752 GB, free: 3.668 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6351, allocations: 0 / 0.5752 GB, free: 3.668 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.106e-05/0.6352, allocations: 15.98 kB / 0.5753 GB, free: 3.652 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.002194/0.6374, allocations: 0.711 MB / 0.576 GB, free: 2.891 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.6374, allocations: 16.03 kB / 0.576 GB, free: 2.875 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.6383, allocations: 87.3 kB / 0.576 GB, free: 2.789 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003897/0.6422, allocations: 0.9392 MB / 0.577 GB, free: 1.812 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.436e-05/0.6423, allocations: 29 kB / 0.577 GB, free: 1.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/0.6424, allocations: 47.91 kB / 0.577 GB, free: 1.738 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001538/0.644, allocations: 0.6719 MB / 0.5777 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.644, allocations: 4 kB / 0.5777 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.647e-05/0.6441, allocations: 16 kB / 0.5777 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-05/0.6442, allocations: 28.77 kB / 0.5777 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.6455, allocations: 0.4947 MB / 0.5782 GB, free: 468 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005989/0.6515, allocations: 3.029 MB / 0.5812 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009445/0.6525, allocations: 345.5 kB / 0.5815 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.653, allocations: 200.8 kB / 0.5817 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.434e-05/0.6531, allocations: 4 kB / 0.5817 GB, free: 12.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.6532, allocations: 38.5 kB / 0.5817 GB, free: 12.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=35): time 3.206e-06/0.6532, allocations: 0 / 0.5817 GB, free: 12.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=36): time 0.003013/0.6562, allocations: 1.154 MB / 0.5829 GB, free: 11.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.6563, allocations: 81.11 kB / 0.583 GB, free: 11.38 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.6569, allocations: 331.4 kB / 0.5833 GB, free: 11.04 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.146e-05/0.6569, allocations: 33.7 kB / 0.5833 GB, free: 11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.6572, allocations: 341.8 kB / 0.5836 GB, free: 10.67 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001614/0.6574, allocations: 134.1 kB / 0.5838 GB, free: 10.54 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.6574, allocations: 4 kB / 0.5838 GB, free: 10.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001558/0.6576, allocations: 342.8 kB / 0.5841 GB, free: 10.19 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005644/0.6582, allocations: 197 kB / 0.5843 GB, free: 9.996 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006812/0.6589, allocations: 374.9 kB / 0.5846 GB, free: 9.551 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00068/0.6596, allocations: 265 kB / 0.5849 GB, free: 9.293 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.273e-06/0.6596, allocations: 4 kB / 0.5849 GB, free: 9.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00373/0.6633, allocations: 0.8245 MB / 0.5857 GB, free: 8.453 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.69e-05/0.6634, allocations: 17.91 kB / 0.5857 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.6634, allocations: 8 kB / 0.5857 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003044/0.6665, allocations: 294 kB / 0.586 GB, free: 8.137 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001301/0.6678, allocations: 139.7 kB / 0.5861 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008127/0.6759, allocations: 3.798 MB / 0.5898 GB, free: 3.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.6767, allocations: 31.97 kB / 0.5899 GB, free: 3.898 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.6767, allocations: 19.98 kB / 0.5899 GB, free: 3.879 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * 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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.6769, allocations: 136.8 kB / 0.59 GB, free: 3.738 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.6771, allocations: 43.59 kB / 0.5901 GB, free: 3.695 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001501/0.6786, allocations: 0.5209 MB / 0.5906 GB, free: 3.168 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.452e-05/0.6786, allocations: 15.94 kB / 0.5906 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.6786, allocations: 0 / 0.5906 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.6787, allocations: 0 / 0.5906 GB, free: 3.152 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002542/0.6812, allocations: 1.101 MB / 0.5917 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.6812, allocations: 0 / 0.5917 GB, free: 1.988 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009323/0.6822, allocations: 91.88 kB / 0.5917 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/0.6822, allocations: 4 kB / 0.5917 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.371e-05/0.6823, allocations: 11.98 kB / 0.5918 GB, free: 1.883 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.6823, allocations: 4 kB / 0.5918 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6823, allocations: 0 / 0.5918 GB, free: 1.879 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.6842, allocations: 0.8556 MB / 0.5926 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001656/0.6844, allocations: 116.5 kB / 0.5927 GB, free: 0.8438 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.362e-05/0.6845, allocations: 12.06 kB / 0.5927 GB, free: 0.832 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/0.685, allocations: 27.97 kB / 0.5927 GB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.978e-05/0.6851, allocations: 27.92 kB / 0.5928 GB, free: 0.7773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-05/0.6851, allocations: 8 kB / 0.5928 GB, free: 0.7695 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004378/0.6856, allocations: 258.2 kB / 0.593 GB, free: 0.5195 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.314e-06/0.6856, allocations: 3.938 kB / 0.593 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008283/0.6864, allocations: 143.9 kB / 0.5932 GB, free: 384 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.0002617/0.6867, allocations: 131 kB / 0.5933 GB, free: 240 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002514/0.6892, allocations: 0.8219 MB / 0.5941 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.6892, allocations: 0 / 0.5941 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005631/0.6898, allocations: 231.5 kB / 0.5943 GB, free: 15.16 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006977/0.6905, allocations: 73.75 kB / 0.5944 GB, free: 15.09 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002871/0.6934, allocations: 1.108 MB / 0.5955 GB, free: 13.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007079/0.6941, allocations: 0.9171 MB / 0.5964 GB, free: 12.99 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002948/0.6945, allocations: 39.42 kB / 0.5964 GB, free: 12.95 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6945, allocations: 0 / 0.5964 GB, free: 12.95 MB / 442.7 MB Notification: Performance of Templates: time 0.01789/0.7124, allocations: 7.857 MB / 0.6041 GB, free: 5.09 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)