Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 108.3 kB / 17.74 MB, free: 5.297 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.001175/0.001175, allocations: 187 kB / 18.67 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.4/1.4, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1774/0.1774, allocations: 37.98 MB / 309.9 MB, free: 5.941 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.001535/0.001535, allocations: 75.89 kB / 432.5 MB, free: 15.77 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1017, allocations: 55.23 MB / 487.8 MB, free: 8.477 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003156/0.1049, allocations: 1.4 MB / 489.2 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005694/0.1055, allocations: 279.7 kB / 489.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.661e-05/0.1055, allocations: 0 / 489.4 MB, free: 6.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.1058, allocations: 23.84 kB / 489.4 MB, free: 6.77 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002221/0.106, allocations: 35.73 kB / 489.5 MB, free: 6.734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.1063, allocations: 76.27 kB / 489.6 MB, free: 6.66 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.1065, allocations: 47.91 kB / 489.6 MB, free: 6.613 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.1065, allocations: 11.84 kB / 489.6 MB, free: 6.602 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1067, allocations: 39.83 kB / 489.7 MB, free: 6.562 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.262e-05/0.1068, allocations: 23.86 kB / 489.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1068, allocations: 0 / 489.7 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001285/0.1069, allocations: 47.98 kB / 489.7 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.239e-05/0.107, allocations: 19.97 kB / 489.7 MB, free: 6.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.1071, allocations: 23.8 kB / 489.8 MB, free: 6.449 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002124/0.1073, allocations: 91.77 kB / 489.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.1073, allocations: 0 / 489.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.1073, allocations: 0 / 489.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1073, allocations: 0 / 489.9 MB, free: 6.359 MB / 366.1 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.0004845/0.1078, allocations: 379.2 kB / 490.2 MB, free: 5.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.1078, allocations: 19.83 kB / 490.2 MB, free: 5.922 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.1079, allocations: 8.844 kB / 490.3 MB, free: 5.914 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002212/0.1081, allocations: 184.3 kB / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.1081, allocations: 384 / 490.4 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.184e-05/0.1082, allocations: 4.375 kB / 490.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.1083, allocations: 63.53 kB / 490.5 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1083, allocations: 0 / 490.5 MB, free: 5.617 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.808e-06/0.1083, allocations: 7.938 kB / 490.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1083, allocations: 0 / 490.5 MB, free: 5.609 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.731e-05/0.1084, allocations: 19.98 kB / 490.5 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003747/0.1088, allocations: 280.8 kB / 490.8 MB, free: 5.266 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.108e-05/0.1089, allocations: 42.58 kB / 490.8 MB, free: 5.215 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.393e-05/0.1089, allocations: 16.78 kB / 490.9 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.1089, allocations: 4 kB / 490.9 MB, free: 5.191 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.429e-05/0.109, allocations: 30.56 kB / 490.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.32e-07/0.109, allocations: 0 / 490.9 MB, free: 5.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.000174/0.1092, allocations: 53.69 kB / 490.9 MB, free: 5.094 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.158e-05/0.1092, allocations: 81.11 kB / 491 MB, free: 4.996 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.1094, allocations: 137.8 kB / 491.2 MB, free: 4.852 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.1094, allocations: 25.7 kB / 491.2 MB, free: 4.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.367e-05/0.1095, allocations: 99.97 kB / 491.3 MB, free: 4.719 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.1095, allocations: 11.91 kB / 491.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.1095, allocations: 21.66 kB / 491.3 MB, free: 4.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.1097, allocations: 322.8 kB / 491.6 MB, free: 4.355 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.1097, allocations: 4 kB / 491.6 MB, free: 4.352 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.1097, allocations: 21.7 kB / 491.7 MB, free: 4.324 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.402e-05/0.1098, allocations: 20.86 kB / 491.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1098, allocations: 0 / 491.7 MB, free: 4.301 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.531e-05/0.1099, allocations: 53.62 kB / 491.7 MB, free: 4.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.1099, allocations: 8 kB / 491.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.1099, allocations: 0 / 491.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.1099, allocations: 0 / 491.7 MB, free: 4.234 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.185e-05/0.11, allocations: 11.94 kB / 491.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.9e-06/0.11, allocations: 0 / 491.7 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.65e-05/0.11, allocations: 3.984 kB / 491.8 MB, free: 4.219 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.11, allocations: 7.938 kB / 491.8 MB, free: 4.211 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001042/0.1101, allocations: 113.8 kB / 491.9 MB, free: 4.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.312e-05/0.1102, allocations: 7.906 kB / 491.9 MB, free: 4.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1102, allocations: 12.23 kB / 491.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1102, allocations: 0 / 491.9 MB, free: 4.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1102, allocations: 3.984 kB / 491.9 MB, free: 4.062 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.1102, allocations: 3.984 kB / 491.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000182/0.1104, allocations: 177.6 kB / 492.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1104, allocations: 0 / 492.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.1105, allocations: 8 kB / 492.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.1105, allocations: 0 / 492.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.67e-06/0.1105, allocations: 0 / 492.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.1105, allocations: 0 / 492.1 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1105, allocations: 4 kB / 492.1 MB, free: 3.824 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001299/0.1106, allocations: 159.3 kB / 492.2 MB, free: 3.652 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.623e-05/0.1107, allocations: 77.11 kB / 492.3 MB, free: 3.559 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.796e-05/0.1107, allocations: 4 kB / 492.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.1108, allocations: 0 / 492.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.243e-05/0.1108, allocations: 0 / 492.3 MB, free: 3.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1108, allocations: 3.938 kB / 492.3 MB, free: 3.551 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.704e-05/0.1109, allocations: 119.2 kB / 492.4 MB, free: 3.434 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1109, allocations: 4 kB / 492.4 MB, free: 3.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1112, allocations: 12 kB / 492.5 MB, free: 3.418 MB / 366.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000869/0.112, allocations: 401.5 kB / 492.8 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1121, allocations: 11.98 kB / 492.9 MB, free: 3.004 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1122, allocations: 4 kB / 492.9 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.98e-05/0.1122, allocations: 11.94 kB / 492.9 MB, free: 2.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003515/0.1125, allocations: 15.98 kB / 492.9 MB, free: 2.973 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003281/0.1129, allocations: 170.9 kB / 493.1 MB, free: 2.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002598/0.1132, allocations: 0.6924 MB / 493.7 MB, free: 2.055 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.028e-05/0.1132, allocations: 15.42 kB / 493.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1132, allocations: 0 / 493.8 MB, free: 2.039 MB / 366.1 MB Notification: Performance of Templates: time 0.003331/0.1166, allocations: 1.408 MB / 495.2 MB, free: 0.6289 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Tables.pipe 2>&1)