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.001438/0.001437, allocations: 87.39 kB / 16.3 MB, free: 5.656 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.001778/0.001778, allocations: 183.2 kB / 17.19 MB, free: 5.59 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.73/1.73, allocations: 205.4 MB / 223.4 MB, free: 13.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1689/0.1689, allocations: 38.04 MB / 309.7 MB, free: 6.148 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.0005605/0.0005609, allocations: 20 kB / 376.5 MB, free: 3.227 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2507, allocations: 56.33 MB / 432.8 MB, free: 18.87 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005614/0.2564, allocations: 6.885 MB / 439.7 MB, free: 11.96 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004398/0.2608, allocations: 4.394 MB / 444.1 MB, free: 7.547 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003654/0.2612, allocations: 19.88 kB / 444.1 MB, free: 7.527 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003087/0.2615, allocations: 155.1 kB / 444.3 MB, free: 7.375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.263, allocations: 0.693 MB / 444.9 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006484/0.2637, allocations: 275.3 kB / 445.2 MB, free: 6.41 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005544/0.2642, allocations: 0.6197 MB / 445.8 MB, free: 5.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001488/0.2657, allocations: 1.156 MB / 447 MB, free: 4.613 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004878/0.2662, allocations: 398.5 kB / 447.4 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003402/0.2666, allocations: 354.8 kB / 447.7 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.2666, allocations: 39.98 kB / 447.8 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001208/0.2679, allocations: 0.7368 MB / 448.5 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002355/0.2681, allocations: 411.1 kB / 448.9 MB, free: 2.695 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.2682, allocations: 177.3 kB / 449.1 MB, free: 2.516 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.2691, allocations: 1.091 MB / 450.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.2691, allocations: 0 / 450.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2691, allocations: 0 / 450.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.2691, allocations: 0 / 450.2 MB, free: 1.422 MB / 318.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.001124/0.2703, allocations: 1.022 MB / 451.2 MB, free: 356 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2703, allocations: 8.031 kB / 451.2 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003192/0.2735, allocations: 458.4 kB / 451.6 MB, free: 15.89 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000738/0.2743, allocations: 486.2 kB / 452.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.2743, allocations: 53.98 kB / 452.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.2744, allocations: 75.92 kB / 452.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001765/0.2762, allocations: 1.215 MB / 453.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2763, allocations: 0 / 453.5 MB, free: 14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.948e-05/0.2763, allocations: 43.91 kB / 453.5 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.535e-05/0.2765, allocations: 85.89 kB / 453.6 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/0.2782, allocations: 1.3 MB / 454.9 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005387/0.2836, allocations: 3.716 MB / 458.6 MB, free: 8.75 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.2853, allocations: 1.09 MB / 459.7 MB, free: 7.641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.377e-05/0.2854, allocations: 17.2 kB / 459.7 MB, free: 7.625 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.974e-05/0.2854, allocations: 43.56 kB / 459.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 2.003e-06/0.2854, allocations: 0 / 459.8 MB, free: 7.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006416/0.2918, allocations: 3.115 MB / 462.9 MB, free: 4.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.719e-05/0.2919, allocations: 86.11 kB / 463 MB, free: 4.328 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003904/0.2923, allocations: 373.5 kB / 463.3 MB, free: 3.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.483e-05/0.2924, allocations: 41.7 kB / 463.4 MB, free: 3.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002024/0.2926, allocations: 328.1 kB / 463.7 MB, free: 3.582 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002768/0.2929, allocations: 315.4 kB / 464 MB, free: 3.27 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.2929, allocations: 16 kB / 464 MB, free: 3.254 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.2931, allocations: 370.8 kB / 464.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006527/0.2937, allocations: 465.7 kB / 464.8 MB, free: 2.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007207/0.2945, allocations: 0.5743 MB / 465.4 MB, free: 1.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007304/0.2952, allocations: 0.5378 MB / 465.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.2952, allocations: 4 kB / 465.9 MB, free: 1.281 MB / 334.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002223/0.2974, allocations: 1.477 MB / 467.4 MB, free: 15.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.2975, allocations: 8 kB / 467.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.2975, allocations: 4 kB / 467.4 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008782/0.2984, allocations: 336.8 kB / 467.8 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006554/0.299, allocations: 179.7 kB / 467.9 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/0.304, allocations: 3.961 MB / 471.9 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.3046, allocations: 43.95 kB / 471.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.999e-05/0.3047, allocations: 40.05 kB / 472 MB, free: 11.07 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 (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.0004461/0.3051, allocations: 305.5 kB / 472.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001059/0.3053, allocations: 59.3 kB / 472.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002391/0.3077, allocations: 1.547 MB / 473.9 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3077, allocations: 8 kB / 473.9 MB, free: 9.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.3077, allocations: 8 kB / 473.9 MB, free: 9.129 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.3077, allocations: 7.969 kB / 473.9 MB, free: 9.121 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.004458/0.3122, allocations: 3.005 MB / 476.9 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3122, allocations: 4 kB / 476.9 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005741/0.3128, allocations: 167.7 kB / 477.1 MB, free: 5.82 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008376/0.3136, allocations: 292.9 kB / 477.4 MB, free: 5.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.904e-05/0.3137, allocations: 24 kB / 477.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004819/0.3185, allocations: 3.689 MB / 481.1 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.3185, allocations: 7.953 kB / 481.1 MB, free: 1.664 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/0.3208, allocations: 1.742 MB / 482.8 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001606/0.321, allocations: 144.3 kB / 483 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.5e-05/0.3211, allocations: 20 kB / 483 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004186/0.3215, allocations: 47.95 kB / 483 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.3217, allocations: 80.78 kB / 483.1 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.3217, allocations: 39.98 kB / 483.1 MB, free: 15.42 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002854/0.322, allocations: 255.2 kB / 483.4 MB, free: 15.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.322, allocations: 4 kB / 483.4 MB, free: 15.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001017/0.3231, allocations: 308 kB / 483.7 MB, free: 14.86 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 (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.0001611/0.3232, allocations: 139 kB / 483.8 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002008/0.3253, allocations: 1.374 MB / 485.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.3253, allocations: 4 kB / 485.2 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001184/0.3265, allocations: 0.8323 MB / 486 MB, free: 12.49 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.3269, allocations: 86.52 kB / 486.1 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002761/0.3297, allocations: 2.116 MB / 488.2 MB, free: 10.21 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007321/0.3305, allocations: 1.105 MB / 489.4 MB, free: 9.074 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004146/0.3309, allocations: 188.6 kB / 489.5 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.3311, allocations: 63.41 kB / 489.6 MB, free: 8.828 MB / 366.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3311, allocations: 4 kB / 489.6 MB, free: 8.824 MB / 366.1 MB Notification: Performance of Templates: time 0.01485/0.3459, allocations: 9.05 MB / 498.7 MB, free: 15.8 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: