Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_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.001041/0.001041, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.531/1.531, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008151/0.0008153, allocations: 90.7 kB / 267.5 MB, free: 14.03 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1615/0.1615, allocations: 37.98 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.887e-05/2.906e-05, allocations: 4 kB / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1134, allocations: 56.32 MB / 474 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.488/0.6015, allocations: 87.08 MB / 0.548 GB, free: 11.37 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001382/0.6029, allocations: 0.6665 MB / 0.5486 GB, free: 11.32 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005333/0.6083, allocations: 2.402 MB / 0.551 GB, free: 10.34 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6083, allocations: 5.906 kB / 0.551 GB, free: 10.34 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.116e-05/0.6084, allocations: 0 / 0.551 GB, free: 10.34 MB / 362.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.0002584/0.6086, allocations: 365.8 kB / 0.5513 GB, free: 9.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/0.6087, allocations: 7.75 kB / 0.5513 GB, free: 9.957 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.974e-05/0.6087, allocations: 11 kB / 0.5513 GB, free: 9.953 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002191/0.6089, allocations: 194.3 kB / 0.5515 GB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.609, allocations: 3.875 kB / 0.5515 GB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.43e-05/0.609, allocations: 0 / 0.5515 GB, free: 9.738 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001178/0.6091, allocations: 61.12 kB / 0.5516 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6091, allocations: 0 / 0.5516 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6091, allocations: 3.875 kB / 0.5516 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.6092, allocations: 0 / 0.5516 GB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.47e-05/0.6092, allocations: 23.23 kB / 0.5516 GB, free: 9.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.6095, allocations: 281.9 kB / 0.5519 GB, free: 9.391 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.863e-05/0.6096, allocations: 40.41 kB / 0.5519 GB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.082e-05/0.6097, allocations: 8.703 kB / 0.5519 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.039e-05/0.6097, allocations: 3.812 kB / 0.5519 GB, free: 9.352 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.6097, allocations: 38.12 kB / 0.552 GB, free: 9.309 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.6097, allocations: 0 / 0.552 GB, free: 9.309 MB / 362.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001423/0.6099, allocations: 48.09 kB / 0.552 GB, free: 9.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.723e-05/0.6099, allocations: 84.94 kB / 0.5521 GB, free: 9.172 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.61, allocations: 131.8 kB / 0.5522 GB, free: 9.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.003e-05/0.6101, allocations: 32.86 kB / 0.5523 GB, free: 9.039 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.117e-05/0.6101, allocations: 89.77 kB / 0.5523 GB, free: 8.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.642e-05/0.6101, allocations: 15.02 kB / 0.5524 GB, free: 8.945 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.6101, allocations: 2.938 kB / 0.5524 GB, free: 8.945 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.649e-05/0.6102, allocations: 322 kB / 0.5527 GB, free: 8.625 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.544e-05/0.6102, allocations: 7.562 kB / 0.5527 GB, free: 8.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.6102, allocations: 24.84 kB / 0.5527 GB, free: 8.602 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.219e-05/0.6103, allocations: 7.859 kB / 0.5527 GB, free: 8.598 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6103, allocations: 0 / 0.5527 GB, free: 8.598 MB / 362.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.125e-05/0.6103, allocations: 48.72 kB / 0.5527 GB, free: 8.562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.6104, allocations: 3.844 kB / 0.5528 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6104, allocations: 0 / 0.5528 GB, free: 8.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6104, allocations: 4.031 kB / 0.5528 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.137e-05/0.6104, allocations: 3.844 kB / 0.5528 GB, free: 8.559 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.6105, allocations: 7.828 kB / 0.5528 GB, free: 8.555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.127e-05/0.6105, allocations: 3.953 kB / 0.5528 GB, free: 8.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.6105, allocations: 0 / 0.5528 GB, free: 8.551 MB / 362.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 () * 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 4.462e-05/0.6105, allocations: 112.7 kB / 0.5529 GB, free: 8.441 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.582e-05/0.6106, allocations: 3.906 kB / 0.5529 GB, free: 8.438 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000106/0.6107, allocations: 56.23 kB / 0.5529 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.6107, allocations: 0 / 0.5529 GB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6107, allocations: 7.844 kB / 0.5529 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.6107, allocations: 0 / 0.5529 GB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001318/0.6108, allocations: 180.3 kB / 0.5531 GB, free: 8.184 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6109, allocations: 4 kB / 0.5531 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.226e-05/0.6109, allocations: 3.812 kB / 0.5531 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.6109, allocations: 0 / 0.5531 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.6109, allocations: 0 / 0.5531 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.6109, allocations: 0 / 0.5531 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.6109, allocations: 0 / 0.5531 GB, free: 8.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.395e-05/0.611, allocations: 157.9 kB / 0.5533 GB, free: 8.031 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.288e-05/0.611, allocations: 88.31 kB / 0.5534 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.6111, allocations: 0 / 0.5534 GB, free: 7.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.495e-05/0.6111, allocations: 7.781 kB / 0.5534 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.447e-05/0.6111, allocations: 0 / 0.5534 GB, free: 7.926 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.464e-06/0.6111, allocations: 3.938 kB / 0.5534 GB, free: 7.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.048e-05/0.6112, allocations: 112.5 kB / 0.5535 GB, free: 7.844 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6112, allocations: 0 / 0.5535 GB, free: 7.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002346/0.6115, allocations: 27.06 kB / 0.5535 GB, free: 7.836 MB / 362.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 () * 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.000709/0.6122, allocations: 355.9 kB / 0.5538 GB, free: 7.586 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 8.338e-05/0.6123, allocations: 22.64 kB / 0.5539 GB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.6123, allocations: 0 / 0.5539 GB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.297e-05/0.6123, allocations: 7.719 kB / 0.5539 GB, free: 7.578 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001984/0.6125, allocations: 15.09 kB / 0.5539 GB, free: 7.57 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002351/0.6127, allocations: 102 kB / 0.554 GB, free: 7.48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001303/0.6129, allocations: 0.6923 MB / 0.5547 GB, free: 6.777 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.19e-05/0.6129, allocations: 15.89 kB / 0.5547 GB, free: 6.77 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.747e-05/0.613, allocations: 15.23 kB / 0.5547 GB, free: 6.758 MB / 362.7 MB Notification: Performance of SimCode: time 3.5e-07/0.613, allocations: 0 / 0.5547 GB, free: 6.758 MB / 362.7 MB Notification: Performance of Templates: time 0.003007/0.616, allocations: 1.156 MB / 0.5558 GB, free: 6.156 MB / 362.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.Tables -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.Tables.mat","../files/PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches