Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001297/0.001297, allocations: 173.4 kB / 16.76 MB, free: 5.035 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.282/1.282, allocations: 205.4 MB / 222.9 MB, free: 9.02 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.0007298/0.0007296, allocations: 89.41 kB / 271.3 MB, free: 8.254 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1791/0.1791, allocations: 38.06 MB / 357.6 MB, free: 1.746 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003452/0.0003455, allocations: 12 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2677/0.2681, allocations: 56.31 MB / 480.3 MB, free: 9.203 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1152/0.3833, allocations: 87.22 MB / 0.5542 GB, free: 15.16 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001638/0.385, allocations: 0.8506 MB / 0.555 GB, free: 14.31 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006005/0.391, allocations: 2.435 MB / 0.5574 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3911, allocations: 0 / 0.5574 GB, free: 11.88 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.3911, allocations: 0 / 0.5574 GB, free: 11.88 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003836/0.3915, allocations: 371.3 kB / 0.5577 GB, free: 11.46 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/0.3915, allocations: 16.03 kB / 0.5577 GB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.3916, allocations: 8.844 kB / 0.5578 GB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002119/0.3918, allocations: 195.6 kB / 0.5579 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.816e-06/0.3918, allocations: 4.375 kB / 0.5579 GB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.396e-05/0.3918, allocations: 4.375 kB / 0.558 GB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001169/0.392, allocations: 59.95 kB / 0.558 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.392, allocations: 192 / 0.558 GB, free: 11.13 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.392, allocations: 7.938 kB / 0.558 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.392, allocations: 7.984 kB / 0.558 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.355e-05/0.3921, allocations: 19.98 kB / 0.558 GB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003559/0.3924, allocations: 288.8 kB / 0.5583 GB, free: 10.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.17e-05/0.3925, allocations: 34.56 kB / 0.5584 GB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.586e-05/0.3926, allocations: 12.95 kB / 0.5584 GB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.188e-05/0.3926, allocations: 4 kB / 0.5584 GB, free: 10.7 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.3926, allocations: 38.56 kB / 0.5584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3926, allocations: 0 / 0.5584 GB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.000163/0.3928, allocations: 53.62 kB / 0.5585 GB, free: 10.6 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.3928, allocations: 77.11 kB / 0.5585 GB, free: 10.5 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.393, allocations: 149.7 kB / 0.5587 GB, free: 10.35 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.393, allocations: 25.7 kB / 0.5587 GB, free: 10.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.947e-05/0.3931, allocations: 96.08 kB / 0.5588 GB, free: 10.22 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.344e-05/0.3931, allocations: 11.84 kB / 0.5588 GB, free: 10.21 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.414e-06/0.3931, allocations: 0 / 0.5588 GB, free: 10.21 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3932, allocations: 322.8 kB / 0.5591 GB, free: 9.883 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.3933, allocations: 0 / 0.5591 GB, free: 9.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.466e-05/0.3933, allocations: 21.7 kB / 0.5591 GB, free: 9.855 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.701e-05/0.3933, allocations: 28.73 kB / 0.5592 GB, free: 9.824 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3933, allocations: 0 / 0.5592 GB, free: 9.824 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.141e-05/0.3934, allocations: 49.59 kB / 0.5592 GB, free: 9.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3934, allocations: 8.031 kB / 0.5592 GB, free: 9.762 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.3935, allocations: 4 kB / 0.5592 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.3935, allocations: 0 / 0.5592 GB, free: 9.758 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.946e-05/0.3935, allocations: 7.984 kB / 0.5592 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3935, allocations: 0 / 0.5592 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.036e-05/0.3936, allocations: 0 / 0.5592 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3936, allocations: 4 kB / 0.5592 GB, free: 9.746 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.974e-05/0.3937, allocations: 117.8 kB / 0.5593 GB, free: 9.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3937, allocations: 11.84 kB / 0.5593 GB, free: 9.609 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.3938, allocations: 61.52 kB / 0.5594 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.3939, allocations: 0 / 0.5594 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.3939, allocations: 0 / 0.5594 GB, free: 9.539 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3939, allocations: 4 kB / 0.5594 GB, free: 9.535 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.394, allocations: 169.6 kB / 0.5596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.3941, allocations: 0 / 0.5596 GB, free: 9.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.773e-05/0.3941, allocations: 15.98 kB / 0.5596 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.3941, allocations: 0 / 0.5596 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.3941, allocations: 0 / 0.5596 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3941, allocations: 0 / 0.5596 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3941, allocations: 384 / 0.5596 GB, free: 9.305 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001128/0.3942, allocations: 159.3 kB / 0.5597 GB, free: 9.133 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.03e-05/0.3943, allocations: 93 kB / 0.5598 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3943, allocations: 0 / 0.5598 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.477e-05/0.3944, allocations: 0 / 0.5598 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.328e-05/0.3944, allocations: 0 / 0.5598 GB, free: 9.023 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.3944, allocations: 4 kB / 0.5598 GB, free: 9.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.137e-05/0.3945, allocations: 112.7 kB / 0.5599 GB, free: 8.91 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.733e-06/0.3945, allocations: 0 / 0.5599 GB, free: 8.91 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002433/0.3948, allocations: 31.88 kB / 0.56 GB, free: 8.879 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007927/0.3955, allocations: 399 kB / 0.5604 GB, free: 8.539 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.068e-05/0.3956, allocations: 15.98 kB / 0.5604 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3957, allocations: 0 / 0.5604 GB, free: 8.523 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.955e-05/0.3957, allocations: 15.94 kB / 0.5604 GB, free: 8.508 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.3959, allocations: 19.86 kB / 0.5604 GB, free: 8.488 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.3962, allocations: 185.1 kB / 0.5606 GB, free: 8.273 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000248/0.3965, allocations: 0.6887 MB / 0.5612 GB, free: 7.559 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/0.3966, allocations: 11.44 kB / 0.5613 GB, free: 7.547 MB / 394.7 MB Notification: Performance of SimCode: time 2.41e-07/0.3966, allocations: 0 / 0.5613 GB, free: 7.547 MB / 394.7 MB Notification: Performance of Templates: time 0.002743/0.3993, allocations: 1.398 MB / 0.5626 GB, free: 6.148 MB / 394.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)