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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001867/0.001867, allocations: 108.6 kB / 16.62 MB, free: 6.809 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.00181/0.00181, allocations: 193.8 kB / 17.55 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 222.9 MB / 241.2 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1707/0.1707, allocations: 38.02 MB / 329.4 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001353, allocations: 61.17 kB / 398.3 MB, free: 34.37 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1193, allocations: 58.07 MB / 456.3 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.003445/0.1228, allocations: 1.424 MB / 457.8 MB, free: 6.953 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007347/0.1235, allocations: 367.3 kB / 458.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1236, allocations: 0 / 458.1 MB, free: 6.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.1239, allocations: 19.94 kB / 458.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002152/0.1242, allocations: 31.91 kB / 458.2 MB, free: 6.539 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002871/0.1245, allocations: 63.86 kB / 458.2 MB, free: 6.477 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.1246, allocations: 59.83 kB / 458.3 MB, free: 6.418 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.717e-05/0.1247, allocations: 11.98 kB / 458.3 MB, free: 6.406 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1249, allocations: 27.88 kB / 458.3 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.227e-05/0.125, allocations: 23.03 kB / 458.3 MB, free: 6.359 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.125, allocations: 4 kB / 458.4 MB, free: 6.355 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1251, allocations: 47.97 kB / 458.4 MB, free: 6.309 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.961e-05/0.1252, allocations: 19.92 kB / 458.4 MB, free: 6.289 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.861e-05/0.1252, allocations: 23.86 kB / 458.4 MB, free: 6.266 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1255, allocations: 91.66 kB / 458.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1255, allocations: 0 / 458.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1255, allocations: 0 / 458.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.1256, allocations: 4 kB / 458.5 MB, free: 6.172 MB / 334.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.0004496/0.126, allocations: 375.5 kB / 458.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1261, allocations: 15.83 kB / 458.9 MB, free: 5.742 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.333e-05/0.1261, allocations: 8.844 kB / 458.9 MB, free: 5.734 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1264, allocations: 196.2 kB / 459.1 MB, free: 5.504 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-06/0.1264, allocations: 4.375 kB / 459.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.1264, allocations: 384 / 459.1 MB, free: 5.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001493/0.1266, allocations: 71.45 kB / 459.2 MB, free: 5.418 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.1266, allocations: 4 kB / 459.2 MB, free: 5.414 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1266, allocations: 4 kB / 459.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1266, allocations: 0 / 459.2 MB, free: 5.41 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.729e-05/0.1267, allocations: 19.97 kB / 459.2 MB, free: 5.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005265/0.1272, allocations: 276.9 kB / 459.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.82e-05/0.1273, allocations: 42.5 kB / 459.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.181e-05/0.1273, allocations: 12.92 kB / 459.5 MB, free: 5.004 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1274, allocations: 4 kB / 459.5 MB, free: 5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1274, allocations: 30.56 kB / 459.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.1274, allocations: 0 / 459.6 MB, free: 4.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001945/0.1276, allocations: 53.59 kB / 459.6 MB, free: 4.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1277, allocations: 84.98 kB / 459.7 MB, free: 4.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.1278, allocations: 148.9 kB / 459.9 MB, free: 4.648 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1279, allocations: 29.7 kB / 459.9 MB, free: 4.613 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.815e-05/0.1279, allocations: 92.05 kB / 460 MB, free: 4.52 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.128, allocations: 15.84 kB / 460 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.128, allocations: 13.7 kB / 460 MB, free: 4.484 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1281, allocations: 322.8 kB / 460.3 MB, free: 4.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.935e-05/0.1282, allocations: 7.984 kB / 460.3 MB, free: 4.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.609e-05/0.1282, allocations: 17.72 kB / 460.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.584e-05/0.1282, allocations: 20.89 kB / 460.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1282, allocations: 0 / 460.4 MB, free: 4.105 MB / 334.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001066/0.1283, allocations: 57.53 kB / 460.4 MB, free: 4.043 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.1284, allocations: 4 kB / 460.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.1284, allocations: 0 / 460.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.1284, allocations: 3.984 kB / 460.4 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.534e-05/0.1285, allocations: 8 kB / 460.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.1285, allocations: 4 kB / 460.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.355e-05/0.1285, allocations: 0 / 460.4 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.1285, allocations: 0 / 460.4 MB, free: 4.023 MB / 334.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.089e-05/0.1286, allocations: 122.7 kB / 460.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.553e-05/0.1287, allocations: 7.906 kB / 460.6 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.1288, allocations: 61.58 kB / 460.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1288, allocations: 0 / 460.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1288, allocations: 0 / 460.6 MB, free: 3.812 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.1288, allocations: 3.938 kB / 460.6 MB, free: 3.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.129, allocations: 177.5 kB / 460.8 MB, free: 3.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.129, allocations: 3.984 kB / 460.8 MB, free: 3.582 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.59e-05/0.129, allocations: 4 kB / 460.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.129, allocations: 4 kB / 460.8 MB, free: 3.574 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.1291, allocations: 4 kB / 460.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1291, allocations: 0 / 460.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1291, allocations: 0 / 460.8 MB, free: 3.57 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001193/0.1292, allocations: 155.8 kB / 461 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.236e-05/0.1292, allocations: 77.11 kB / 461 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.1293, allocations: 0 / 461 MB, free: 3.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.1293, allocations: 4 kB / 461.1 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.1293, allocations: 11.92 kB / 461.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-06/0.1294, allocations: 0 / 461.1 MB, free: 3.293 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.871e-05/0.1295, allocations: 107.3 kB / 461.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.853e-06/0.1295, allocations: 0 / 461.2 MB, free: 3.188 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1297, allocations: 27.92 kB / 461.2 MB, free: 3.16 MB / 334.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.0008467/0.1306, allocations: 394.5 kB / 461.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.1307, allocations: 16 kB / 461.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1307, allocations: 0 / 461.6 MB, free: 2.906 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.1307, allocations: 19.98 kB / 461.6 MB, free: 2.887 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.1311, allocations: 13.69 kB / 461.6 MB, free: 2.875 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.1314, allocations: 164.9 kB / 461.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.1317, allocations: 0.6924 MB / 462.5 MB, free: 1.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.88e-05/0.1318, allocations: 19.97 kB / 462.5 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.384e-05/0.1318, allocations: 15.44 kB / 462.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1318, allocations: 0 / 462.5 MB, free: 1.934 MB / 334.1 MB Notification: Performance of Templates: time 0.00399/0.1358, allocations: 1.166 MB / 463.7 MB, free: 0.7734 MB / 334.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)