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 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.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.00112/0.00112, allocations: 111.8 kB / 17.68 MB, free: 5.355 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.001662/0.001662, allocations: 190.9 kB / 18.62 MB, free: 4.434 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.398/1.398, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1752/0.1752, allocations: 37.99 MB / 309.8 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.001491/0.001491, allocations: 59.91 kB / 376.8 MB, free: 2.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2171, allocations: 55.24 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006394/0.2235, allocations: 7.699 MB / 439.7 MB, free: 11.77 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004409/0.2279, allocations: 4.779 MB / 444.5 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002634/0.2282, allocations: 15.94 kB / 444.5 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002004/0.2303, allocations: 1.077 MB / 445.6 MB, free: 5.879 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001927/0.2322, allocations: 1.261 MB / 446.8 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007022/0.2329, allocations: 371 kB / 447.2 MB, free: 4.25 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001012/0.2339, allocations: 1.465 MB / 448.7 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006026/0.2345, allocations: 0.6654 MB / 449.3 MB, free: 2.113 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005377/0.2351, allocations: 0.6342 MB / 450 MB, free: 1.477 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.2356, allocations: 0.7008 MB / 450.7 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.506e-05/0.2357, allocations: 72 kB / 450.7 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001936/0.2377, allocations: 1.43 MB / 452.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003757/0.2381, allocations: 494.9 kB / 452.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004065/0.2385, allocations: 461.8 kB / 453.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.2401, allocations: 1.535 MB / 454.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2402, allocations: 0 / 454.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2402, allocations: 0 / 454.6 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.34e-05/0.2402, allocations: 0 / 454.6 MB, free: 12.79 MB / 334.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.001504/0.2417, allocations: 1.176 MB / 455.8 MB, free: 11.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.2418, allocations: 11.89 kB / 455.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003158/0.2449, allocations: 407.4 kB / 456.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008082/0.2457, allocations: 0.4953 MB / 456.7 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.837e-05/0.2458, allocations: 58.36 kB / 456.8 MB, free: 10.56 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001253/0.2459, allocations: 76.27 kB / 456.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.2476, allocations: 1.231 MB / 458.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.2476, allocations: 4 kB / 458.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.234e-05/0.2477, allocations: 31.98 kB / 458.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.909e-05/0.2478, allocations: 77.95 kB / 458.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00176/0.2496, allocations: 1.315 MB / 459.5 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00526/0.2548, allocations: 3.677 MB / 463.2 MB, free: 4.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2565, allocations: 1.081 MB / 464.3 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007707/0.2573, allocations: 0.6371 MB / 464.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.343e-05/0.2573, allocations: 21.12 kB / 464.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.2574, allocations: 51.56 kB / 465 MB, free: 2.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.124e-06/0.2574, allocations: 0 / 465 MB, free: 2.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006751/0.2641, allocations: 3.141 MB / 468.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.786e-05/0.2642, allocations: 94.23 kB / 468.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003547/0.2646, allocations: 377.6 kB / 468.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/0.2646, allocations: 37.7 kB / 468.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001765/0.2648, allocations: 324.1 kB / 468.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002646/0.2651, allocations: 323.2 kB / 469.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/0.2653, allocations: 158.5 kB / 469.4 MB, free: 13.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2655, allocations: 370.8 kB / 469.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007029/0.2662, allocations: 465.7 kB / 470.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.2669, allocations: 0.5821 MB / 470.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001442/0.2684, allocations: 1.114 MB / 471.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2684, allocations: 7.938 kB / 471.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002396/0.2708, allocations: 1.477 MB / 473.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.2708, allocations: 4 kB / 473.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.2708, allocations: 4 kB / 473.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000957/0.2718, allocations: 341.9 kB / 473.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006292/0.2724, allocations: 183.8 kB / 473.9 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005492/0.2779, allocations: 4.168 MB / 478.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004437/0.2784, allocations: 51.94 kB / 478.1 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.974e-05/0.2785, allocations: 31.98 kB / 478.2 MB, free: 4.676 MB / 350.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.0003546/0.2788, allocations: 313.5 kB / 478.5 MB, free: 4.359 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.279, allocations: 59.25 kB / 478.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002364/0.2813, allocations: 1.551 MB / 480.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.195e-06/0.2813, allocations: 8 kB / 480.1 MB, free: 2.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2814, allocations: 4 kB / 480.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.2814, allocations: 15.92 kB / 480.1 MB, free: 2.711 MB / 350.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.004562/0.2859, allocations: 3.004 MB / 483.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.286, allocations: 8.094 kB / 483.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005788/0.2865, allocations: 171.8 kB / 483.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000773/0.2873, allocations: 276.6 kB / 483.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.49e-05/0.2874, allocations: 27.98 kB / 483.6 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004635/0.292, allocations: 3.894 MB / 487.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.2921, allocations: 7.938 kB / 487.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002189/0.2943, allocations: 1.578 MB / 489.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001688/0.2944, allocations: 144.3 kB / 489.2 MB, free: 9.242 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.2945, allocations: 23.98 kB / 489.2 MB, free: 9.219 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003979/0.2949, allocations: 43.97 kB / 489.3 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.2951, allocations: 84.75 kB / 489.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.778e-05/0.2952, allocations: 39.98 kB / 489.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002583/0.2954, allocations: 263.2 kB / 489.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2954, allocations: 0 / 489.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008695/0.2963, allocations: 312 kB / 490 MB, free: 8.492 MB / 366.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.0001629/0.2965, allocations: 131 kB / 490.1 MB, free: 8.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001894/0.2984, allocations: 1.398 MB / 491.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.2984, allocations: 4.125 kB / 491.5 MB, free: 6.941 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.2995, allocations: 0.8358 MB / 492.3 MB, free: 6.098 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.3001, allocations: 113.2 kB / 492.4 MB, free: 5.988 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00273/0.3029, allocations: 1.797 MB / 494.2 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.3035, allocations: 1.083 MB / 495.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003681/0.3039, allocations: 184.7 kB / 495.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001781/0.3041, allocations: 63.41 kB / 495.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3041, allocations: 0 / 495.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of Templates: time 0.01459/0.3187, allocations: 10.12 MB / 0.4938 GB, free: 8.664 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 -s gbode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)