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.001306/0.001306, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.717/1.717, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008039/0.000804, allocations: 94.34 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1692/0.1692, allocations: 38.07 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003735/0.0003734, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1125, allocations: 56.33 MB / 479.1 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.007258/0.1198, allocations: 6.892 MB / 486 MB, free: 11.12 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.00564/0.1255, allocations: 3.945 MB / 489.9 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007798/0.1263, allocations: 15.94 kB / 489.9 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.127, allocations: 139 kB / 490.1 MB, free: 7.012 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002725/0.1298, allocations: 0.8015 MB / 490.9 MB, free: 6.207 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008914/0.1307, allocations: 207.4 kB / 491.1 MB, free: 6.004 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002345/0.133, allocations: 1.89 MB / 492.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006377/0.1337, allocations: 324 kB / 493.3 MB, free: 3.773 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.1348, allocations: 473.7 kB / 493.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001107/0.136, allocations: 0.5644 MB / 494.3 MB, free: 2.742 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001193/0.1361, allocations: 20 kB / 494.3 MB, free: 2.723 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001423/0.1375, allocations: 474.3 kB / 494.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004511/0.138, allocations: 251.3 kB / 495 MB, free: 2.012 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.1382, allocations: 113.5 kB / 495.1 MB, free: 1.895 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001105/0.1393, allocations: 0.5807 MB / 495.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1394, allocations: 0 / 495.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.1394, allocations: 0 / 495.7 MB, free: 1.312 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.1394, allocations: 0 / 495.7 MB, free: 1.312 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.001373/0.1408, allocations: 0.718 MB / 496.4 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.1408, allocations: 8.031 kB / 496.4 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/0.1424, allocations: 139.3 kB / 496.6 MB, free: 412 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.143, allocations: 321.2 kB / 496.9 MB, free: 52 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.846e-05/0.143, allocations: 36.92 kB / 496.9 MB, free: 16 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.03e-05/0.1431, allocations: 32.05 kB / 497 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009322/0.144, allocations: 0.5826 MB / 497.5 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.1441, allocations: 4 kB / 497.5 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.243e-05/0.1441, allocations: 19.98 kB / 497.6 MB, free: 15.31 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-05/0.1442, allocations: 44.52 kB / 497.6 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006245/0.1448, allocations: 378.2 kB / 498 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00271/0.1475, allocations: 2.607 MB / 0.4888 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006678/0.1482, allocations: 435.7 kB / 0.4893 GB, free: 11.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002759/0.1485, allocations: 206.5 kB / 0.4895 GB, free: 11.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1485, allocations: 4.531 kB / 0.4895 GB, free: 11.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.1486, allocations: 50.5 kB / 0.4895 GB, free: 11.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/0.1486, allocations: 0 / 0.4895 GB, free: 11.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=33): time 0.001707/0.1503, allocations: 0.7494 MB / 0.4902 GB, free: 10.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.1504, allocations: 106.8 kB / 0.4903 GB, free: 10.53 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/0.1507, allocations: 320.5 kB / 0.4907 GB, free: 10.2 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.1508, allocations: 29.7 kB / 0.4907 GB, free: 10.17 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.151, allocations: 256 kB / 0.4909 GB, free: 9.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001011/0.1511, allocations: 110.4 kB / 0.491 GB, free: 9.805 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.758e-05/0.1511, allocations: 8 kB / 0.491 GB, free: 9.797 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1512, allocations: 346.8 kB / 0.4914 GB, free: 9.449 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.1514, allocations: 128.8 kB / 0.4915 GB, free: 9.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003287/0.1518, allocations: 276 kB / 0.4918 GB, free: 8.984 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002896/0.1521, allocations: 185.2 kB / 0.4919 GB, free: 8.805 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.1521, allocations: 4 kB / 0.4919 GB, free: 8.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000895/0.153, allocations: 0.5535 MB / 0.4925 GB, free: 8.238 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/0.153, allocations: 8 kB / 0.4925 GB, free: 8.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.153, allocations: 4 kB / 0.4925 GB, free: 8.227 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/0.1534, allocations: 125.3 kB / 0.4926 GB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.1537, allocations: 75.84 kB / 0.4927 GB, free: 8.027 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002808/0.1565, allocations: 2.337 MB / 0.495 GB, free: 5.539 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002713/0.1568, allocations: 47.59 kB / 0.495 GB, free: 5.492 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.1568, allocations: 20 kB / 0.495 GB, free: 5.473 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.0002502/0.1571, allocations: 209.6 kB / 0.4952 GB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.945e-05/0.1572, allocations: 43.48 kB / 0.4953 GB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.429e-05/0.1573, allocations: 56.03 kB / 0.4953 GB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.1573, allocations: 7.938 kB / 0.4953 GB, free: 5.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.1573, allocations: 4 kB / 0.4953 GB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1573, allocations: 0 / 0.4953 GB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.1587, allocations: 0.9261 MB / 0.4962 GB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.1587, allocations: 4 kB / 0.4962 GB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.1588, allocations: 35.91 kB / 0.4963 GB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002584/0.1591, allocations: 116.5 kB / 0.4964 GB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.627e-05/0.1591, allocations: 8 kB / 0.4964 GB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002551/0.1617, allocations: 2.333 MB / 0.4987 GB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1617, allocations: 4.031 kB / 0.4987 GB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007333/0.1625, allocations: 0.6153 MB / 0.4993 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001126/0.1626, allocations: 120.6 kB / 0.4994 GB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.081e-05/0.1626, allocations: 4 kB / 0.4994 GB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1628, allocations: 11.98 kB / 0.4994 GB, free: 0.7188 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.545e-05/0.1629, allocations: 27.91 kB / 0.4994 GB, free: 0.6914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.1629, allocations: 8 kB / 0.4994 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002187/0.1631, allocations: 227 kB / 0.4997 GB, free: 472 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1631, allocations: 0 / 0.4997 GB, free: 472 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006832/0.1638, allocations: 159.8 kB / 0.4998 GB, free: 312 kB / 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.0001201/0.1639, allocations: 99.19 kB / 0.4999 GB, free: 200 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000817/0.1648, allocations: 0.523 MB / 0.5004 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.1648, allocations: 0 / 0.5004 GB, free: 15.66 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.1652, allocations: 331.3 kB / 0.5007 GB, free: 15.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005633/0.1658, allocations: 65.92 kB / 0.5008 GB, free: 15.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.1672, allocations: 1.011 MB / 0.5018 GB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005299/0.1678, allocations: 0.8824 MB / 0.5026 GB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.1678, allocations: 23.44 kB / 0.5027 GB, free: 13.27 MB / 362.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1679, allocations: 0 / 0.5027 GB, free: 13.27 MB / 362.7 MB Notification: Performance of Templates: time 0.009146/0.177, allocations: 6.072 MB / 0.5086 GB, free: 7.18 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)