Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009147/0.0009148, allocations: 174 kB / 16.07 MB, free: 5.723 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.202/1.202, allocations: 205.4 MB / 222.2 MB, free: 9.035 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.0007365/0.0007367, allocations: 82.38 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.1687/0.1687, allocations: 38.08 MB / 356.9 MB, free: 1.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003676/0.0003677, allocations: 15.98 kB / 423.3 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2258, allocations: 56.32 MB / 479.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.006765/0.2326, allocations: 8.286 MB / 487.9 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004207/0.2369, allocations: 2.718 MB / 490.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000724/0.2376, allocations: 57.31 kB / 490.7 MB, free: 1.605 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007204/0.2384, allocations: 267.7 kB / 490.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001402/0.2398, allocations: 0.585 MB / 491.5 MB, free: 1.141 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001375/0.2412, allocations: 477.6 kB / 492 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001812/0.243, allocations: 1.527 MB / 493.5 MB, free: 392 kB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001792/0.2448, allocations: 1.088 MB / 494.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008481/0.2457, allocations: 453.9 kB / 495.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.2467, allocations: 0.6416 MB / 495.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.2468, allocations: 36.47 kB / 495.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005117/0.2473, allocations: 189.4 kB / 495.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000503/0.2479, allocations: 455.3 kB / 496.4 MB, free: 15.25 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005679/0.2484, allocations: 494.8 kB / 496.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001106/0.2495, allocations: 0.9146 MB / 497.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2496, allocations: 0 / 497.8 MB, free: 14.76 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2496, allocations: 4 kB / 497.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.248e-05/0.2496, allocations: 1.25 kB / 497.8 MB, free: 14.75 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002071/0.2517, allocations: 1.131 MB / 498.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.2517, allocations: 8.562 kB / 498.9 MB, free: 13.96 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008898/0.2526, allocations: 167.8 kB / 499.1 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.2538, allocations: 0.6861 MB / 499.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.2539, allocations: 64.59 kB / 499.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.254, allocations: 89.89 kB / 499.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/0.2558, allocations: 1.166 MB / 0.4893 GB, free: 12.52 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.13e-05/0.2558, allocations: 9.5 kB / 0.4893 GB, free: 12.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.661e-05/0.2559, allocations: 37.64 kB / 0.4894 GB, free: 12.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-05/0.256, allocations: 58.69 kB / 0.4894 GB, free: 12.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/0.2576, allocations: 0.9248 MB / 0.4903 GB, free: 12.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005526/0.2631, allocations: 4.806 MB / 0.495 GB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2643, allocations: 0.6734 MB / 0.4957 GB, free: 7.645 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005551/0.2648, allocations: 370.9 kB / 0.496 GB, free: 7.461 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.459e-05/0.2649, allocations: 11.41 kB / 0.496 GB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006106/0.2655, allocations: 434.8 kB / 0.4965 GB, free: 7.156 MB / 330.7 MB Notification: Performance of pre-optimization done (n=65): time 3.015e-06/0.2655, allocations: 0 / 0.4965 GB, free: 7.156 MB / 330.7 MB Notification: Performance of matching and sorting (n=66): time 0.005198/0.2707, allocations: 2.451 MB / 0.4989 GB, free: 5.668 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.227e-05/0.2709, allocations: 172.5 kB / 0.499 GB, free: 5.469 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006763/0.2715, allocations: 0.5951 MB / 0.4996 GB, free: 5.117 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.211e-05/0.2716, allocations: 37.48 kB / 0.4996 GB, free: 5.078 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003345/0.2719, allocations: 486.6 kB / 0.5001 GB, free: 4.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.2722, allocations: 220.9 kB / 0.5003 GB, free: 4.465 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-05/0.2722, allocations: 15.12 kB / 0.5003 GB, free: 4.453 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001581/0.2724, allocations: 388.1 kB / 0.5007 GB, free: 4.086 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004695/0.2729, allocations: 281.1 kB / 0.501 GB, free: 3.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006106/0.2735, allocations: 0.5535 MB / 0.5015 GB, free: 3.453 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/0.2746, allocations: 0.9479 MB / 0.5024 GB, free: 2.672 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.2746, allocations: 3.938 kB / 0.5024 GB, free: 2.668 MB / 330.7 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002043/0.2767, allocations: 1.223 MB / 0.5036 GB, free: 1.422 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.2767, allocations: 37.7 kB / 0.5037 GB, free: 1.379 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.2768, allocations: 11.94 kB / 0.5037 GB, free: 1.367 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001011/0.2778, allocations: 338.2 kB / 0.504 GB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/0.2783, allocations: 143.7 kB / 0.5041 GB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005478/0.2838, allocations: 4.957 MB / 0.509 GB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005564/0.2843, allocations: 35.94 kB / 0.509 GB, free: 11.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/0.2844, allocations: 39.98 kB / 0.509 GB, free: 11.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$PRE.relayNet.cnt,relayNet.cnt,switch.control[1],$PRE.switch.open,switch.open,$PRE.switch.closed,switch.closed,$PRE.relayNet.y[1],relayNet.y[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005444/0.285, allocations: 363 kB / 0.5094 GB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.2851, allocations: 71.16 kB / 0.5095 GB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001789/0.2869, allocations: 1.04 MB / 0.5105 GB, free: 10.06 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.2869, allocations: 4 kB / 0.5105 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.2869, allocations: 8 kB / 0.5105 GB, free: 10.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.2869, allocations: 7.922 kB / 0.5105 GB, free: 10.04 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003188/0.2901, allocations: 2.059 MB / 0.5125 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.2901, allocations: 0 / 0.5125 GB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003096/0.2905, allocations: 71.91 kB / 0.5126 GB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008439/0.2913, allocations: 321.6 kB / 0.5129 GB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.753e-05/0.2914, allocations: 15.98 kB / 0.5129 GB, free: 7.484 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005282/0.2967, allocations: 4.864 MB / 0.5176 GB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.2967, allocations: 8 kB / 0.5177 GB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00176/0.2985, allocations: 1.111 MB / 0.5187 GB, free: 1.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/0.2987, allocations: 156 kB / 0.5189 GB, free: 0.9883 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.2988, allocations: 27.98 kB / 0.5189 GB, free: 0.9609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003248/0.2991, allocations: 16 kB / 0.5189 GB, free: 0.9453 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.2993, allocations: 60.36 kB / 0.519 GB, free: 0.8867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.853e-05/0.2993, allocations: 16 kB / 0.519 GB, free: 0.8711 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004905/0.2998, allocations: 419 kB / 0.5194 GB, free: 476 kB / 346.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2998, allocations: 0 / 0.5194 GB, free: 476 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.001013/0.3008, allocations: 264 kB / 0.5197 GB, free: 212 kB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (switch.open,switch.control[1],switch.closed,$whenCondition1,relayNet.y[1],relayNet.cnt,system.initime) * Number of discrete states: 3 (relayNet.y[1],relayNet.cnt,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 17,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001632/0.301, allocations: 119.2 kB / 0.5198 GB, free: 84 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.3029, allocations: 1.133 MB / 0.5209 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3029, allocations: 0 / 0.5209 GB, free: 14.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001066/0.304, allocations: 0.7681 MB / 0.5216 GB, free: 14.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00103/0.305, allocations: 169.2 kB / 0.5218 GB, free: 13.95 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00311/0.3081, allocations: 2.183 MB / 0.5239 GB, free: 11.71 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.3089, allocations: 1.107 MB / 0.525 GB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001538/0.3091, allocations: 59.42 kB / 0.5251 GB, free: 10.52 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.3091, allocations: 0 / 0.5251 GB, free: 10.52 MB / 362.7 MB Notification: Performance of Templates: time 0.02083/0.3299, allocations: 16.89 MB / 0.5416 GB, free: 9.617 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1)