Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001581/0.001585, allocations: 183.9 kB / 15.77 MB, free: 6.375 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001099, allocations: 86.86 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.277/0.277, allocations: 38.06 MB / 356.6 MB, free: 0.7812 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004787, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1241, allocations: 56.33 MB / 479 MB, free: 2.039 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01048/0.1347, allocations: 6.617 MB / 485.6 MB, free: 11.39 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008219/0.1429, allocations: 3.825 MB / 489.5 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007384/0.1437, allocations: 11.94 kB / 489.5 MB, free: 7.543 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005574/0.1443, allocations: 151.2 kB / 489.6 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002719/0.1471, allocations: 0.5451 MB / 490.2 MB, free: 6.848 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1483, allocations: 231.4 kB / 490.4 MB, free: 6.621 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.1497, allocations: 0.5536 MB / 491 MB, free: 6.066 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006693/0.1504, allocations: 328 kB / 491.3 MB, free: 5.727 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.1514, allocations: 350.6 kB / 491.6 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.1521, allocations: 287 kB / 491.9 MB, free: 5.102 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 7.775e-05/0.1522, allocations: 20 kB / 491.9 MB, free: 5.082 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001683/0.1539, allocations: 450.9 kB / 492.4 MB, free: 4.641 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004497/0.1543, allocations: 219.5 kB / 492.6 MB, free: 4.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002244/0.1546, allocations: 109.5 kB / 492.7 MB, free: 4.312 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.1562, allocations: 0.5807 MB / 493.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1562, allocations: 0 / 493.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1563, allocations: 0 / 493.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.528e-06/0.1563, allocations: 0 / 493.3 MB, free: 3.73 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001611/0.1579, allocations: 0.7258 MB / 494 MB, free: 2.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.158, allocations: 8.031 kB / 494 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00227/0.1602, allocations: 147.2 kB / 494.1 MB, free: 2.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007317/0.161, allocations: 321.2 kB / 494.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.538e-05/0.1611, allocations: 28.98 kB / 494.5 MB, free: 2.426 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.121e-05/0.1612, allocations: 39.98 kB / 494.5 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.1625, allocations: 0.5749 MB / 495.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/0.1626, allocations: 0 / 495.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.107e-05/0.1627, allocations: 19.98 kB / 495.1 MB, free: 1.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001143/0.1628, allocations: 44.58 kB / 495.2 MB, free: 1.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001001/0.1638, allocations: 382.1 kB / 495.5 MB, free: 1.301 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004053/0.1679, allocations: 2.603 MB / 498.1 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.1691, allocations: 435.8 kB / 498.6 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.43e-05/0.1691, allocations: 12 kB / 498.6 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.1692, allocations: 34.56 kB / 498.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 3.597e-06/0.1692, allocations: 0 / 498.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.003037/0.1722, allocations: 0.7579 MB / 499.4 MB, free: 13.28 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.56e-05/0.1724, allocations: 106.8 kB / 499.5 MB, free: 13.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006146/0.173, allocations: 316.5 kB / 499.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.756e-05/0.1731, allocations: 29.7 kB / 499.8 MB, free: 12.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00026/0.1734, allocations: 298.2 kB / 0.4884 GB, free: 12.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.1736, allocations: 118.5 kB / 0.4885 GB, free: 12.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.998e-05/0.1736, allocations: 12 kB / 0.4885 GB, free: 12.38 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001944/0.1738, allocations: 330.8 kB / 0.4888 GB, free: 12.04 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.1742, allocations: 124.8 kB / 0.4889 GB, free: 11.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005399/0.1748, allocations: 276 kB / 0.4892 GB, free: 11.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.1753, allocations: 185.2 kB / 0.4894 GB, free: 11.4 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/0.1753, allocations: 0 / 0.4894 GB, free: 11.4 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001529/0.1768, allocations: 0.5342 MB / 0.4899 GB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.1769, allocations: 8 kB / 0.4899 GB, free: 10.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.1769, allocations: 7.938 kB / 0.4899 GB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005618/0.1775, allocations: 121.3 kB / 0.49 GB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.178, allocations: 79.84 kB / 0.4901 GB, free: 10.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004119/0.1822, allocations: 2.38 MB / 0.4924 GB, free: 8.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004137/0.1826, allocations: 51.81 kB / 0.4925 GB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.373e-05/0.1827, allocations: 24.06 kB / 0.4925 GB, free: 8.043 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (41): * Single equations (assignments): 40 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00036/0.1831, allocations: 205.6 kB / 0.4927 GB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.1832, allocations: 35.62 kB / 0.4927 GB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.1833, allocations: 55.84 kB / 0.4928 GB, free: 7.742 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.1833, allocations: 4 kB / 0.4928 GB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.225e-05/0.1834, allocations: 4 kB / 0.4928 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.523e-06/0.1834, allocations: 0 / 0.4928 GB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002145/0.1855, allocations: 0.9299 MB / 0.4937 GB, free: 6.738 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.1856, allocations: 4 kB / 0.4937 GB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002796/0.1859, allocations: 35.92 kB / 0.4937 GB, free: 6.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/0.1863, allocations: 113 kB / 0.4938 GB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.1864, allocations: 8 kB / 0.4939 GB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00397/0.1904, allocations: 2.368 MB / 0.4962 GB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1904, allocations: 4.062 kB / 0.4962 GB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/0.1918, allocations: 0.6647 MB / 0.4968 GB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.192, allocations: 124.6 kB / 0.4969 GB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.1921, allocations: 7.953 kB / 0.4969 GB, free: 3.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.1924, allocations: 8 kB / 0.497 GB, free: 3.188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.784e-05/0.1925, allocations: 27.97 kB / 0.497 GB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.1925, allocations: 4 kB / 0.497 GB, free: 3.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003644/0.1929, allocations: 223 kB / 0.4972 GB, free: 2.938 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1929, allocations: 0 / 0.4972 GB, free: 2.938 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009977/0.1939, allocations: 155.8 kB / 0.4973 GB, free: 2.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (20): * Single equations (assignments): 18 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001925/0.1941, allocations: 99.19 kB / 0.4974 GB, free: 2.676 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001449/0.1956, allocations: 0.5222 MB / 0.4979 GB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.698e-06/0.1956, allocations: 1.188 kB / 0.4979 GB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007632/0.1964, allocations: 335 kB / 0.4983 GB, free: 1.801 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006166/0.197, allocations: 61.73 kB / 0.4983 GB, free: 1.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.1991, allocations: 1.027 MB / 0.4993 GB, free: 0.668 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007377/0.1999, allocations: 0.8902 MB / 0.5002 GB, free: 15.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001278/0.2001, allocations: 27.44 kB / 0.5002 GB, free: 15.73 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.2001, allocations: 0 / 0.5002 GB, free: 15.73 MB / 362.7 MB Notification: Performance of Templates: time 0.01369/0.2138, allocations: 5.913 MB / 0.506 GB, free: 9.797 MB / 362.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)