Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_d,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 109.9 kB / 17.74 MB, free: 5.23 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 185.5 kB / 18.66 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.4/1.4, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1762/0.1762, allocations: 37.98 MB / 309.9 MB, free: 5.965 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001559/0.001559, allocations: 71.89 kB / 432.6 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1264, allocations: 55.24 MB / 487.8 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.008826/0.1353, allocations: 7.574 MB / 495.4 MB, free: 0.7383 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005571/0.1409, allocations: 4.203 MB / 499.6 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005909/0.1415, allocations: 19.94 kB / 499.6 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00265/0.1442, allocations: 1.027 MB / 0.4889 GB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002629/0.1469, allocations: 1.094 MB / 0.4899 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009065/0.1478, allocations: 307.2 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001898/0.1497, allocations: 1.367 MB / 0.4916 GB, free: 8.695 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008611/0.1506, allocations: 456 kB / 0.492 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.1517, allocations: 0.5717 MB / 0.4926 GB, free: 7.672 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.1528, allocations: 0.5761 MB / 0.4931 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001156/0.1529, allocations: 36 kB / 0.4932 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.1548, allocations: 0.9856 MB / 0.4941 GB, free: 6.07 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003845/0.1552, allocations: 279.2 kB / 0.4944 GB, free: 5.797 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000405/0.1556, allocations: 250.8 kB / 0.4946 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001676/0.1573, allocations: 0.8025 MB / 0.4954 GB, free: 4.746 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1573, allocations: 4 kB / 0.4954 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1573, allocations: 0 / 0.4954 GB, free: 4.742 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.066e-05/0.1573, allocations: 0 / 0.4954 GB, free: 4.742 MB / 382.1 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.001394/0.1587, allocations: 0.8038 MB / 0.4962 GB, free: 3.891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1588, allocations: 15.89 kB / 0.4962 GB, free: 3.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001603/0.1604, allocations: 128.3 kB / 0.4963 GB, free: 3.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005646/0.1609, allocations: 334.4 kB / 0.4967 GB, free: 3.387 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.796e-05/0.161, allocations: 33.36 kB / 0.4967 GB, free: 3.355 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.454e-05/0.1611, allocations: 44.3 kB / 0.4967 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.1619, allocations: 0.5869 MB / 0.4973 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.1619, allocations: 0 / 0.4973 GB, free: 2.66 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.912e-05/0.162, allocations: 23.97 kB / 0.4973 GB, free: 2.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-05/0.162, allocations: 28.64 kB / 0.4974 GB, free: 2.609 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000557/0.1626, allocations: 386.1 kB / 0.4977 GB, free: 2.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002469/0.1651, allocations: 2.595 MB / 0.5003 GB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.1657, allocations: 423.8 kB / 0.5007 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002741/0.166, allocations: 214.4 kB / 0.5009 GB, free: 14.85 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.62e-05/0.166, allocations: 4 kB / 0.5009 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.1661, allocations: 42.5 kB / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 1.943e-06/0.1661, allocations: 4 kB / 0.5009 GB, free: 14.79 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.00164/0.1677, allocations: 0.7688 MB / 0.5017 GB, free: 13.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.449e-05/0.1678, allocations: 110.8 kB / 0.5018 GB, free: 13.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003242/0.1681, allocations: 324.5 kB / 0.5021 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.1682, allocations: 29.7 kB / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001667/0.1683, allocations: 247.8 kB / 0.5023 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001025/0.1685, allocations: 122.2 kB / 0.5025 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.1686, allocations: 78.2 kB / 0.5025 GB, free: 13.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1687, allocations: 350.8 kB / 0.5029 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1689, allocations: 120.8 kB / 0.503 GB, free: 12.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003072/0.1692, allocations: 291.4 kB / 0.5033 GB, free: 12.22 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005313/0.1698, allocations: 456.2 kB / 0.5037 GB, free: 11.71 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.1698, allocations: 0 / 0.5037 GB, free: 11.71 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008394/0.1706, allocations: 0.5609 MB / 0.5043 GB, free: 11.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1706, allocations: 4 kB / 0.5043 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.1707, allocations: 8 kB / 0.5043 GB, free: 11.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003359/0.171, allocations: 125.2 kB / 0.5044 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002332/0.1713, allocations: 67.91 kB / 0.5044 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002616/0.1739, allocations: 2.575 MB / 0.507 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002411/0.1741, allocations: 43.47 kB / 0.507 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.687e-05/0.1742, allocations: 24.06 kB / 0.507 GB, free: 8.145 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002265/0.1744, allocations: 189.7 kB / 0.5072 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.21e-05/0.1745, allocations: 39.53 kB / 0.5072 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.975e-05/0.1746, allocations: 47.95 kB / 0.5073 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1746, allocations: 4 kB / 0.5073 GB, free: 7.859 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.1746, allocations: 4 kB / 0.5073 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1746, allocations: 7.922 kB / 0.5073 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001247/0.1759, allocations: 0.9377 MB / 0.5082 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.1759, allocations: 0 / 0.5082 GB, free: 6.844 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1761, allocations: 39.92 kB / 0.5083 GB, free: 6.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.1763, allocations: 108.8 kB / 0.5084 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.245e-05/0.1763, allocations: 4 kB / 0.5084 GB, free: 6.691 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.1788, allocations: 2.559 MB / 0.5109 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1788, allocations: 4.031 kB / 0.5109 GB, free: 3.973 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.1795, allocations: 0.6304 MB / 0.5115 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.1796, allocations: 116.6 kB / 0.5116 GB, free: 3.18 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.588e-05/0.1796, allocations: 11.94 kB / 0.5116 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.1798, allocations: 15.98 kB / 0.5116 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.1799, allocations: 19.91 kB / 0.5116 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1799, allocations: 12 kB / 0.5117 GB, free: 3.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002332/0.1802, allocations: 223 kB / 0.5119 GB, free: 2.906 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1802, allocations: 0 / 0.5119 GB, free: 2.906 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006549/0.1808, allocations: 163.8 kB / 0.512 GB, free: 2.746 MB / 398.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000133/0.181, allocations: 99.25 kB / 0.5121 GB, free: 2.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008675/0.1818, allocations: 0.5145 MB / 0.5126 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.1819, allocations: 0 / 0.5126 GB, free: 2.113 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.1823, allocations: 338.4 kB / 0.5129 GB, free: 1.77 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.1829, allocations: 65.69 kB / 0.513 GB, free: 1.707 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001436/0.1843, allocations: 0.8749 MB / 0.5139 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005129/0.1848, allocations: 0.8785 MB / 0.5147 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.901e-05/0.1849, allocations: 31.44 kB / 0.5147 GB, free: 15.85 MB / 414.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1849, allocations: 0 / 0.5147 GB, free: 15.85 MB / 414.1 MB Notification: Performance of Templates: time 0.009351/0.1943, allocations: 6.115 MB / 0.5207 GB, free: 9.723 MB / 414.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_d.pipe 2>&1)