Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.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.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00103/0.00103, allocations: 109.4 kB / 16.92 MB, free: 6.145 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.001096/0.001096, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.389/1.389, allocations: 222.9 MB / 241.5 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1818/0.1818, allocations: 38.03 MB / 329.7 MB, free: 8.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 64.42 kB / 398.8 MB, free: 34.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.111, allocations: 58.06 MB / 456.9 MB, free: 8.047 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009186/0.1202, allocations: 7.677 MB / 464.5 MB, free: 344 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006796/0.1271, allocations: 4.747 MB / 469.3 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008861/0.128, allocations: 15.94 kB / 469.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003042/0.1311, allocations: 1.084 MB / 470.4 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.1354, allocations: 1.253 MB / 471.6 MB, free: 9.211 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001479/0.1369, allocations: 370.9 kB / 472 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002226/0.1391, allocations: 1.469 MB / 473.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.1402, allocations: 0.6693 MB / 474.1 MB, free: 6.703 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.1419, allocations: 0.6342 MB / 474.8 MB, free: 6.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001385/0.1433, allocations: 0.7047 MB / 475.5 MB, free: 5.359 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002083/0.1436, allocations: 68 kB / 475.5 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003028/0.1466, allocations: 1.43 MB / 477 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006972/0.1473, allocations: 486.9 kB / 477.4 MB, free: 3.383 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001011/0.1483, allocations: 461.9 kB / 477.9 MB, free: 2.93 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003331/0.1517, allocations: 1.523 MB / 479.4 MB, free: 1.402 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1517, allocations: 4 kB / 479.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1517, allocations: 0 / 479.4 MB, free: 1.398 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.986e-05/0.1518, allocations: 0 / 479.4 MB, free: 1.398 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002287/0.154, allocations: 1.167 MB / 480.6 MB, free: 188 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.1541, allocations: 8.031 kB / 480.6 MB, free: 180 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003497/0.1576, allocations: 411.4 kB / 481 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.1586, allocations: 499.2 kB / 481.5 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.546e-05/0.1587, allocations: 58.36 kB / 481.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.1588, allocations: 76.36 kB / 481.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00199/0.1608, allocations: 1.234 MB / 482.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/0.1609, allocations: 4 kB / 482.9 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.097e-05/0.161, allocations: 27.98 kB / 482.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001005/0.1611, allocations: 81.95 kB / 483 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00207/0.1631, allocations: 1.315 MB / 484.3 MB, free: 12.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006143/0.1693, allocations: 3.708 MB / 488 MB, free: 8.605 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002036/0.1714, allocations: 1.087 MB / 489.1 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009189/0.1723, allocations: 0.6333 MB / 489.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.438e-05/0.1724, allocations: 21.12 kB / 489.7 MB, free: 6.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.539e-05/0.1724, allocations: 43.56 kB / 489.8 MB, free: 6.789 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.325e-06/0.1724, allocations: 4 kB / 489.8 MB, free: 6.785 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006838/0.1793, allocations: 3.137 MB / 492.9 MB, free: 3.621 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.791e-05/0.1794, allocations: 102.2 kB / 493 MB, free: 3.504 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.1798, allocations: 377.5 kB / 493.4 MB, free: 3.129 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.633e-05/0.1798, allocations: 41.7 kB / 493.4 MB, free: 3.082 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002165/0.1801, allocations: 324 kB / 493.7 MB, free: 2.758 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003162/0.1804, allocations: 311.4 kB / 494 MB, free: 2.449 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.1806, allocations: 162.5 kB / 494.2 MB, free: 2.285 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1808, allocations: 374.8 kB / 494.6 MB, free: 1.91 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006905/0.1815, allocations: 461.7 kB / 495 MB, free: 1.457 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.1823, allocations: 0.5782 MB / 495.6 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001535/0.1838, allocations: 1.11 MB / 496.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.1839, allocations: 4 kB / 496.7 MB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002484/0.1863, allocations: 1.485 MB / 498.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.1864, allocations: 8 kB / 498.2 MB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1864, allocations: 3.984 kB / 498.2 MB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009473/0.1873, allocations: 350.4 kB / 498.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006956/0.1881, allocations: 179.7 kB / 498.7 MB, free: 13.67 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.1939, allocations: 4.175 MB / 0.4911 GB, free: 9.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005895/0.1946, allocations: 44.02 kB / 0.4912 GB, free: 9.293 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.1947, allocations: 47.98 kB / 0.4912 GB, free: 9.246 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (82): * Single equations (assignments): 81 * 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.0005218/0.1952, allocations: 301.5 kB / 0.4915 GB, free: 8.941 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/0.1954, allocations: 55.34 kB / 0.4915 GB, free: 8.887 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002854/0.1982, allocations: 1.555 MB / 0.4931 GB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.264e-05/0.1983, allocations: 8 kB / 0.4931 GB, free: 7.309 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.086e-05/0.1983, allocations: 8 kB / 0.4931 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.1983, allocations: 3.984 kB / 0.4931 GB, free: 7.297 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.005243/0.2035, allocations: 3.013 MB / 0.496 GB, free: 4.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/0.2036, allocations: 7.984 kB / 0.496 GB, free: 4.148 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/0.2042, allocations: 163.8 kB / 0.4962 GB, free: 3.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008352/0.205, allocations: 293.8 kB / 0.4965 GB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.966e-05/0.2051, allocations: 23.98 kB / 0.4965 GB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2723/0.4775, allocations: 3.884 MB / 0.5003 GB, free: 55.48 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.889e-06/0.4775, allocations: 7.125 kB / 0.5003 GB, free: 55.48 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002976/0.4805, allocations: 1.582 MB / 0.5018 GB, free: 55.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002096/0.4807, allocations: 141.6 kB / 0.502 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.4808, allocations: 26.17 kB / 0.502 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.4813, allocations: 40.33 kB / 0.502 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.4815, allocations: 83.67 kB / 0.5021 GB, free: 55.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.079e-05/0.4816, allocations: 33.12 kB / 0.5021 GB, free: 55.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.4819, allocations: 267 kB / 0.5024 GB, free: 55.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4819, allocations: 0 / 0.5024 GB, free: 55.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001185/0.4831, allocations: 316.3 kB / 0.5027 GB, free: 55.02 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.0001786/0.4833, allocations: 132.6 kB / 0.5028 GB, free: 54.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003469/0.4868, allocations: 1.655 MB / 0.5044 GB, free: 54.51 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.4868, allocations: 1.219 kB / 0.5044 GB, free: 54.51 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001374/0.4882, allocations: 0.841 MB / 0.5053 GB, free: 54.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007799/0.489, allocations: 105.1 kB / 0.5054 GB, free: 54.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003149/0.4922, allocations: 1.818 MB / 0.5071 GB, free: 53.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007227/0.4929, allocations: 1.082 MB / 0.5082 GB, free: 52.53 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005044/0.4934, allocations: 187.2 kB / 0.5084 GB, free: 52.53 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002/0.4936, allocations: 65.45 kB / 0.5084 GB, free: 52.51 MB / 382.1 MB Notification: Performance of SimCode: time 1.453e-06/0.4936, allocations: 2.656 kB / 0.5084 GB, free: 52.51 MB / 382.1 MB Notification: Performance of Templates: time 0.0189/0.5125, allocations: 10.13 MB / 0.5183 GB, free: 50.12 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)