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.00115/0.00115, allocations: 116.3 kB / 17.75 MB, free: 5.203 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.001045/0.001045, allocations: 188.4 kB / 18.67 MB, free: 4.285 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.514/1.514, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1691/0.1691, allocations: 37.97 MB / 309.9 MB, free: 5.953 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.001446/0.001446, allocations: 67.91 kB / 432.5 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1258, allocations: 55.24 MB / 487.8 MB, free: 8.32 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.009531/0.1353, allocations: 7.574 MB / 495.4 MB, free: 0.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00604/0.1414, allocations: 4.207 MB / 499.6 MB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006495/0.1421, allocations: 12 kB / 499.6 MB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00268/0.1448, allocations: 1.028 MB / 0.4889 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002837/0.1476, allocations: 1.102 MB / 0.49 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009764/0.1486, allocations: 303.2 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002176/0.1508, allocations: 1.371 MB / 0.4916 GB, free: 8.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008919/0.1517, allocations: 456 kB / 0.492 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001238/0.153, allocations: 0.564 MB / 0.4926 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.1541, allocations: 0.5838 MB / 0.4931 GB, free: 7.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001452/0.1543, allocations: 36 kB / 0.4932 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002137/0.1564, allocations: 0.9856 MB / 0.4941 GB, free: 6.035 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005835/0.157, allocations: 271.3 kB / 0.4944 GB, free: 5.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000598/0.1576, allocations: 254.8 kB / 0.4946 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00203/0.1597, allocations: 0.8063 MB / 0.4954 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.895e-05/0.1597, allocations: 8 kB / 0.4954 GB, free: 4.703 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1597, allocations: 0 / 0.4954 GB, free: 4.703 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.1597, allocations: 0 / 0.4954 GB, free: 4.703 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.001569/0.1613, allocations: 0.7999 MB / 0.4962 GB, free: 3.855 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.1614, allocations: 11.89 kB / 0.4962 GB, free: 3.844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.163, allocations: 128.3 kB / 0.4963 GB, free: 3.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007105/0.1638, allocations: 338.4 kB / 0.4967 GB, free: 3.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.049e-05/0.1638, allocations: 33.36 kB / 0.4967 GB, free: 3.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.1639, allocations: 36.36 kB / 0.4967 GB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009254/0.1648, allocations: 0.5869 MB / 0.4973 GB, free: 2.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.1649, allocations: 7.938 kB / 0.4973 GB, free: 2.625 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.1649, allocations: 19.98 kB / 0.4973 GB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.556e-05/0.165, allocations: 32.62 kB / 0.4974 GB, free: 2.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006112/0.1656, allocations: 386.1 kB / 0.4977 GB, free: 2.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002934/0.1686, allocations: 2.588 MB / 0.5003 GB, free: 15.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006916/0.1693, allocations: 431.7 kB / 0.5007 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002936/0.1696, allocations: 210.5 kB / 0.5009 GB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.335e-05/0.1696, allocations: 4 kB / 0.5009 GB, free: 14.81 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.1696, allocations: 34.56 kB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 3.296e-06/0.1697, allocations: 4 kB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001734/0.1714, allocations: 0.7766 MB / 0.5017 GB, free: 13.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.1715, allocations: 106.8 kB / 0.5018 GB, free: 13.83 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003564/0.1718, allocations: 328.5 kB / 0.5021 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/0.1719, allocations: 33.64 kB / 0.5021 GB, free: 13.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001723/0.1721, allocations: 247.8 kB / 0.5024 GB, free: 13.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1722, allocations: 118.3 kB / 0.5025 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.1723, allocations: 82.19 kB / 0.5025 GB, free: 13.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.1725, allocations: 342.8 kB / 0.5029 GB, free: 12.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002063/0.1727, allocations: 132.8 kB / 0.503 GB, free: 12.54 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.173, allocations: 271.5 kB / 0.5033 GB, free: 12.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.1736, allocations: 460.1 kB / 0.5037 GB, free: 11.69 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.904e-06/0.1736, allocations: 4 kB / 0.5037 GB, free: 11.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008718/0.1745, allocations: 0.557 MB / 0.5042 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.1745, allocations: 8 kB / 0.5043 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.1745, allocations: 4 kB / 0.5043 GB, free: 11.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003718/0.1749, allocations: 125.3 kB / 0.5044 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/0.1751, allocations: 71.84 kB / 0.5044 GB, free: 10.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.178, allocations: 2.559 MB / 0.5069 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002601/0.1783, allocations: 47.47 kB / 0.507 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.643e-05/0.1783, allocations: 20.06 kB / 0.507 GB, free: 8.133 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.000253/0.1786, allocations: 201.7 kB / 0.5072 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/0.1787, allocations: 39.52 kB / 0.5072 GB, free: 7.887 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.098e-05/0.1788, allocations: 47.95 kB / 0.5073 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.1788, allocations: 4 kB / 0.5073 GB, free: 7.836 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.1788, allocations: 4 kB / 0.5073 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1788, allocations: 7.938 kB / 0.5073 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001357/0.1802, allocations: 0.9416 MB / 0.5082 GB, free: 6.816 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.1802, allocations: 4 kB / 0.5082 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001439/0.1803, allocations: 31.98 kB / 0.5083 GB, free: 6.781 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.1806, allocations: 113.1 kB / 0.5084 GB, free: 6.668 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.1806, allocations: 8 kB / 0.5084 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002691/0.1833, allocations: 2.548 MB / 0.5109 GB, free: 3.957 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.1833, allocations: 3.938 kB / 0.5109 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.1841, allocations: 0.6382 MB / 0.5115 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.1843, allocations: 116.6 kB / 0.5116 GB, free: 3.152 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.435e-05/0.1843, allocations: 11.94 kB / 0.5116 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001895/0.1845, allocations: 4 kB / 0.5116 GB, free: 3.137 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.1846, allocations: 31.94 kB / 0.5116 GB, free: 3.105 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.1846, allocations: 8 kB / 0.5116 GB, free: 3.098 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002342/0.1848, allocations: 219.1 kB / 0.5119 GB, free: 2.887 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1848, allocations: 0 / 0.5119 GB, free: 2.887 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006874/0.1855, allocations: 163.8 kB / 0.512 GB, free: 2.727 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.0001345/0.1857, allocations: 103.2 kB / 0.5121 GB, free: 2.617 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009059/0.1866, allocations: 0.5146 MB / 0.5126 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.1866, allocations: 0 / 0.5126 GB, free: 2.09 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004615/0.1871, allocations: 342.4 kB / 0.5129 GB, free: 1.742 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.1876, allocations: 61.64 kB / 0.513 GB, free: 1.684 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001504/0.1891, allocations: 0.8823 MB / 0.5139 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.1897, allocations: 0.8785 MB / 0.5147 GB, free: 15.85 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.086e-05/0.1898, allocations: 31.44 kB / 0.5147 GB, free: 15.82 MB / 414.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1898, allocations: 0 / 0.5147 GB, free: 15.82 MB / 414.1 MB Notification: Performance of Templates: time 0.009507/0.1993, allocations: 6.158 MB / 0.5208 GB, free: 9.648 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)