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.0009269/0.000927, allocations: 173.1 kB / 15.77 MB, free: 6.32 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.573/1.573, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008603/0.0008603, allocations: 90.34 kB / 270.3 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1752/0.1752, allocations: 38.06 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004376/0.0004378, allocations: 16 kB / 422.7 MB, free: 26.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1267, allocations: 56.34 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002353/0.1291, allocations: 1.076 MB / 480.1 MB, free: 0.9648 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004879/0.1296, allocations: 256 kB / 480.4 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.736e-05/0.1297, allocations: 0 / 480.4 MB, free: 0.7109 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002303/0.1299, allocations: 19.92 kB / 480.4 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.1301, allocations: 27.91 kB / 480.4 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1303, allocations: 51.94 kB / 480.5 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.1304, allocations: 51.83 kB / 480.5 MB, free: 0.5625 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.736e-05/0.1305, allocations: 8 kB / 480.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.1306, allocations: 35.78 kB / 480.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.1307, allocations: 11.92 kB / 480.6 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.726e-05/0.1307, allocations: 4 kB / 480.6 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.1308, allocations: 43.97 kB / 480.6 MB, free: 472 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.003e-05/0.1309, allocations: 19.92 kB / 480.7 MB, free: 452 kB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.74e-05/0.1309, allocations: 25.7 kB / 480.7 MB, free: 420 kB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.1311, allocations: 63.91 kB / 480.7 MB, free: 356 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.426e-06/0.1311, allocations: 4 kB / 480.8 MB, free: 352 kB / 314.7 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1311, allocations: 3.938 kB / 480.8 MB, free: 348 kB / 314.7 MB Notification: Performance of Transformations before backend: time 6.472e-06/0.1311, allocations: 4 kB / 480.8 MB, free: 344 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.000454/0.1316, allocations: 359.4 kB / 481.1 MB, free: 15.94 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.1316, allocations: 8.031 kB / 481.1 MB, free: 15.93 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.185e-05/0.1317, allocations: 15.8 kB / 481.1 MB, free: 15.91 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.1319, allocations: 198.9 kB / 481.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1319, allocations: 0 / 481.3 MB, free: 15.68 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.132, allocations: 7.938 kB / 481.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1321, allocations: 59.34 kB / 481.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.541e-05/0.1321, allocations: 4 kB / 481.4 MB, free: 15.6 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.011e-05/0.1321, allocations: 8 kB / 481.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1322, allocations: 0 / 481.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.409e-05/0.1322, allocations: 15.98 kB / 481.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003844/0.1326, allocations: 280.9 kB / 481.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.686e-05/0.1327, allocations: 42.5 kB / 481.7 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.505e-05/0.1327, allocations: 8.922 kB / 481.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.1328, allocations: 3.984 kB / 481.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/0.1328, allocations: 38.56 kB / 481.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.1328, allocations: 0 / 481.8 MB, free: 15.14 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001727/0.133, allocations: 57.55 kB / 481.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.1331, allocations: 77.11 kB / 481.9 MB, free: 14.98 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1332, allocations: 137.8 kB / 482.1 MB, free: 14.84 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.1332, allocations: 33.7 kB / 482.1 MB, free: 14.8 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.541e-05/0.1333, allocations: 96.06 kB / 482.2 MB, free: 14.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.03e-05/0.1333, allocations: 15.75 kB / 482.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.515e-06/0.1333, allocations: 0 / 482.2 MB, free: 14.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.1335, allocations: 318.8 kB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/0.1335, allocations: 8 kB / 482.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.289e-05/0.1335, allocations: 13.72 kB / 482.5 MB, free: 14.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.862e-05/0.1336, allocations: 16.3 kB / 482.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1336, allocations: 0 / 482.5 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.341e-05/0.1337, allocations: 49.69 kB / 482.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.1337, allocations: 7.984 kB / 482.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.1337, allocations: 0 / 482.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1337, allocations: 0 / 482.6 MB, free: 14.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.16e-05/0.1338, allocations: 11.89 kB / 482.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1338, allocations: 0 / 482.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.505e-05/0.1338, allocations: 7.906 kB / 482.6 MB, free: 14.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.1338, allocations: 0 / 482.6 MB, free: 14.24 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 9.11e-05/0.1339, allocations: 121.8 kB / 482.7 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.134, allocations: 7.984 kB / 482.7 MB, free: 14.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001289/0.1341, allocations: 53.5 kB / 482.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.1341, allocations: 4 kB / 482.8 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1341, allocations: 3.953 kB / 482.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-06/0.1341, allocations: 0 / 482.8 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1343, allocations: 177.6 kB / 483 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.1343, allocations: 0 / 483 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.1344, allocations: 4 kB / 483 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.1344, allocations: 0 / 483 MB, free: 13.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.1344, allocations: 11.88 kB / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1344, allocations: 0 / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1344, allocations: 0 / 483 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001145/0.1345, allocations: 143.5 kB / 483.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.956e-05/0.1346, allocations: 93 kB / 483.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1346, allocations: 0 / 483.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.867e-05/0.1346, allocations: 0 / 483.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.552e-05/0.1347, allocations: 4 kB / 483.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1347, allocations: 8 kB / 483.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.437e-05/0.1348, allocations: 111.8 kB / 483.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1348, allocations: 4 kB / 483.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002425/0.135, allocations: 15.95 kB / 483.4 MB, free: 13.39 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.0007886/0.1358, allocations: 386.4 kB / 483.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 9.16e-05/0.1359, allocations: 23.92 kB / 483.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1359, allocations: 0 / 483.8 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.136, allocations: 8 kB / 483.8 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.1363, allocations: 11.98 kB / 483.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.1366, allocations: 192.5 kB / 484 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002874/0.1369, allocations: 0.6887 MB / 484.7 MB, free: 12.07 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.868e-05/0.137, allocations: 19.42 kB / 484.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of SimCode: time 2.5e-07/0.137, allocations: 0 / 484.7 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Templates: time 0.003063/0.1401, allocations: 1.399 MB / 486.1 MB, free: 10.66 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)