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.001593/0.001593, allocations: 188.1 kB / 15.77 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.07/2.07, allocations: 205.4 MB / 221.9 MB, free: 13.81 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.001114/0.001113, allocations: 98.84 kB / 270.2 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2576/0.2576, allocations: 38.06 MB / 356.6 MB, free: 0.7852 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000626/0.0006263, allocations: 12 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1179, allocations: 56.33 MB / 479 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002301/0.1202, allocations: 1.081 MB / 480.1 MB, free: 0.9609 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006746/0.1209, allocations: 247.9 kB / 480.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.196e-05/0.121, allocations: 0 / 480.3 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.1212, allocations: 23.88 kB / 480.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.1214, allocations: 27.91 kB / 480.4 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002725/0.1217, allocations: 55.8 kB / 480.5 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.1218, allocations: 35.95 kB / 480.5 MB, free: 0.5742 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.992e-05/0.1219, allocations: 11.92 kB / 480.5 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1221, allocations: 23.86 kB / 480.5 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.436e-05/0.1221, allocations: 15.92 kB / 480.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.564e-05/0.1222, allocations: 4 kB / 480.5 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.1223, allocations: 27.98 kB / 480.6 MB, free: 0.4922 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.184e-05/0.1223, allocations: 19.92 kB / 480.6 MB, free: 484 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.853e-05/0.1224, allocations: 33.64 kB / 480.6 MB, free: 444 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001675/0.1226, allocations: 63.89 kB / 480.7 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.1226, allocations: 0 / 480.7 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1226, allocations: 0 / 480.7 MB, free: 380 kB / 314.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1226, allocations: 0 / 480.7 MB, free: 380 kB / 314.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.0005088/0.1231, allocations: 371.4 kB / 481 MB, free: 15.96 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1232, allocations: 11.97 kB / 481.1 MB, free: 15.95 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.775e-05/0.1232, allocations: 11.86 kB / 481.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.1235, allocations: 182.9 kB / 481.2 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1235, allocations: 11.98 kB / 481.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/0.1236, allocations: 0 / 481.3 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1237, allocations: 67.34 kB / 481.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.1238, allocations: 0 / 481.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.1238, allocations: 0 / 481.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.995e-06/0.1238, allocations: 4 kB / 481.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.613e-05/0.1239, allocations: 23.92 kB / 481.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.1243, allocations: 276.9 kB / 481.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001136/0.1245, allocations: 38.56 kB / 481.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.1245, allocations: 0 / 481.7 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.1245, allocations: 34.5 kB / 481.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.1246, allocations: 0 / 481.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002068/0.1248, allocations: 65.7 kB / 481.8 MB, free: 15.12 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.099e-05/0.1248, allocations: 77.11 kB / 481.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002038/0.1251, allocations: 145.8 kB / 482 MB, free: 14.88 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.205e-05/0.1251, allocations: 25.7 kB / 482 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.1252, allocations: 154.6 kB / 482.2 MB, free: 14.69 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.1252, allocations: 15.75 kB / 482.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.212e-06/0.1252, allocations: 4 kB / 482.2 MB, free: 14.67 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1254, allocations: 310.8 kB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.1254, allocations: 11.98 kB / 482.5 MB, free: 14.35 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.785e-05/0.1255, allocations: 21.66 kB / 482.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.248e-05/0.1255, allocations: 4 kB / 482.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1255, allocations: 0 / 482.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001072/0.1256, allocations: 45.69 kB / 482.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.1257, allocations: 8 kB / 482.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.1257, allocations: 0 / 482.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.1257, allocations: 3.938 kB / 482.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.241e-05/0.1258, allocations: 7.984 kB / 482.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1258, allocations: 7.984 kB / 482.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.974e-05/0.1259, allocations: 0 / 482.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.1259, allocations: 4 kB / 482.6 MB, free: 14.23 MB / 330.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 0.0001041/0.126, allocations: 113.8 kB / 482.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.676e-05/0.126, allocations: 3.906 kB / 482.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/0.1262, allocations: 69.83 kB / 482.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1262, allocations: 0 / 482.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1263, allocations: 0 / 482.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1263, allocations: 3.953 kB / 482.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/0.1265, allocations: 181.6 kB / 483 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1265, allocations: 0 / 483 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.298e-05/0.1266, allocations: 4 kB / 483 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.411e-05/0.1266, allocations: 7.984 kB / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.1266, allocations: 0 / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1267, allocations: 0 / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1267, allocations: 0 / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.1268, allocations: 159.3 kB / 483.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.869e-05/0.1269, allocations: 81.02 kB / 483.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.489e-05/0.127, allocations: 11.98 kB / 483.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.646e-05/0.127, allocations: 0 / 483.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.501e-05/0.1271, allocations: 0 / 483.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.1271, allocations: 0 / 483.2 MB, free: 13.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001371/0.1272, allocations: 115.8 kB / 483.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1272, allocations: 0 / 483.3 MB, free: 13.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003478/0.1276, allocations: 23.98 kB / 483.3 MB, free: 13.37 MB / 330.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.001136/0.1287, allocations: 390.5 kB / 483.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001087/0.1289, allocations: 12 kB / 483.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1289, allocations: 4 kB / 483.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 3.353e-05/0.1289, allocations: 15.92 kB / 483.8 MB, free: 13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.1292, allocations: 15.98 kB / 483.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004153/0.1297, allocations: 176.6 kB / 483.9 MB, free: 12.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003355/0.13, allocations: 0.6926 MB / 484.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.784e-05/0.1301, allocations: 19.42 kB / 484.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.1301, allocations: 0 / 484.7 MB, free: 12.04 MB / 330.7 MB Notification: Performance of Templates: time 0.00442/0.1345, allocations: 1.419 MB / 486.1 MB, free: 10.63 MB / 330.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)