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.001728/0.001728, allocations: 112.6 kB / 17.06 MB, free: 5.973 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.002107/0.002107, allocations: 200 kB / 18 MB, free: 5.055 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.522/1.522, allocations: 205.1 MB / 223.9 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1925/0.1925, allocations: 37.99 MB / 309.2 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.001582/0.001582, allocations: 67.91 kB / 431.8 MB, free: 15.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1173, allocations: 55.25 MB / 487.1 MB, free: 8.359 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003391/0.1207, allocations: 1.396 MB / 488.5 MB, free: 6.957 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005804/0.1213, allocations: 275.7 kB / 488.8 MB, free: 6.684 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.368e-05/0.1214, allocations: 4 kB / 488.8 MB, free: 6.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.1216, allocations: 23.84 kB / 488.8 MB, free: 6.656 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.0001775/0.1219, allocations: 35.78 kB / 488.8 MB, free: 6.621 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.1221, allocations: 64.28 kB / 488.9 MB, free: 6.559 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001393/0.1222, allocations: 55.84 kB / 488.9 MB, free: 6.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.1223, allocations: 11.84 kB / 488.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001473/0.1224, allocations: 27.91 kB / 489 MB, free: 6.465 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.775e-05/0.1225, allocations: 27.86 kB / 489 MB, free: 6.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.1225, allocations: 4 kB / 489 MB, free: 6.434 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1226, allocations: 59.89 kB / 489.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.311e-05/0.1227, allocations: 15.98 kB / 489.1 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.25e-05/0.1228, allocations: 19.81 kB / 489.1 MB, free: 6.34 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001986/0.123, allocations: 91.77 kB / 489.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.123, allocations: 0 / 489.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.123, allocations: 0 / 489.2 MB, free: 6.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.123, allocations: 0 / 489.2 MB, free: 6.25 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.0004665/0.1235, allocations: 375.3 kB / 489.6 MB, free: 5.836 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1235, allocations: 15.83 kB / 489.6 MB, free: 5.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.1236, allocations: 8.844 kB / 489.6 MB, free: 5.812 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002982/0.1239, allocations: 188.2 kB / 489.8 MB, free: 5.59 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.1239, allocations: 4.375 kB / 489.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.598e-06/0.1239, allocations: 384 / 489.8 MB, free: 5.586 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.124, allocations: 67.52 kB / 489.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.1241, allocations: 0 / 489.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1241, allocations: 0 / 489.8 MB, free: 5.508 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1241, allocations: 8 kB / 489.8 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.043e-05/0.1241, allocations: 15.98 kB / 489.9 MB, free: 5.484 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000373/0.1245, allocations: 284.8 kB / 490.1 MB, free: 5.156 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.421e-05/0.1246, allocations: 38.56 kB / 490.2 MB, free: 5.109 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.1246, allocations: 8.922 kB / 490.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.1247, allocations: 0 / 490.2 MB, free: 5.098 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.1247, allocations: 38.56 kB / 490.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 9.21e-07/0.1247, allocations: 0 / 490.2 MB, free: 5.051 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001704/0.1249, allocations: 57.62 kB / 490.3 MB, free: 4.988 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1249, allocations: 77.11 kB / 490.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1251, allocations: 141.8 kB / 490.5 MB, free: 4.746 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.1251, allocations: 25.7 kB / 490.5 MB, free: 4.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.1252, allocations: 103.9 kB / 490.6 MB, free: 4.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1252, allocations: 7.891 kB / 490.6 MB, free: 4.602 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1253, allocations: 25.7 kB / 490.6 MB, free: 4.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1255, allocations: 322.8 kB / 491 MB, free: 4.246 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.607e-05/0.1255, allocations: 4 kB / 491 MB, free: 4.242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/0.1255, allocations: 17.89 kB / 491 MB, free: 4.219 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.834e-05/0.1255, allocations: 24.88 kB / 491 MB, free: 4.191 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1256, allocations: 0 / 491 MB, free: 4.191 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.717e-05/0.1256, allocations: 53.59 kB / 491.1 MB, free: 4.133 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.1257, allocations: 8.031 kB / 491.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1257, allocations: 0 / 491.1 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.1257, allocations: 3.984 kB / 491.1 MB, free: 4.121 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.109e-05/0.1258, allocations: 8 kB / 491.1 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1258, allocations: 4 kB / 491.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.577e-05/0.1258, allocations: 0 / 491.1 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.1258, allocations: 7.938 kB / 491.1 MB, free: 4.102 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 9.878e-05/0.1259, allocations: 113.8 kB / 491.2 MB, free: 3.98 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.294e-05/0.126, allocations: 7.906 kB / 491.2 MB, free: 3.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.126, allocations: 19.89 kB / 491.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.126, allocations: 0 / 491.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.126, allocations: 0 / 491.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.126, allocations: 0 / 491.2 MB, free: 3.949 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001719/0.1262, allocations: 177.5 kB / 491.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1262, allocations: 0 / 491.4 MB, free: 3.727 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.1263, allocations: 4 kB / 491.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1263, allocations: 0 / 491.4 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/0.1263, allocations: 3.984 kB / 491.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1263, allocations: 0 / 491.4 MB, free: 3.719 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1263, allocations: 4 kB / 491.4 MB, free: 3.715 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001103/0.1264, allocations: 151.4 kB / 491.6 MB, free: 3.551 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.1265, allocations: 81.11 kB / 491.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.1265, allocations: 0 / 491.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.868e-05/0.1265, allocations: 0 / 491.6 MB, free: 3.453 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.264e-05/0.1266, allocations: 4 kB / 491.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.1266, allocations: 0 / 491.6 MB, free: 3.449 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.295e-05/0.1267, allocations: 119.2 kB / 491.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1267, allocations: 0 / 491.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002524/0.1269, allocations: 16 kB / 491.8 MB, free: 3.316 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.0008336/0.1278, allocations: 405.5 kB / 492.2 MB, free: 2.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001069/0.1279, allocations: 15.98 kB / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1279, allocations: 0 / 492.2 MB, free: 2.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.883e-05/0.1279, allocations: 12 kB / 492.2 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.1282, allocations: 19.92 kB / 492.2 MB, free: 2.863 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.1285, allocations: 141.2 kB / 492.4 MB, free: 2.699 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002813/0.1288, allocations: 0.6962 MB / 493.1 MB, free: 1.977 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.465e-05/0.1288, allocations: 11.98 kB / 493.1 MB, free: 1.965 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.238e-05/0.1289, allocations: 15.42 kB / 493.1 MB, free: 1.949 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1289, allocations: 4 kB / 493.1 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Templates: time 0.003602/0.1325, allocations: 1.164 MB / 494.3 MB, free: 0.7812 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)