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.00155/0.00155, allocations: 181.8 kB / 15.76 MB, free: 6.344 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 1.976/1.976, allocations: 205.4 MB / 221.9 MB, free: 13.68 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.001137/0.001136, allocations: 98.73 kB / 270.3 MB, free: 13.21 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2628/0.2628, allocations: 38.05 MB / 356.6 MB, free: 0.7656 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004657/0.0004657, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1126, allocations: 56.31 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4822/0.5948, allocations: 94.01 MB / 0.5596 GB, free: 6.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.5952, allocations: 91.52 kB / 0.5597 GB, free: 6.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04958/0.6448, allocations: 13.22 MB / 0.5726 GB, free: 11.07 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6449, allocations: 0 / 0.5726 GB, free: 11.07 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.527e-05/0.6449, allocations: 8 kB / 0.5726 GB, free: 11.06 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009524/0.6459, allocations: 0.4956 MB / 0.5731 GB, free: 10.53 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.6459, allocations: 8.031 kB / 0.5731 GB, free: 10.52 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001262/0.6472, allocations: 95.66 kB / 0.5732 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004785/0.6477, allocations: 274.9 kB / 0.5735 GB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.6477, allocations: 11.88 kB / 0.5735 GB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.384e-05/0.6478, allocations: 19.55 kB / 0.5735 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006922/0.6485, allocations: 313.6 kB / 0.5738 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.6485, allocations: 0 / 0.5738 GB, free: 9.863 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.037e-05/0.6486, allocations: 13.94 kB / 0.5738 GB, free: 9.855 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001252/0.6487, allocations: 19.97 kB / 0.5738 GB, free: 9.836 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007113/0.6494, allocations: 277.3 kB / 0.5741 GB, free: 9.645 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002408/0.6519, allocations: 1.3 MB / 0.5754 GB, free: 8.406 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005267/0.6524, allocations: 222.7 kB / 0.5756 GB, free: 8.184 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.271e-05/0.6525, allocations: 4.062 kB / 0.5756 GB, free: 8.18 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.6525, allocations: 34.5 kB / 0.5756 GB, free: 8.137 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.745e-06/0.6525, allocations: 4 kB / 0.5756 GB, free: 8.133 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008737/0.6534, allocations: 274.2 kB / 0.5759 GB, free: 7.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.576e-05/0.6535, allocations: 81.11 kB / 0.5759 GB, free: 7.812 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002423/0.6537, allocations: 179 kB / 0.5761 GB, free: 7.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.6538, allocations: 28.2 kB / 0.5761 GB, free: 7.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.6539, allocations: 221 kB / 0.5764 GB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.192e-05/0.654, allocations: 45.05 kB / 0.5764 GB, free: 7.375 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.32e-05/0.654, allocations: 6.75 kB / 0.5764 GB, free: 7.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.6542, allocations: 328.8 kB / 0.5767 GB, free: 7.047 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.6543, allocations: 42.41 kB / 0.5768 GB, free: 7.016 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.6545, allocations: 141.9 kB / 0.5769 GB, free: 6.852 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.6547, allocations: 73.72 kB / 0.577 GB, free: 6.801 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.6547, allocations: 4 kB / 0.577 GB, free: 6.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004828/0.6552, allocations: 210.2 kB / 0.5772 GB, free: 6.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6553, allocations: 4.438 kB / 0.5772 GB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.6553, allocations: 11.94 kB / 0.5772 GB, free: 6.609 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.6553, allocations: 4 kB / 0.5772 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.6556, allocations: 43.92 kB / 0.5772 GB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.6557, allocations: 4 kB / 0.5772 GB, free: 6.559 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.6558, allocations: 11.31 kB / 0.5772 GB, free: 6.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.552e-05/0.6559, allocations: 19.23 kB / 0.5773 GB, free: 6.535 MB / 378.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 () * Number of clocked 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.0001987/0.6561, allocations: 155.9 kB / 0.5774 GB, free: 6.391 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.573e-05/0.6561, allocations: 19.77 kB / 0.5774 GB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.6565, allocations: 148.6 kB / 0.5776 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6565, allocations: 4 kB / 0.5776 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6566, allocations: 0 / 0.5776 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.6566, allocations: 48 / 0.5776 GB, free: 6.254 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.6579, allocations: 0.662 MB / 0.5782 GB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/0.6579, allocations: 4 kB / 0.5782 GB, free: 5.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.6581, allocations: 31.92 kB / 0.5783 GB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.358e-06/0.6581, allocations: 4.438 kB / 0.5783 GB, free: 5.543 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.919e-05/0.6581, allocations: 11.25 kB / 0.5783 GB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.18e-05/0.6582, allocations: 12.02 kB / 0.5783 GB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/0.6582, allocations: 4 kB / 0.5783 GB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.6587, allocations: 0.4921 MB / 0.5788 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.831e-05/0.6588, allocations: 96.91 kB / 0.5789 GB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.237e-05/0.6589, allocations: 7.188 kB / 0.5789 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.6591, allocations: 4 kB / 0.5789 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.261e-05/0.6591, allocations: 22.5 kB / 0.5789 GB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.6592, allocations: 10.62 kB / 0.5789 GB, free: 4.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001671/0.6594, allocations: 145.8 kB / 0.579 GB, free: 4.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.434e-06/0.6594, allocations: 0 / 0.579 GB, free: 4.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004962/0.6599, allocations: 58.98 kB / 0.5791 GB, free: 4.605 MB / 378.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 () * Number of clocked 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.0001479/0.66, allocations: 101.8 kB / 0.5792 GB, free: 4.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003592/0.6604, allocations: 141.8 kB / 0.5793 GB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.6604, allocations: 0 / 0.5793 GB, free: 4.391 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001497/0.6606, allocations: 58.53 kB / 0.5794 GB, free: 4.344 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000426/0.661, allocations: 33.94 kB / 0.5794 GB, free: 4.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.6622, allocations: 0.6152 MB / 0.58 GB, free: 3.672 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.6626, allocations: 0.7654 MB / 0.5808 GB, free: 2.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.6627, allocations: 23.42 kB / 0.5808 GB, free: 2.863 MB / 378.7 MB Notification: Performance of SimCode: time 7.51e-07/0.6627, allocations: 0 / 0.5808 GB, free: 2.863 MB / 378.7 MB Notification: Performance of Templates: time 0.005782/0.6685, allocations: 2.235 MB / 0.583 GB, free: 0.6523 MB / 378.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)