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.001068/0.001068, allocations: 96.83 kB / 16.3 MB, free: 5.996 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.001101/0.001102, allocations: 181.1 kB / 17.2 MB, free: 5.906 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.948/1.948, allocations: 205.4 MB / 223.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.4244/0.4244, allocations: 38.05 MB / 309.7 MB, free: 8.848 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.0006007/0.000601, allocations: 14.19 kB / 376.5 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1358, allocations: 56.34 MB / 432.8 MB, free: 6.73 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002011/0.1378, allocations: 1.07 MB / 433.9 MB, free: 5.66 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006209/0.1385, allocations: 243.9 kB / 434.1 MB, free: 5.418 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.607e-05/0.1386, allocations: 4 kB / 434.1 MB, free: 5.414 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.1388, allocations: 15.86 kB / 434.1 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.1391, allocations: 31.91 kB / 434.2 MB, free: 5.367 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002617/0.1393, allocations: 59.91 kB / 434.2 MB, free: 5.309 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1395, allocations: 27.91 kB / 434.3 MB, free: 5.281 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.1396, allocations: 11.92 kB / 434.3 MB, free: 5.27 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001825/0.1398, allocations: 23.94 kB / 434.3 MB, free: 5.246 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.631e-05/0.1398, allocations: 19.84 kB / 434.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.339e-05/0.1399, allocations: 0 / 434.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.14, allocations: 31.98 kB / 434.3 MB, free: 5.195 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.02e-05/0.1401, allocations: 15.98 kB / 434.4 MB, free: 5.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 4.234e-05/0.1401, allocations: 37.64 kB / 434.4 MB, free: 5.137 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001792/0.1403, allocations: 63.83 kB / 434.5 MB, free: 5.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.1403, allocations: 0 / 434.5 MB, free: 5.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1403, allocations: 0 / 434.5 MB, free: 5.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.1403, allocations: 4 kB / 434.5 MB, free: 5.07 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.0004803/0.1408, allocations: 359.4 kB / 434.8 MB, free: 4.672 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/0.1409, allocations: 12.03 kB / 434.8 MB, free: 4.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.008e-05/0.1409, allocations: 11.86 kB / 434.8 MB, free: 4.648 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.1412, allocations: 190.9 kB / 435 MB, free: 4.422 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1412, allocations: 4 kB / 435 MB, free: 4.418 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.1412, allocations: 4 kB / 435 MB, free: 4.414 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.1414, allocations: 67.39 kB / 435.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1414, allocations: 0 / 435.1 MB, free: 4.336 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1414, allocations: 3.984 kB / 435.1 MB, free: 4.332 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.1414, allocations: 3.938 kB / 435.1 MB, free: 4.328 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.1415, allocations: 23.94 kB / 435.1 MB, free: 4.305 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004057/0.1419, allocations: 280.8 kB / 435.4 MB, free: 3.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/0.142, allocations: 34.56 kB / 435.4 MB, free: 3.938 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.1421, allocations: 4.062 kB / 435.4 MB, free: 3.934 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.1421, allocations: 34.56 kB / 435.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1421, allocations: 0 / 435.5 MB, free: 3.891 MB / 366.1 MB Notification: Performance of matching and sorting (n=3): time 0.0002125/0.1423, allocations: 65.58 kB / 435.5 MB, free: 3.82 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.818e-05/0.1424, allocations: 77.11 kB / 435.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1426, allocations: 141.8 kB / 435.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.1426, allocations: 33.64 kB / 435.8 MB, free: 3.539 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.391e-05/0.1427, allocations: 92.12 kB / 435.9 MB, free: 3.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.1427, allocations: 11.83 kB / 435.9 MB, free: 3.434 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.051e-06/0.1427, allocations: 8 kB / 435.9 MB, free: 3.426 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.1429, allocations: 314.8 kB / 436.2 MB, free: 3.109 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.906e-05/0.1429, allocations: 8 kB / 436.2 MB, free: 3.102 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.403e-05/0.1429, allocations: 17.72 kB / 436.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.683e-05/0.143, allocations: 15.92 kB / 436.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.143, allocations: 0 / 436.2 MB, free: 3.062 MB / 366.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 8.644e-05/0.1431, allocations: 53.59 kB / 436.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1431, allocations: 4 kB / 436.3 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.1431, allocations: 0 / 436.3 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1431, allocations: 3.953 kB / 436.3 MB, free: 2.996 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.728e-05/0.1432, allocations: 4 kB / 436.3 MB, free: 2.992 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.046e-06/0.1432, allocations: 4 kB / 436.3 MB, free: 2.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.1432, allocations: 4.031 kB / 436.3 MB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1432, allocations: 0 / 436.3 MB, free: 2.984 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 (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.1433, allocations: 117.8 kB / 436.4 MB, free: 2.859 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1434, allocations: 7.906 kB / 436.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001482/0.1435, allocations: 57.53 kB / 436.5 MB, free: 2.781 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.958e-06/0.1436, allocations: 3.953 kB / 436.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1436, allocations: 0 / 436.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.1436, allocations: 0 / 436.5 MB, free: 2.777 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.1438, allocations: 177.6 kB / 436.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1438, allocations: 0 / 436.7 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.1438, allocations: 8 kB / 436.7 MB, free: 2.547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.1438, allocations: 3.938 kB / 436.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.1438, allocations: 0 / 436.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1438, allocations: 0 / 436.7 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.1439, allocations: 7.953 kB / 436.7 MB, free: 2.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.144, allocations: 151.8 kB / 436.8 MB, free: 2.371 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.052e-05/0.1441, allocations: 93 kB / 436.9 MB, free: 2.262 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1441, allocations: 8 kB / 436.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.624e-05/0.1441, allocations: 0 / 436.9 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.161e-05/0.1442, allocations: 4 kB / 436.9 MB, free: 2.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.1442, allocations: 3.953 kB / 436.9 MB, free: 2.246 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.714e-05/0.1443, allocations: 111.2 kB / 437.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1443, allocations: 0 / 437.1 MB, free: 2.137 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002498/0.1445, allocations: 20 kB / 437.1 MB, free: 2.117 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 (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.0008556/0.1454, allocations: 377.7 kB / 437.4 MB, free: 1.738 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001027/0.1455, allocations: 19.98 kB / 437.5 MB, free: 1.719 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.1455, allocations: 4 kB / 437.5 MB, free: 1.715 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 1.924e-05/0.1455, allocations: 15.88 kB / 437.5 MB, free: 1.699 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002503/0.1458, allocations: 11.98 kB / 437.5 MB, free: 1.688 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003236/0.1461, allocations: 146.9 kB / 437.6 MB, free: 1.516 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.1465, allocations: 0.6965 MB / 438.3 MB, free: 0.793 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.661e-05/0.1465, allocations: 20.34 kB / 438.4 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.1466, allocations: 15.44 kB / 438.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of SimCode: time 6.72e-07/0.1466, allocations: 0 / 438.4 MB, free: 0.7578 MB / 366.1 MB Notification: Performance of Templates: time 0.003666/0.1503, allocations: 1.123 MB / 439.5 MB, free: 15.63 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: