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.001287/0.001287, allocations: 114.6 kB / 17.69 MB, free: 5.309 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.001595/0.001595, allocations: 191 kB / 18.63 MB, free: 4.375 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.678/1.678, allocations: 205.1 MB / 224.5 MB, free: 12.31 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2049/0.2049, allocations: 37.98 MB / 309.8 MB, free: 5.98 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.001708/0.001708, allocations: 60.28 kB / 376.8 MB, free: 2.934 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3201, allocations: 55.25 MB / 432 MB, free: 19.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.00722/0.3274, allocations: 7.696 MB / 439.7 MB, free: 11.78 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005926/0.3334, allocations: 4.775 MB / 444.5 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005281/0.3339, allocations: 12 kB / 444.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.3364, allocations: 1.084 MB / 445.6 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002655/0.339, allocations: 1.269 MB / 446.9 MB, free: 4.609 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009473/0.34, allocations: 359 kB / 447.2 MB, free: 4.258 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001249/0.3412, allocations: 1.465 MB / 448.7 MB, free: 2.789 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007775/0.342, allocations: 0.6655 MB / 449.3 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006541/0.3427, allocations: 0.6497 MB / 450 MB, free: 1.469 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006369/0.3433, allocations: 0.697 MB / 450.7 MB, free: 0.7695 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.083e-05/0.3434, allocations: 64 kB / 450.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002096/0.3455, allocations: 1.434 MB / 452.2 MB, free: 15.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.346, allocations: 494.8 kB / 452.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004701/0.3465, allocations: 453.9 kB / 453.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.3485, allocations: 1.543 MB / 454.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3485, allocations: 0 / 454.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3485, allocations: 0 / 454.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.258e-05/0.3485, allocations: 0 / 454.7 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.001736/0.3502, allocations: 1.167 MB / 455.8 MB, free: 11.58 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.3503, allocations: 15.89 kB / 455.8 MB, free: 11.56 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003226/0.3535, allocations: 407.4 kB / 456.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009481/0.3545, allocations: 0.4915 MB / 456.7 MB, free: 10.63 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.369e-05/0.3546, allocations: 54.36 kB / 456.8 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.3547, allocations: 88.25 kB / 456.9 MB, free: 10.49 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001741/0.3564, allocations: 1.234 MB / 458.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.3565, allocations: 0 / 458.1 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.131e-05/0.3566, allocations: 31.98 kB / 458.1 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.462e-05/0.3567, allocations: 77.95 kB / 458.2 MB, free: 9.121 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.3586, allocations: 1.308 MB / 459.5 MB, free: 7.816 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005396/0.364, allocations: 3.673 MB / 463.2 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.3657, allocations: 1.085 MB / 464.3 MB, free: 2.93 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008798/0.3666, allocations: 0.6449 MB / 464.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.441e-05/0.3667, allocations: 21.12 kB / 464.9 MB, free: 2.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.789e-05/0.3667, allocations: 47.56 kB / 465 MB, free: 2.203 MB / 334.1 MB Notification: Performance of pre-optimization done (n=92): time 4.349e-06/0.3667, allocations: 0 / 465 MB, free: 2.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=93): time 0.006913/0.3736, allocations: 3.153 MB / 468.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.466e-05/0.3737, allocations: 86.11 kB / 468.2 MB, free: 14.92 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004541/0.3742, allocations: 377.6 kB / 468.6 MB, free: 14.54 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.3743, allocations: 41.7 kB / 468.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/0.3745, allocations: 320.1 kB / 468.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.3748, allocations: 319.3 kB / 469.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002511/0.3751, allocations: 170.6 kB / 469.4 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.3752, allocations: 366.8 kB / 469.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006617/0.3759, allocations: 469.7 kB / 470.2 MB, free: 12.86 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007559/0.3766, allocations: 0.5743 MB / 470.8 MB, free: 12.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001542/0.3782, allocations: 1.114 MB / 471.9 MB, free: 11.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.3782, allocations: 4 kB / 471.9 MB, free: 11.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002615/0.3808, allocations: 1.481 MB / 473.4 MB, free: 9.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.3809, allocations: 4 kB / 473.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.3809, allocations: 4.219 kB / 473.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009558/0.3819, allocations: 333.8 kB / 473.7 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006818/0.3826, allocations: 183.7 kB / 473.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.388, allocations: 4.176 MB / 478.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/0.3886, allocations: 52 kB / 478.2 MB, free: 4.707 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-05/0.3887, allocations: 35.98 kB / 478.2 MB, free: 4.672 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.0004753/0.3891, allocations: 297.5 kB / 478.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.3893, allocations: 71.17 kB / 478.5 MB, free: 4.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002784/0.3921, allocations: 1.551 MB / 480.1 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.388e-06/0.3921, allocations: 12 kB / 480.1 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3921, allocations: 4 kB / 480.1 MB, free: 2.723 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.174e-05/0.3921, allocations: 3.984 kB / 480.1 MB, free: 2.719 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.004961/0.3971, allocations: 3.015 MB / 483.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.3971, allocations: 4 kB / 483.1 MB, free: 15.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005913/0.3977, allocations: 163.7 kB / 483.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007862/0.3985, allocations: 292.9 kB / 483.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-05/0.3986, allocations: 23.98 kB / 483.6 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00492/0.4035, allocations: 3.893 MB / 487.5 MB, free: 11.05 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.4035, allocations: 4 kB / 487.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00244/0.406, allocations: 1.578 MB / 489.1 MB, free: 9.402 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002159/0.4062, allocations: 148.3 kB / 489.2 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-05/0.4063, allocations: 24 kB / 489.3 MB, free: 9.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.4067, allocations: 43.95 kB / 489.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.4069, allocations: 80.83 kB / 489.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.331e-05/0.4069, allocations: 32 kB / 489.4 MB, free: 9.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002904/0.4072, allocations: 271.1 kB / 489.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4073, allocations: 0 / 489.7 MB, free: 8.797 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009791/0.4082, 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.0001781/0.4084, allocations: 127 kB / 490.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001999/0.4104, allocations: 1.402 MB / 491.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.4104, allocations: 0 / 491.5 MB, free: 6.945 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/0.4116, allocations: 0.8399 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.0006449/0.4123, allocations: 111.9 kB / 492.4 MB, free: 5.992 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.415, allocations: 1.804 MB / 494.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006678/0.4157, allocations: 1.076 MB / 495.3 MB, free: 3.012 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004019/0.4161, allocations: 192.7 kB / 495.5 MB, free: 2.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001858/0.4163, allocations: 63.41 kB / 495.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4163, allocations: 0 / 495.6 MB, free: 2.758 MB / 366.1 MB Notification: Performance of Templates: time 0.01646/0.4328, allocations: 10.12 MB / 0.4938 GB, free: 8.668 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 cvode -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)