Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") translateModel(PowerSystems.Examples.Generic.Network.NetworkOpened,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009868/0.000987, allocations: 173.6 kB / 16.07 MB, free: 5.727 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.213/1.213, allocations: 205.4 MB / 222.2 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007675/0.0007674, allocations: 88.44 kB / 270.6 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1701/0.1701, allocations: 38.09 MB / 356.9 MB, free: 1.719 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 8 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2143/0.2147, allocations: 56.32 MB / 479.6 MB, free: 9.234 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Network.NetworkOpened): time 0.005894/0.2206, allocations: 7.259 MB / 486.9 MB, free: 4.324 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.005024/0.2256, allocations: 4.564 MB / 491.4 MB, free: 1.102 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007023/0.2264, allocations: 23 kB / 491.5 MB, free: 1.094 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004965/0.2269, allocations: 151.5 kB / 491.6 MB, free: 1.012 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00273/0.2296, allocations: 1.146 MB / 492.8 MB, free: 484 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009807/0.2306, allocations: 328.5 kB / 493.1 MB, free: 328 kB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00231/0.233, allocations: 2 MB / 495.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002184/0.2352, allocations: 1.198 MB / 496.3 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001055/0.2362, allocations: 0.5037 MB / 496.8 MB, free: 14.83 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.2374, allocations: 0.6834 MB / 497.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.2376, allocations: 32.72 kB / 497.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.2406, allocations: 1.634 MB / 499.1 MB, free: 13.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006051/0.2412, allocations: 463 kB / 499.6 MB, free: 13.72 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006435/0.2419, allocations: 411.9 kB / 500 MB, free: 13.46 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0019/0.2438, allocations: 1.14 MB / 0.4894 GB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.2438, allocations: 0.8438 kB / 0.4894 GB, free: 12.82 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2438, allocations: 0 / 0.4894 GB, free: 12.82 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.167e-05/0.2438, allocations: 0 / 0.4894 GB, free: 12.82 MB / 330.7 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.001891/0.2457, allocations: 1.025 MB / 0.4904 GB, free: 11.99 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2458, allocations: 9.719 kB / 0.4904 GB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003242/0.249, allocations: 413.4 kB / 0.4908 GB, free: 11.8 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000855/0.2499, allocations: 495.7 kB / 0.4913 GB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.928e-05/0.25, allocations: 56.77 kB / 0.4913 GB, free: 11.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.2502, allocations: 72.64 kB / 0.4914 GB, free: 11.35 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.2523, allocations: 1.229 MB / 0.4926 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.2523, allocations: 1.062 kB / 0.4926 GB, free: 10.62 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.071e-05/0.2524, allocations: 30.92 kB / 0.4926 GB, free: 10.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/0.2525, allocations: 78.7 kB / 0.4927 GB, free: 10.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.2546, allocations: 1.303 MB / 0.494 GB, free: 9.965 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005826/0.2605, allocations: 3.722 MB / 0.4976 GB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001743/0.2622, allocations: 1.08 MB / 0.4987 GB, free: 6.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008727/0.2631, allocations: 0.6458 MB / 0.4993 GB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.728e-05/0.2632, allocations: 17.12 kB / 0.4993 GB, free: 6.488 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.967e-05/0.2633, allocations: 47.56 kB / 0.4993 GB, free: 6.434 MB / 330.7 MB Notification: Performance of pre-optimization done (n=92): time 2.865e-06/0.2633, allocations: 0 / 0.4993 GB, free: 6.434 MB / 330.7 MB Notification: Performance of matching and sorting (n=93): time 0.00669/0.27, allocations: 3.149 MB / 0.5024 GB, free: 3.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.27, allocations: 86.11 kB / 0.5025 GB, free: 3.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.2705, allocations: 377.6 kB / 0.5029 GB, free: 2.781 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.099e-05/0.2705, allocations: 41.73 kB / 0.5029 GB, free: 2.734 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001939/0.2707, allocations: 328 kB / 0.5032 GB, free: 2.406 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002643/0.271, allocations: 315.4 kB / 0.5035 GB, free: 2.094 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/0.2711, allocations: 19.94 kB / 0.5035 GB, free: 2.074 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.2712, allocations: 366.8 kB / 0.5039 GB, free: 1.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006632/0.2719, allocations: 465.7 kB / 0.5043 GB, free: 1.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007345/0.2726, allocations: 0.5704 MB / 0.5049 GB, free: 0.6484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/0.2742, allocations: 1.11 MB / 0.506 GB, free: 15.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2742, allocations: 0 / 0.506 GB, free: 15.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002414/0.2766, allocations: 1.477 MB / 0.5074 GB, free: 14.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.2766, allocations: 4.625 kB / 0.5074 GB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2766, allocations: 7.938 kB / 0.5074 GB, free: 14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009205/0.2776, allocations: 336.7 kB / 0.5077 GB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006924/0.2783, allocations: 179.7 kB / 0.5079 GB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004922/0.2832, allocations: 3.874 MB / 0.5117 GB, free: 9.465 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005367/0.2838, allocations: 47.95 kB / 0.5117 GB, free: 9.418 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.292e-05/0.2839, allocations: 39.92 kB / 0.5118 GB, free: 9.379 MB / 346.7 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.0004325/0.2843, allocations: 313.5 kB / 0.5121 GB, free: 9.062 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.2844, allocations: 55.34 kB / 0.5121 GB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.287, allocations: 1.54 MB / 0.5136 GB, free: 7.453 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.2871, allocations: 16 kB / 0.5137 GB, free: 7.438 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/0.2871, allocations: 7.938 kB / 0.5137 GB, free: 7.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.2871, allocations: 7.969 kB / 0.5137 GB, free: 7.422 MB / 346.7 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.004862/0.292, allocations: 3.002 MB / 0.5166 GB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.292, allocations: 4 kB / 0.5166 GB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.2926, allocations: 167.8 kB / 0.5168 GB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007762/0.2934, allocations: 284.9 kB / 0.517 GB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.2935, allocations: 24 kB / 0.5171 GB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004615/0.2981, allocations: 3.606 MB / 0.5206 GB, free: 64 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.2982, allocations: 8.062 kB / 0.5206 GB, free: 56 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002416/0.3006, allocations: 1.569 MB / 0.5221 GB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002125/0.3008, allocations: 156.2 kB / 0.5223 GB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000106/0.3009, allocations: 23.94 kB / 0.5223 GB, free: 14.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.3014, allocations: 35.97 kB / 0.5223 GB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.3015, allocations: 80.83 kB / 0.5224 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.466e-05/0.3016, allocations: 39.98 kB / 0.5224 GB, free: 14.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002893/0.3019, allocations: 263.1 kB / 0.5227 GB, free: 13.81 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.3019, allocations: 4 kB / 0.5227 GB, free: 13.81 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009639/0.3029, allocations: 308 kB / 0.523 GB, free: 13.51 MB / 362.7 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.0001511/0.3031, allocations: 123.1 kB / 0.5231 GB, free: 13.38 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002042/0.3051, allocations: 1.378 MB / 0.5245 GB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3051, allocations: 0 / 0.5245 GB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001253/0.3064, allocations: 0.8358 MB / 0.5253 GB, free: 11.14 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008812/0.3073, allocations: 107.4 kB / 0.5254 GB, free: 11.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002999/0.3103, allocations: 2.204 MB / 0.5275 GB, free: 8.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000715/0.311, allocations: 1.091 MB / 0.5286 GB, free: 7.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002689/0.3113, allocations: 67.41 kB / 0.5287 GB, free: 7.57 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.3113, allocations: 0 / 0.5287 GB, free: 7.57 MB / 362.7 MB Notification: Performance of Templates: time 0.01575/0.3271, allocations: 12.36 MB / 0.5407 GB, free: 11.2 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Network.NetworkOpened.pipe 2>&1)