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.001356/0.001356, allocations: 110.1 kB / 16.51 MB, free: 6.707 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.001422/0.001422, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.403/1.403, allocations: 222.9 MB / 241.1 MB, free: 15.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1779/0.1779, allocations: 38.02 MB / 329.3 MB, free: 9.035 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 66.39 kB / 398.1 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1347, allocations: 58.04 MB / 456.1 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.009866/0.1446, allocations: 8.101 MB / 464.2 MB, free: 416 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007516/0.1522, allocations: 4.907 MB / 469.1 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006931/0.1529, allocations: 19.94 kB / 469.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002863/0.1558, allocations: 1.031 MB / 470.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.1596, allocations: 1.195 MB / 471.4 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001135/0.1607, allocations: 335.2 kB / 471.7 MB, free: 8.902 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003176/0.1639, allocations: 2.69 MB / 474.4 MB, free: 6.207 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001231/0.1652, allocations: 0.6614 MB / 475.1 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.1664, allocations: 0.5327 MB / 475.6 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001064/0.1675, allocations: 0.7633 MB / 476.4 MB, free: 4.242 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.1676, allocations: 52 kB / 476.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003346/0.1709, allocations: 1.734 MB / 478.1 MB, free: 2.453 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006453/0.1716, allocations: 482.8 kB / 478.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006937/0.1723, allocations: 433.9 kB / 479 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00323/0.1756, allocations: 1.616 MB / 480.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.1756, allocations: 0 / 480.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.1756, allocations: 0 / 480.7 MB, free: 15.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.1756, allocations: 0 / 480.7 MB, free: 15.93 MB / 366.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.002067/0.1777, allocations: 1.17 MB / 481.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.1777, allocations: 12.03 kB / 481.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/0.1813, allocations: 403.4 kB / 482.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009711/0.1823, allocations: 0.4914 MB / 482.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.1824, allocations: 54.36 kB / 482.8 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00014/0.1825, allocations: 72.36 kB / 482.8 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.1846, allocations: 1.234 MB / 484.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.1846, allocations: 4 kB / 484.1 MB, free: 12.38 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.182e-05/0.1847, allocations: 24 kB / 484.1 MB, free: 12.36 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.1848, allocations: 81.95 kB / 484.2 MB, free: 12.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/0.1869, allocations: 1.312 MB / 485.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00604/0.1929, allocations: 3.708 MB / 489.2 MB, free: 7.152 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001904/0.1949, allocations: 1.091 MB / 490.3 MB, free: 6.035 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008655/0.1957, allocations: 0.6428 MB / 490.9 MB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.008e-05/0.1958, allocations: 21.12 kB / 491 MB, free: 5.371 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1959, allocations: 43.56 kB / 491 MB, free: 5.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=92): time 2.946e-06/0.1959, allocations: 0 / 491 MB, free: 5.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=93): time 0.006879/0.2028, allocations: 3.145 MB / 494.2 MB, free: 2.148 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.007e-05/0.2028, allocations: 90.11 kB / 494.2 MB, free: 2.043 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003964/0.2032, allocations: 377.5 kB / 494.6 MB, free: 1.668 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.2033, allocations: 41.7 kB / 494.7 MB, free: 1.621 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001943/0.2035, allocations: 328 kB / 495 MB, free: 1.293 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000256/0.2038, allocations: 319.3 kB / 495.3 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000256/0.204, allocations: 166.6 kB / 495.4 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.2042, allocations: 370.8 kB / 495.8 MB, free: 444 kB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006869/0.2049, allocations: 465.7 kB / 496.3 MB, free: 15.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007589/0.2057, allocations: 0.5743 MB / 496.8 MB, free: 15.38 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.2072, allocations: 1.122 MB / 498 MB, free: 14.22 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.2073, allocations: 0 / 498 MB, free: 14.22 MB / 382.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002553/0.2098, allocations: 1.477 MB / 499.4 MB, free: 12.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.2099, allocations: 10.5 kB / 499.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.2099, allocations: 0 / 499.4 MB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/0.2109, allocations: 344.8 kB / 499.8 MB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007204/0.2116, allocations: 191.7 kB / 500 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005365/0.217, allocations: 3.841 MB / 0.492 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000625/0.2177, allocations: 51.94 kB / 0.4921 GB, free: 8.133 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.209e-05/0.2178, allocations: 35.98 kB / 0.4921 GB, free: 8.098 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.0005676/0.2183, allocations: 301.6 kB / 0.4924 GB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001466/0.2185, allocations: 63.23 kB / 0.4924 GB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/0.2211, allocations: 1.547 MB / 0.4939 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.2212, allocations: 12 kB / 0.494 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.862e-05/0.2212, allocations: 7.938 kB / 0.494 GB, free: 6.156 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.346e-05/0.2212, allocations: 7.984 kB / 0.494 GB, free: 6.148 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.004937/0.2262, allocations: 3.013 MB / 0.4969 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.2262, allocations: 4 kB / 0.4969 GB, free: 3.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006407/0.2269, allocations: 167.7 kB / 0.4971 GB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008027/0.2277, allocations: 285.8 kB / 0.4974 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.724e-05/0.2278, allocations: 31.98 kB / 0.4974 GB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2603/0.4881, allocations: 3.57 MB / 0.5009 GB, free: 55.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.4881, allocations: 5.094 kB / 0.5009 GB, free: 55.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002684/0.4908, allocations: 1.581 MB / 0.5024 GB, free: 54.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/0.491, allocations: 144.5 kB / 0.5026 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/0.4912, allocations: 24.88 kB / 0.5026 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004682/0.4916, allocations: 42.44 kB / 0.5026 GB, free: 54.75 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00019/0.4918, allocations: 82.47 kB / 0.5027 GB, free: 54.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.85e-05/0.4919, allocations: 37.83 kB / 0.5027 GB, free: 54.74 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.4922, allocations: 266 kB / 0.503 GB, free: 54.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4922, allocations: 0 / 0.503 GB, free: 54.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001029/0.4933, allocations: 310.6 kB / 0.5033 GB, free: 54.66 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.0001532/0.4934, allocations: 129.6 kB / 0.5034 GB, free: 54.57 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002219/0.4957, allocations: 1.387 MB / 0.5048 GB, free: 54.08 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.4957, allocations: 0 / 0.5048 GB, free: 54.08 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.497, allocations: 0.8326 MB / 0.5056 GB, free: 53.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007714/0.4978, allocations: 110 kB / 0.5057 GB, free: 53.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003209/0.501, allocations: 2.18 MB / 0.5078 GB, free: 52.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.5017, allocations: 1.084 MB / 0.5089 GB, free: 51.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005555/0.5023, allocations: 180 kB / 0.509 GB, free: 51.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.5025, allocations: 66.42 kB / 0.5091 GB, free: 51.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.733e-06/0.5025, allocations: 0 / 0.5091 GB, free: 51.71 MB / 382.1 MB Notification: Performance of Templates: time 0.02093/0.5235, allocations: 9.591 MB / 0.5185 GB, free: 49.5 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)