Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") translateModel(PowerSystems.Examples.Generic.Network.NetworkLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001077/0.001078, allocations: 188.6 kB / 8.353 MB, free: 0.707 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.515/1.515, allocations: 194.3 MB / 203.1 MB, free: 9.324 MB / 171.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001712/0.001712, allocations: 105.2 kB / 248.1 MB, free: 6.348 MB / 203.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1725/0.1725, allocations: 37.92 MB / 330.9 MB, free: 7.324 MB / 283.1 MB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.137e-05, allocations: 5.5 kB / 390.4 MB, free: 78.23 MB / 315.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08781/0.08784, allocations: 53.23 MB / 443.6 MB, free: 25.11 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.351/0.4389, allocations: 90.1 MB / 0.5212 GB, free: 10.89 MB / 347.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002368/0.4392, allocations: 86.55 kB / 0.5213 GB, free: 10.88 MB / 347.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1265/0.5657, allocations: 54.31 MB / 0.5743 GB, free: 2.211 MB / 379.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.5657, allocations: 0 / 0.5743 GB, free: 2.211 MB / 379.1 MB Notification: Performance of Transformations before backend: time 3.72e-05/0.5658, allocations: 16 kB / 0.5743 GB, free: 2.195 MB / 379.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.002391/0.5682, allocations: 0.9644 MB / 0.5752 GB, free: 1.184 MB / 379.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.5682, allocations: 12.03 kB / 0.5753 GB, free: 1.172 MB / 379.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003678/0.5719, allocations: 394.5 kB / 0.5756 GB, free: 0.7852 MB / 379.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.5731, allocations: 487.5 kB / 0.5761 GB, free: 276 kB / 379.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.5732, allocations: 20 kB / 0.5761 GB, free: 256 kB / 379.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002237/0.5734, allocations: 47.94 kB / 0.5762 GB, free: 208 kB / 379.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001804/0.5752, allocations: 0.8982 MB / 0.577 GB, free: 15.3 MB / 395.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/0.5772, allocations: 1.031 MB / 0.5781 GB, free: 14.25 MB / 395.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.012e-05/0.5772, allocations: 11.84 kB / 0.5781 GB, free: 14.23 MB / 395.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.57e-05/0.5773, allocations: 4 kB / 0.5781 GB, free: 14.23 MB / 395.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000321/0.5776, allocations: 97.91 kB / 0.5782 GB, free: 14.13 MB / 395.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005974/0.5836, allocations: 3.37 MB / 0.5814 GB, free: 10.72 MB / 395.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001642/0.5853, allocations: 0.9969 MB / 0.5824 GB, free: 9.707 MB / 395.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008266/0.5861, allocations: 0.601 MB / 0.583 GB, free: 9.098 MB / 395.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.5862, allocations: 24.53 kB / 0.583 GB, free: 9.074 MB / 395.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5863, allocations: 51.3 kB / 0.5831 GB, free: 9.016 MB / 395.1 MB Notification: Performance of pre-optimization done (n=91): time 3.387e-06/0.5863, allocations: 0 / 0.5831 GB, free: 9.016 MB / 395.1 MB Notification: Performance of matching and sorting (n=92): time 0.003586/0.5899, allocations: 1.88 MB / 0.5849 GB, free: 7.129 MB / 395.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.59, allocations: 89.89 kB / 0.585 GB, free: 7.02 MB / 395.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000372/0.5903, allocations: 290.3 kB / 0.5853 GB, free: 6.73 MB / 395.1 MB Notification: Performance of collectPreVariables (initialization): time 5.394e-05/0.5904, allocations: 29.64 kB / 0.5853 GB, free: 6.695 MB / 395.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.5906, allocations: 316.1 kB / 0.5856 GB, free: 6.379 MB / 395.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003075/0.5909, allocations: 303.5 kB / 0.5859 GB, free: 6.078 MB / 395.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.775e-05/0.591, allocations: 0 / 0.5859 GB, free: 6.078 MB / 395.1 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5912, allocations: 362.8 kB / 0.5862 GB, free: 5.715 MB / 395.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005745/0.5917, allocations: 422.4 kB / 0.5866 GB, free: 5.305 MB / 395.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006718/0.5924, allocations: 0.5152 MB / 0.5872 GB, free: 4.758 MB / 395.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007451/0.5932, allocations: 496.3 kB / 0.5876 GB, free: 4.273 MB / 395.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.5932, allocations: 0 / 0.5876 GB, free: 4.273 MB / 395.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002414/0.5956, allocations: 1.317 MB / 0.5889 GB, free: 2.945 MB / 395.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.5956, allocations: 11.94 kB / 0.5889 GB, free: 2.934 MB / 395.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.5957, allocations: 4.188 kB / 0.5889 GB, free: 2.93 MB / 395.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008907/0.5966, allocations: 319.9 kB / 0.5892 GB, free: 2.617 MB / 395.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007585/0.5973, allocations: 183.7 kB / 0.5894 GB, free: 2.438 MB / 395.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00548/0.6028, allocations: 3.759 MB / 0.5931 GB, free: 14.54 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.6036, allocations: 47.83 kB / 0.5931 GB, free: 14.49 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001251/0.6037, allocations: 31.98 kB / 0.5932 GB, free: 14.46 MB / 411.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 () * 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 (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 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.6039, allocations: 116.8 kB / 0.5933 GB, free: 14.34 MB / 411.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.6041, allocations: 55.34 kB / 0.5933 GB, free: 14.29 MB / 411.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002657/0.6067, allocations: 1.442 MB / 0.5947 GB, free: 12.84 MB / 411.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.6068, allocations: 11.98 kB / 0.5947 GB, free: 12.82 MB / 411.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.6068, allocations: 4 kB / 0.5947 GB, free: 12.82 MB / 411.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/0.6068, allocations: 7.984 kB / 0.5947 GB, free: 12.81 MB / 411.1 MB Warning: The model contains alias variables with conflicting start and/or 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.00519/0.612, allocations: 2.769 MB / 0.5975 GB, free: 9.949 MB / 411.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.201e-05/0.6121, allocations: 4 kB / 0.5975 GB, free: 9.945 MB / 411.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007287/0.6128, allocations: 171.8 kB / 0.5976 GB, free: 9.777 MB / 411.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008005/0.6136, allocations: 277.5 kB / 0.5979 GB, free: 9.504 MB / 411.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.98e-05/0.6137, allocations: 15.98 kB / 0.5979 GB, free: 9.488 MB / 411.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.6184, allocations: 3.472 MB / 0.6013 GB, free: 5.895 MB / 411.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.527e-06/0.6185, allocations: 7.938 kB / 0.6013 GB, free: 5.887 MB / 411.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.6211, allocations: 1.653 MB / 0.6029 GB, free: 4.078 MB / 411.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.6214, allocations: 140.4 kB / 0.603 GB, free: 3.922 MB / 411.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001202/0.6215, allocations: 7.984 kB / 0.6031 GB, free: 3.914 MB / 411.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005135/0.622, allocations: 32.05 kB / 0.6031 GB, free: 3.883 MB / 411.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.6222, allocations: 80.56 kB / 0.6032 GB, free: 3.805 MB / 411.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.087e-05/0.6222, allocations: 32 kB / 0.6032 GB, free: 3.773 MB / 411.1 MB Notification: Performance of sorting global known variables: time 0.0002682/0.6225, allocations: 232.6 kB / 0.6034 GB, free: 3.547 MB / 411.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6225, allocations: 0 / 0.6034 GB, free: 3.547 MB / 411.1 MB Notification: Performance of remove unused functions: time 0.001133/0.6237, allocations: 280 kB / 0.6037 GB, free: 3.273 MB / 411.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 () * 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 (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 {(2,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002408/0.6239, allocations: 115.5 kB / 0.6038 GB, free: 3.152 MB / 411.1 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.6259, allocations: 1.256 MB / 0.605 GB, free: 1.887 MB / 411.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6259, allocations: 0 / 0.605 GB, free: 1.887 MB / 411.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/0.6271, allocations: 0.786 MB / 0.6058 GB, free: 1.09 MB / 411.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005068/0.6276, allocations: 77.33 kB / 0.6059 GB, free: 1.016 MB / 411.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/0.6301, allocations: 1.411 MB / 0.6072 GB, free: 15.53 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000871/0.631, allocations: 1.089 MB / 0.6083 GB, free: 14.41 MB / 427.1 MB Notification: Performance of simCode: alias equations: time 0.0004703/0.6315, allocations: 184.6 kB / 0.6085 GB, free: 14.23 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002114/0.6317, allocations: 55.41 kB / 0.6085 GB, free: 14.18 MB / 427.1 MB Notification: Performance of SimCode: time 5.41e-07/0.6317, allocations: 7.938 kB / 0.6085 GB, free: 14.17 MB / 427.1 MB Notification: Performance of Templates: time 0.015/0.6467, allocations: 8.607 MB / 0.6169 GB, free: 5.594 MB / 427.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkLoop.pipe 2>&1)