Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.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.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") translateModel(PowerSystems.Examples.Generic.Test.AdmittanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00157/0.001575, allocations: 185 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.116/2.116, allocations: 205.2 MB / 218.9 MB, free: 9.207 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.001052/0.001052, allocations: 88.77 kB / 267.1 MB, free: 9.285 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.2605/0.2605, allocations: 37.98 MB / 353.1 MB, free: 3.062 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.505e-05/3.522e-05, allocations: 4 kB / 416.8 MB, free: 41.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 56.31 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4702/0.5745, allocations: 93.92 MB / 0.5538 GB, free: 9.844 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.5748, allocations: 83.95 kB / 0.5538 GB, free: 9.762 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05329/0.6281, allocations: 13.15 MB / 0.5667 GB, free: 12.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.586e-06/0.6282, allocations: 7.922 kB / 0.5667 GB, free: 12.45 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.191e-05/0.6282, allocations: 8 kB / 0.5667 GB, free: 12.44 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008465/0.6291, allocations: 474.2 kB / 0.5671 GB, free: 11.93 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6292, allocations: 8.031 kB / 0.5671 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001259/0.6304, allocations: 103.6 kB / 0.5672 GB, free: 11.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.631, allocations: 267.1 kB / 0.5675 GB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.631, allocations: 16 kB / 0.5675 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.6311, allocations: 16 kB / 0.5675 GB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007425/0.6318, allocations: 306.3 kB / 0.5678 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6319, allocations: 7.906 kB / 0.5678 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.542e-05/0.6319, allocations: 4 kB / 0.5678 GB, free: 11.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001296/0.6321, allocations: 27.98 kB / 0.5679 GB, free: 11.12 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007021/0.6328, allocations: 279.7 kB / 0.5681 GB, free: 10.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002524/0.6353, allocations: 1.281 MB / 0.5694 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005869/0.6359, allocations: 226.3 kB / 0.5696 GB, free: 9.207 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001346/0.6361, allocations: 49.77 kB / 0.5696 GB, free: 9.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.6361, allocations: 4 kB / 0.5696 GB, free: 9.148 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.6362, allocations: 34.56 kB / 0.5697 GB, free: 9.105 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.366e-06/0.6362, allocations: 0 / 0.5697 GB, free: 9.105 MB / 410.7 MB Notification: Performance of matching and sorting (n=14): time 0.0007611/0.637, allocations: 246.7 kB / 0.5699 GB, free: 8.859 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.295e-05/0.637, allocations: 81.11 kB / 0.57 GB, free: 8.762 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002558/0.6373, allocations: 177.5 kB / 0.5702 GB, free: 8.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.158e-05/0.6373, allocations: 25.7 kB / 0.5702 GB, free: 8.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.6375, allocations: 230.2 kB / 0.5704 GB, free: 8.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/0.6376, allocations: 43.3 kB / 0.5704 GB, free: 8.277 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.563e-05/0.6376, allocations: 12.03 kB / 0.5705 GB, free: 8.266 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.6378, allocations: 318.8 kB / 0.5708 GB, free: 7.945 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001291/0.6379, allocations: 43.98 kB / 0.5708 GB, free: 7.902 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002157/0.6381, allocations: 136.8 kB / 0.5709 GB, free: 7.723 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.6383, allocations: 72.44 kB / 0.571 GB, free: 7.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.6384, allocations: 3.953 kB / 0.571 GB, free: 7.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005008/0.6389, allocations: 217.6 kB / 0.5712 GB, free: 7.43 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.6389, allocations: 4 kB / 0.5712 GB, free: 7.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6389, allocations: 4 kB / 0.5712 GB, free: 7.422 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.639, allocations: 8 kB / 0.5712 GB, free: 7.414 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.6393, allocations: 39.92 kB / 0.5713 GB, free: 7.375 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.83e-05/0.6393, allocations: 11.98 kB / 0.5713 GB, free: 7.363 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.6395, allocations: 12.05 kB / 0.5713 GB, free: 7.352 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.6396, allocations: 16 kB / 0.5713 GB, free: 7.336 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.6397, allocations: 117.1 kB / 0.5714 GB, free: 7.215 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-05/0.6398, allocations: 23.8 kB / 0.5714 GB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.6402, allocations: 144.6 kB / 0.5716 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6402, allocations: 3.938 kB / 0.5716 GB, free: 7.039 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.6402, allocations: 4 kB / 0.5716 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6402, allocations: 0 / 0.5716 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/0.6415, allocations: 0.6615 MB / 0.5722 GB, free: 6.277 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/0.6416, allocations: 4 kB / 0.5722 GB, free: 6.273 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001921/0.6418, allocations: 31.92 kB / 0.5723 GB, free: 6.242 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.049e-05/0.6418, allocations: 4 kB / 0.5723 GB, free: 6.238 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.6418, allocations: 8 kB / 0.5723 GB, free: 6.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.127e-06/0.6418, allocations: 7.953 kB / 0.5723 GB, free: 6.223 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/0.6418, allocations: 7.938 kB / 0.5723 GB, free: 6.215 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005719/0.6424, allocations: 494 kB / 0.5728 GB, free: 5.59 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.273e-05/0.6425, allocations: 92.92 kB / 0.5729 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.6426, allocations: 11.98 kB / 0.5729 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001864/0.6428, allocations: 8 kB / 0.5729 GB, free: 5.461 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.49e-05/0.6429, allocations: 23.88 kB / 0.5729 GB, free: 5.438 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.076e-05/0.6429, allocations: 8 kB / 0.5729 GB, free: 5.43 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001795/0.6431, allocations: 144.2 kB / 0.573 GB, free: 5.289 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.395e-06/0.6431, allocations: 0 / 0.573 GB, free: 5.289 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004946/0.6436, allocations: 63.88 kB / 0.5731 GB, free: 5.227 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 0 * 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.0001909/0.6438, allocations: 103.2 kB / 0.5732 GB, free: 5.113 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003564/0.6442, allocations: 127.8 kB / 0.5733 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6442, allocations: 0 / 0.5733 GB, free: 4.988 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.6444, allocations: 73.22 kB / 0.5734 GB, free: 4.918 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.6448, allocations: 32.12 kB / 0.5734 GB, free: 4.887 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009196/0.6457, allocations: 400.2 kB / 0.5738 GB, free: 4.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.6462, allocations: 0.7677 MB / 0.5746 GB, free: 3.633 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.908e-05/0.6463, allocations: 19.44 kB / 0.5746 GB, free: 3.613 MB / 410.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6463, allocations: 0 / 0.5746 GB, free: 3.613 MB / 410.7 MB Notification: Performance of Templates: time 0.005823/0.6521, allocations: 2.225 MB / 0.5767 GB, free: 1.383 MB / 410.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.AdmittanceTest.pipe 2>&1)