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.00132/0.00132, allocations: 116.1 kB / 17.03 MB, free: 6.027 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.001481/0.00148, allocations: 195 kB / 17.98 MB, free: 5.109 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.513/1.513, allocations: 205.1 MB / 223.8 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1801/0.1801, allocations: 37.98 MB / 309.2 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.001503/0.001503, allocations: 71.91 kB / 431.8 MB, free: 15.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1404/0.1419, allocations: 55.24 MB / 487.1 MB, free: 8.352 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_d): time 0.01063/0.1526, allocations: 7.559 MB / 494.6 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006342/0.159, allocations: 4.215 MB / 498.8 MB, free: 12.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006196/0.1597, allocations: 16 kB / 498.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002634/0.1625, allocations: 1.028 MB / 499.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003328/0.1658, allocations: 1.098 MB / 0.4892 GB, free: 10.37 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.167, allocations: 307.2 kB / 0.4895 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00225/0.1693, allocations: 1.36 MB / 0.4909 GB, free: 8.707 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009812/0.1703, allocations: 456 kB / 0.4913 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.1716, allocations: 0.5601 MB / 0.4918 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008395/0.1725, allocations: 0.5916 MB / 0.4924 GB, free: 7.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.081e-05/0.1726, allocations: 32 kB / 0.4925 GB, free: 7.07 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002012/0.1746, allocations: 0.9895 MB / 0.4934 GB, free: 6.078 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003461/0.1749, allocations: 267.3 kB / 0.4937 GB, free: 5.816 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002861/0.1752, allocations: 250.9 kB / 0.4939 GB, free: 5.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.1765, allocations: 0.8102 MB / 0.4947 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.1765, allocations: 0 / 0.4947 GB, free: 4.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1765, allocations: 0 / 0.4947 GB, free: 4.758 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.1766, allocations: 0 / 0.4947 GB, free: 4.758 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.00116/0.1777, allocations: 0.8 MB / 0.4955 GB, free: 3.91 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.1778, allocations: 15.83 kB / 0.4955 GB, free: 3.895 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001528/0.1793, allocations: 136.2 kB / 0.4956 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.1799, allocations: 334.4 kB / 0.496 GB, free: 3.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.558e-05/0.1799, allocations: 33.36 kB / 0.496 GB, free: 3.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.942e-05/0.18, allocations: 40.36 kB / 0.496 GB, free: 3.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008479/0.1808, allocations: 0.583 MB / 0.4966 GB, free: 2.68 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.1809, allocations: 7.875 kB / 0.4966 GB, free: 2.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.835e-05/0.1809, allocations: 23.97 kB / 0.4966 GB, free: 2.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.648e-05/0.181, allocations: 32.64 kB / 0.4967 GB, free: 2.617 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005601/0.1816, allocations: 382.1 kB / 0.497 GB, free: 2.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002714/0.1843, allocations: 2.588 MB / 0.4995 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006657/0.185, allocations: 435.6 kB / 0.5 GB, free: 15.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000282/0.1853, allocations: 210.5 kB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.1853, allocations: 4 kB / 0.5002 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.1853, allocations: 42.56 kB / 0.5002 GB, free: 14.8 MB / 398.1 MB Notification: Performance of pre-optimization done (n=33): time 3.316e-06/0.1853, allocations: 3.984 kB / 0.5002 GB, free: 14.8 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.001786/0.1871, allocations: 0.7726 MB / 0.501 GB, free: 14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.572e-05/0.1872, allocations: 114.7 kB / 0.5011 GB, free: 13.86 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00036/0.1876, allocations: 324.5 kB / 0.5014 GB, free: 13.54 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1876, allocations: 33.7 kB / 0.5014 GB, free: 13.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.1878, allocations: 243.8 kB / 0.5016 GB, free: 13.25 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/0.1879, allocations: 118.4 kB / 0.5018 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.1881, allocations: 82.14 kB / 0.5018 GB, free: 13.05 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001573/0.1882, allocations: 346.8 kB / 0.5022 GB, free: 12.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002222/0.1885, allocations: 124.8 kB / 0.5023 GB, free: 12.58 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003112/0.1888, allocations: 279.5 kB / 0.5026 GB, free: 12.24 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.1893, allocations: 456.1 kB / 0.503 GB, free: 11.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1893, allocations: 0 / 0.503 GB, free: 11.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0008216/0.1901, allocations: 0.5648 MB / 0.5035 GB, free: 11.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.1902, allocations: 11.91 kB / 0.5036 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.1902, allocations: 4 kB / 0.5036 GB, free: 11.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003806/0.1906, allocations: 121.3 kB / 0.5037 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.1909, allocations: 75.84 kB / 0.5037 GB, free: 10.94 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00294/0.1938, allocations: 2.555 MB / 0.5062 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002552/0.1941, allocations: 51.47 kB / 0.5063 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.763e-05/0.1941, allocations: 20 kB / 0.5063 GB, free: 8.164 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.0002747/0.1944, allocations: 193.7 kB / 0.5065 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.989e-05/0.1945, allocations: 39.53 kB / 0.5065 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1946, allocations: 47.95 kB / 0.5066 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.1946, allocations: 4 kB / 0.5066 GB, free: 7.875 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.752e-05/0.1947, allocations: 4 kB / 0.5066 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.796e-06/0.1947, allocations: 7.922 kB / 0.5066 GB, free: 7.863 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001321/0.196, allocations: 0.9456 MB / 0.5075 GB, free: 6.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.196, allocations: 3.938 kB / 0.5075 GB, free: 6.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001323/0.1961, allocations: 35.98 kB / 0.5076 GB, free: 6.812 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002465/0.1964, allocations: 109.1 kB / 0.5077 GB, free: 6.703 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.092e-05/0.1964, allocations: 8 kB / 0.5077 GB, free: 6.695 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002487/0.1989, allocations: 2.555 MB / 0.5102 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.1989, allocations: 8.047 kB / 0.5102 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007316/0.1997, allocations: 0.6264 MB / 0.5108 GB, free: 3.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.1998, allocations: 120.6 kB / 0.5109 GB, free: 3.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.1999, allocations: 7.938 kB / 0.5109 GB, free: 3.176 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/0.2, allocations: 8 kB / 0.5109 GB, free: 3.168 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.463e-05/0.2001, allocations: 23.97 kB / 0.5109 GB, free: 3.145 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.2001, allocations: 12 kB / 0.5109 GB, free: 3.133 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002275/0.2004, allocations: 219 kB / 0.5112 GB, free: 2.922 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2004, allocations: 4 kB / 0.5112 GB, free: 2.918 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007322/0.2011, allocations: 159.8 kB / 0.5113 GB, free: 2.762 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.000134/0.2012, allocations: 103.2 kB / 0.5114 GB, free: 2.652 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009288/0.2022, allocations: 0.5184 MB / 0.5119 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.2022, allocations: 0 / 0.5119 GB, free: 2.121 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004418/0.2026, allocations: 334.4 kB / 0.5122 GB, free: 1.781 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005694/0.2032, allocations: 62.34 kB / 0.5123 GB, free: 1.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001372/0.2046, allocations: 0.8215 MB / 0.5131 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005297/0.2052, allocations: 0.8824 MB / 0.514 GB, free: 15.95 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001637/0.2053, allocations: 62.91 kB / 0.514 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.206e-05/0.2054, allocations: 27.44 kB / 0.514 GB, free: 15.86 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2054, allocations: 3.938 kB / 0.514 GB, free: 15.86 MB / 414.1 MB Notification: Performance of Templates: time 0.008765/0.2142, allocations: 3.741 MB / 0.5177 GB, free: 12.11 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)