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.0008449/0.000845, allocations: 87.39 kB / 16.65 MB, free: 6.535 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.00106/0.00106, allocations: 174.7 kB / 17.56 MB, free: 6.184 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.594/1.594, allocations: 205.4 MB / 223.7 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1775/0.1775, allocations: 38.05 MB / 310.1 MB, free: 5.91 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.0005264/0.0005266, allocations: 12 kB / 377.2 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2776, allocations: 56.34 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.006687/0.2843, allocations: 7.641 MB / 441.1 MB, free: 11.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005909/0.2903, allocations: 4.866 MB / 446 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008951/0.2912, allocations: 27.81 kB / 446 MB, free: 6.102 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005901/0.2918, allocations: 135 kB / 446.2 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003074/0.2949, allocations: 1.203 MB / 447.4 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001126/0.2961, allocations: 327.2 kB / 447.7 MB, free: 4.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002808/0.2989, allocations: 2.689 MB / 450.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002425/0.3014, allocations: 1.22 MB / 451.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.3026, allocations: 493.6 kB / 452.1 MB, free: 24 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001334/0.304, allocations: 0.7164 MB / 452.8 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001475/0.3041, allocations: 32 kB / 452.8 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003259/0.3074, allocations: 1.711 MB / 454.5 MB, free: 13.55 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006416/0.3081, allocations: 458.8 kB / 455 MB, free: 13.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007283/0.3088, allocations: 435.5 kB / 455.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003396/0.3122, allocations: 1.585 MB / 457 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3122, allocations: 0 / 457 MB, free: 11.08 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.859e-06/0.3122, allocations: 4 kB / 457 MB, free: 11.08 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.012e-05/0.3123, allocations: 3.938 kB / 457 MB, free: 11.07 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.002128/0.3144, allocations: 1.015 MB / 458 MB, free: 10.01 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3145, allocations: 8.031 kB / 458 MB, free: 10 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003456/0.318, allocations: 411.4 kB / 458.4 MB, free: 9.598 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009956/0.319, allocations: 0.4913 MB / 458.9 MB, free: 9.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/0.319, allocations: 50.38 kB / 459 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002373/0.3193, allocations: 76.34 kB / 459 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/0.3213, allocations: 1.234 MB / 460.3 MB, free: 7.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/0.3214, allocations: 4 kB / 460.3 MB, free: 7.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.212e-05/0.3215, allocations: 31.98 kB / 460.3 MB, free: 7.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001028/0.3216, allocations: 77.95 kB / 460.4 MB, free: 7.574 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002129/0.3237, allocations: 1.315 MB / 461.7 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006445/0.3302, allocations: 3.716 MB / 465.4 MB, free: 2.43 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.3321, allocations: 1.097 MB / 466.5 MB, free: 1.316 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008987/0.333, allocations: 0.6448 MB / 467.2 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.799e-05/0.3331, allocations: 17.12 kB / 467.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.169e-05/0.3332, allocations: 43.56 kB / 467.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 4.157e-06/0.3332, allocations: 0 / 467.2 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.007599/0.3408, allocations: 3.161 MB / 470.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.222e-05/0.3409, allocations: 90.11 kB / 470.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005507/0.3415, allocations: 377.6 kB / 470.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001401/0.3417, allocations: 41.7 kB / 470.9 MB, free: 12.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002426/0.3419, allocations: 328 kB / 471.2 MB, free: 12.55 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003523/0.3423, allocations: 311.5 kB / 471.5 MB, free: 12.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001745/0.3425, allocations: 69.69 kB / 471.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002667/0.3427, allocations: 374.8 kB / 471.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007397/0.3435, allocations: 473.7 kB / 472.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008036/0.3443, allocations: 0.5743 MB / 473 MB, free: 10.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00171/0.346, allocations: 1.114 MB / 474.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.346, allocations: 0 / 474.1 MB, free: 9.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002703/0.3488, allocations: 1.481 MB / 475.6 MB, free: 8.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.3488, allocations: 8 kB / 475.6 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.3488, allocations: 7.922 kB / 475.6 MB, free: 8.074 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/0.3498, allocations: 340.8 kB / 475.9 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007234/0.3506, allocations: 179.7 kB / 476.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006244/0.3568, allocations: 3.864 MB / 479.9 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008331/0.3577, allocations: 47.94 kB / 480 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.3579, allocations: 39.98 kB / 480 MB, free: 3.449 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.0006935/0.3586, allocations: 313.3 kB / 480.3 MB, free: 3.133 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.3588, allocations: 63.28 kB / 480.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003073/0.3619, allocations: 1.551 MB / 482 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3619, allocations: 8 kB / 482 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.3619, allocations: 11.94 kB / 482 MB, free: 1.484 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.362, allocations: 3.984 kB / 482 MB, free: 1.48 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.005397/0.3674, allocations: 3.01 MB / 485 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/0.3674, allocations: 8.031 kB / 485 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.3681, allocations: 167.8 kB / 485.2 MB, free: 14.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008327/0.3689, allocations: 288.5 kB / 485.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.369, allocations: 27.98 kB / 485.5 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005261/0.3743, allocations: 3.606 MB / 489.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.124e-06/0.3743, allocations: 7.938 kB / 489.1 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002745/0.3771, allocations: 1.576 MB / 490.7 MB, free: 8.457 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002297/0.3773, allocations: 144.3 kB / 490.8 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.3774, allocations: 24 kB / 490.8 MB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005042/0.3779, allocations: 43.95 kB / 490.9 MB, free: 8.23 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.3781, allocations: 84.77 kB / 490.9 MB, free: 8.145 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-05/0.3782, allocations: 32 kB / 491 MB, free: 8.113 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003265/0.3785, allocations: 271.1 kB / 491.2 MB, free: 7.852 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.3785, allocations: 0 / 491.2 MB, free: 7.852 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001149/0.3797, allocations: 304 kB / 491.5 MB, free: 7.555 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.0002301/0.3799, allocations: 131.1 kB / 491.7 MB, free: 7.418 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002364/0.3823, allocations: 1.385 MB / 493.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.3823, allocations: 0 / 493.1 MB, free: 6.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001236/0.3835, allocations: 0.8321 MB / 493.9 MB, free: 5.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008789/0.3844, allocations: 111 kB / 494 MB, free: 5.07 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003758/0.3882, allocations: 2.206 MB / 496.2 MB, free: 2.793 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/0.3893, allocations: 1.083 MB / 497.3 MB, free: 1.68 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005363/0.3898, allocations: 184.7 kB / 497.5 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002382/0.3901, allocations: 59.41 kB / 497.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.3901, allocations: 0 / 497.5 MB, free: 1.438 MB / 366.1 MB Notification: Performance of Templates: time 0.01886/0.4089, allocations: 9.33 MB / 0.495 GB, free: 8.145 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: