Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop_dq,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 115 kB / 16.63 MB, free: 6.812 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.001557/0.001557, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.401/1.401, allocations: 222.9 MB / 241.2 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.216/0.216, allocations: 38.03 MB / 329.4 MB, free: 8.988 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 66.58 kB / 398.3 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.1246, allocations: 58.06 MB / 456.3 MB, free: 8.434 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkLoop_dq): time 0.008197/0.1329, allocations: 7.611 MB / 463.9 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005826/0.1387, allocations: 4.428 MB / 468.4 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.1392, allocations: 19.88 kB / 468.4 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002385/0.1416, allocations: 0.9882 MB / 469.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002912/0.1445, allocations: 1.129 MB / 470.5 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008566/0.1454, allocations: 283.3 kB / 470.8 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00137/0.1468, allocations: 1.406 MB / 472.2 MB, free: 8.504 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009495/0.1477, allocations: 0.7469 MB / 472.9 MB, free: 7.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.1486, allocations: 0.6108 MB / 473.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00084/0.1494, allocations: 0.7438 MB / 474.3 MB, free: 6.391 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.909e-05/0.1495, allocations: 64 kB / 474.4 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002103/0.1516, allocations: 1.333 MB / 475.7 MB, free: 4.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.1521, allocations: 478.9 kB / 476.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004486/0.1526, allocations: 449.9 kB / 476.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001969/0.1545, allocations: 1.539 MB / 478.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.1546, allocations: 0 / 478.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1546, allocations: 0 / 478.1 MB, free: 2.539 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1546, allocations: 0 / 478.1 MB, free: 2.539 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 203 * Number of variables: 203 Notification: Performance of Generate backend data structure: time 0.001666/0.1563, allocations: 1.128 MB / 479.3 MB, free: 1.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1563, allocations: 19.83 kB / 479.3 MB, free: 1.344 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003119/0.1594, allocations: 391.4 kB / 479.7 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006788/0.1601, allocations: 470.7 kB / 480.1 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.1602, allocations: 58.3 kB / 480.2 MB, free: 408 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.1603, allocations: 72.36 kB / 480.3 MB, free: 336 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.1621, allocations: 1.176 MB / 481.4 MB, free: 15.13 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.82e-05/0.1621, allocations: 3.906 kB / 481.4 MB, free: 15.12 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.289e-05/0.1622, allocations: 39.91 kB / 481.5 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.742e-05/0.1623, allocations: 65.97 kB / 481.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001766/0.1641, allocations: 1.241 MB / 482.8 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005038/0.1691, allocations: 3.523 MB / 486.3 MB, free: 10.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.1708, allocations: 1.062 MB / 487.4 MB, free: 9.078 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/0.1716, allocations: 0.6528 MB / 488 MB, free: 8.422 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.301e-05/0.1717, allocations: 20.97 kB / 488 MB, free: 8.398 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.893e-05/0.1718, allocations: 43.56 kB / 488.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of pre-optimization done (n=91): time 2.565e-06/0.1718, allocations: 0 / 488.1 MB, free: 8.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=92): time 0.006592/0.1784, allocations: 3.087 MB / 491.2 MB, free: 5.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.203e-05/0.1785, allocations: 94.11 kB / 491.3 MB, free: 5.121 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003875/0.1789, allocations: 365.5 kB / 491.6 MB, free: 4.758 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.964e-05/0.179, allocations: 37.7 kB / 491.7 MB, free: 4.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.1791, allocations: 308.2 kB / 492 MB, free: 4.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002566/0.1794, allocations: 319.5 kB / 492.3 MB, free: 4.09 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002566/0.1797, allocations: 162.5 kB / 492.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001495/0.1798, allocations: 366.8 kB / 492.8 MB, free: 3.559 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006471/0.1805, allocations: 469.7 kB / 493.2 MB, free: 3.098 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007086/0.1812, allocations: 0.5695 MB / 493.8 MB, free: 2.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.1827, allocations: 1.113 MB / 494.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.1827, allocations: 0 / 494.9 MB, free: 1.359 MB / 366.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002405/0.1852, allocations: 1.473 MB / 496.4 MB, free: 15.88 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1852, allocations: 8 kB / 496.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/0.1852, allocations: 0 / 496.4 MB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/0.1862, allocations: 342.4 kB / 496.7 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007306/0.187, allocations: 179.7 kB / 496.9 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005519/0.1925, allocations: 4.19 MB / 0.4894 GB, free: 11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.1931, allocations: 51.94 kB / 0.4894 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.613e-05/0.1932, allocations: 31.98 kB / 0.4894 GB, free: 10.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (80): * Single equations (assignments): 79 * 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 {(2,26,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005025/0.1937, allocations: 294.4 kB / 0.4897 GB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.1938, allocations: 59.28 kB / 0.4898 GB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002678/0.1965, allocations: 1.567 MB / 0.4913 GB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.1965, allocations: 12 kB / 0.4913 GB, free: 8.977 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.1965, allocations: 7.938 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.23e-05/0.1966, allocations: 7.922 kB / 0.4913 GB, free: 8.961 MB / 382.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/0.2013, allocations: 3.032 MB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.2013, allocations: 4.438 kB / 0.4943 GB, free: 5.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006385/0.202, allocations: 171.8 kB / 0.4945 GB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000826/0.2028, allocations: 296.5 kB / 0.4947 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.637e-05/0.2029, allocations: 20 kB / 0.4948 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004957/0.2078, allocations: 3.905 MB / 0.4986 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/0.2079, allocations: 7.938 kB / 0.4986 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2292/0.4371, allocations: 1.59 MB / 0.5001 GB, free: 56.08 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/0.4374, allocations: 144.1 kB / 0.5003 GB, free: 55.98 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/0.4376, allocations: 23.44 kB / 0.5003 GB, free: 55.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004772/0.4381, allocations: 41.33 kB / 0.5003 GB, free: 55.98 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002034/0.4383, allocations: 83.12 kB / 0.5004 GB, free: 55.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.389e-05/0.4384, allocations: 41.77 kB / 0.5005 GB, free: 55.98 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002727/0.4387, allocations: 260.1 kB / 0.5007 GB, free: 55.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4387, allocations: 0.5938 kB / 0.5007 GB, free: 55.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001086/0.4398, allocations: 307 kB / 0.501 GB, free: 55.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (82): * Single equations (assignments): 80 * 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 {(2,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001804/0.44, allocations: 123.1 kB / 0.5011 GB, free: 55.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003058/0.443, allocations: 1.672 MB / 0.5027 GB, free: 55.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.4431, allocations: 1.219 kB / 0.5027 GB, free: 55.67 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001508/0.4446, allocations: 0.8395 MB / 0.5036 GB, free: 55.48 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007968/0.4454, allocations: 106.6 kB / 0.5037 GB, free: 55.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003281/0.4487, allocations: 2.154 MB / 0.5058 GB, free: 54.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007338/0.4494, allocations: 1.069 MB / 0.5068 GB, free: 53.51 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005171/0.45, allocations: 182.8 kB / 0.507 GB, free: 53.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002095/0.4502, allocations: 65.94 kB / 0.5071 GB, free: 53.49 MB / 382.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4502, allocations: 0 / 0.5071 GB, free: 53.49 MB / 382.1 MB Notification: Performance of Templates: time 0.01872/0.4689, allocations: 10.16 MB / 0.517 GB, free: 51.3 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop_dq.pipe 2>&1)