Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.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.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") translateModel(PowerSystems.Examples.Introductory.SimulationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007829/0.0007835, allocations: 89.97 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.001087/0.001087, allocations: 176.9 kB / 17.56 MB, free: 6.18 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.536/1.536, 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.1674/0.1674, allocations: 38.04 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.0005062/0.0005064, allocations: 20 kB / 377.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.267, allocations: 56.34 MB / 433.5 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.SimulationSteadyState): time 0.005979/0.273, allocations: 8.754 MB / 442.2 MB, free: 9.895 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003551/0.2766, allocations: 2.852 MB / 445.1 MB, free: 7.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.2771, allocations: 59.56 kB / 445.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005881/0.2778, allocations: 214.6 kB / 445.4 MB, free: 6.762 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008983/0.2787, allocations: 489.9 kB / 445.8 MB, free: 6.281 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009255/0.2796, allocations: 399.3 kB / 446.2 MB, free: 5.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001283/0.2809, allocations: 1.941 MB / 448.2 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001363/0.2823, allocations: 1.103 MB / 449.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000538/0.2828, allocations: 449.7 kB / 449.7 MB, free: 2.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007124/0.2835, allocations: 0.654 MB / 450.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.731e-05/0.2836, allocations: 36 kB / 450.4 MB, free: 1.672 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003488/0.284, allocations: 187.7 kB / 450.6 MB, free: 1.488 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002982/0.2843, allocations: 450.7 kB / 451 MB, free: 1.047 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003497/0.2846, allocations: 0.4952 MB / 451.5 MB, free: 0.543 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009847/0.2856, allocations: 1.179 MB / 452.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.2856, allocations: 0 / 452.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2857, allocations: 0 / 452.7 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.2857, allocations: 4 kB / 452.7 MB, free: 15.36 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: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.001981/0.2877, allocations: 1.135 MB / 453.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.2877, allocations: 8.031 kB / 453.8 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008568/0.2886, allocations: 167.5 kB / 454 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2896, allocations: 0.6842 MB / 454.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.2897, allocations: 66.38 kB / 454.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000132/0.2899, allocations: 88.12 kB / 454.8 MB, free: 13.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.2914, allocations: 1.175 MB / 456 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.2915, allocations: 0 / 456 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.841e-05/0.2916, allocations: 47.97 kB / 456.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.286e-05/0.2916, allocations: 57.97 kB / 456.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001344/0.293, allocations: 0.921 MB / 457 MB, free: 10.83 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.298, allocations: 4.803 MB / 461.9 MB, free: 5.812 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.2991, allocations: 0.68 MB / 462.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005131/0.2996, allocations: 375.8 kB / 462.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.481e-05/0.2997, allocations: 12.55 kB / 462.9 MB, free: 4.73 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000615/0.3003, allocations: 439.8 kB / 463.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=65): time 2.445e-06/0.3003, allocations: 0 / 463.3 MB, free: 4.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=66): time 0.005159/0.3055, allocations: 2.459 MB / 465.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000124/0.3056, allocations: 174.7 kB / 466 MB, free: 1.539 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.3063, allocations: 0.5939 MB / 466.6 MB, free: 0.9375 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.56e-05/0.3064, allocations: 45.7 kB / 466.6 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.3067, allocations: 486.6 kB / 467.1 MB, free: 412 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.3069, allocations: 228.8 kB / 467.3 MB, free: 180 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.943e-05/0.307, allocations: 73.69 kB / 467.4 MB, free: 100 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001878/0.3072, allocations: 386.8 kB / 467.8 MB, free: 15.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004203/0.3076, allocations: 289.8 kB / 468 MB, free: 15.43 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005685/0.3082, allocations: 0.5485 MB / 468.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.3093, allocations: 0.9534 MB / 469.5 MB, free: 13.67 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.3093, allocations: 7.938 kB / 469.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=107) (initialization): time 0.001921/0.3112, allocations: 1.223 MB / 470.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.3113, allocations: 37.86 kB / 470.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.3113, allocations: 8 kB / 470.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009651/0.3123, allocations: 345.3 kB / 471.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004447/0.3127, allocations: 147.7 kB / 471.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005283/0.318, allocations: 4.956 MB / 476.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005384/0.3186, allocations: 43.88 kB / 476.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.3187, allocations: 32 kB / 476.3 MB, free: 6.551 MB / 350.1 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,relayNet.cnt,$PRE.relayNet.cnt,$whenCondition1,relayNet.y[1],$PRE.relayNet.y[1],switch.closed,$PRE.switch.closed,switch.open,$PRE.switch.open,switch.control[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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004938/0.3192, allocations: 363 kB / 476.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.3193, allocations: 79.16 kB / 476.8 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001756/0.321, allocations: 1.044 MB / 477.8 MB, free: 5.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.3211, allocations: 4 kB / 477.8 MB, free: 5.031 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.3211, allocations: 8 kB / 477.8 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.477e-06/0.3211, allocations: 7.922 kB / 477.8 MB, free: 5.016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003043/0.3241, allocations: 2.055 MB / 479.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.3242, allocations: 0 / 479.9 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.3245, allocations: 79.89 kB / 480 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008748/0.3254, allocations: 309.7 kB / 480.3 MB, free: 2.484 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.055e-05/0.3254, allocations: 19.98 kB / 480.3 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005258/0.3307, allocations: 4.883 MB / 485.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.3307, allocations: 0 / 485.2 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001718/0.3324, allocations: 1.115 MB / 486.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001616/0.3326, allocations: 144.2 kB / 486.4 MB, free: 11.96 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.795e-05/0.3327, allocations: 16 kB / 486.4 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003183/0.333, allocations: 19.98 kB / 486.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/0.3332, allocations: 64.36 kB / 486.5 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.224e-05/0.3332, allocations: 27.94 kB / 486.5 MB, free: 11.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00047/0.3337, allocations: 423 kB / 487 MB, free: 11.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3337, allocations: 0 / 487 MB, free: 11.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009733/0.3347, allocations: 268 kB / 487.2 MB, free: 11.17 MB / 366.1 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,17,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001669/0.3348, allocations: 119.1 kB / 487.3 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001685/0.3365, allocations: 1.14 MB / 488.5 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3366, allocations: 0 / 488.5 MB, free: 9.867 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009519/0.3375, allocations: 0.7682 MB / 489.2 MB, free: 9.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009444/0.3385, allocations: 171.2 kB / 489.4 MB, free: 8.891 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003046/0.3415, allocations: 2.159 MB / 491.6 MB, free: 6.688 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000818/0.3424, allocations: 1.107 MB / 492.7 MB, free: 5.551 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004931/0.3429, allocations: 174.3 kB / 492.8 MB, free: 5.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.343, allocations: 51.42 kB / 492.9 MB, free: 5.324 MB / 366.1 MB Notification: Performance of SimCode: time 4.71e-07/0.343, allocations: 3.938 kB / 492.9 MB, free: 5.32 MB / 366.1 MB Notification: Performance of Templates: time 0.01685/0.3598, allocations: 10.09 MB / 0.4912 GB, free: 11.26 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.makefile Environment - environmentSimulation: (rm -f PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.sim & ./PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.SimulationSteadyState.pipe 2>&1) Environment - environmentSimulation: