Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.Tables.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.001526, allocations: 185.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.2 MB / 218.9 MB, free: 9.211 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001094, allocations: 90.7 kB / 267.1 MB, free: 9.285 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.3001/0.3001, allocations: 37.97 MB / 353.1 MB, free: 3.055 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.331e-05, allocations: 7.984 kB / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 56.31 MB / 473.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4916/0.5928, allocations: 87.08 MB / 0.5471 GB, free: 0.7031 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002218/0.595, allocations: 0.6605 MB / 0.5477 GB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009865/0.605, allocations: 2.415 MB / 0.5501 GB, free: 13.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.605, allocations: 0 / 0.5501 GB, free: 13.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.605, allocations: 0 / 0.5501 GB, free: 13.64 MB / 394.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.0003818/0.6054, allocations: 359 kB / 0.5504 GB, free: 13.25 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.6055, allocations: 12.03 kB / 0.5504 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.6055, allocations: 7.906 kB / 0.5504 GB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.6058, allocations: 200 kB / 0.5506 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.6058, allocations: 4 kB / 0.5506 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/0.6059, allocations: 4 kB / 0.5506 GB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.606, allocations: 59.41 kB / 0.5507 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.606, allocations: 0 / 0.5507 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.197e-05/0.6061, allocations: 0 / 0.5507 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.6061, allocations: 0 / 0.5507 GB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.946e-05/0.6062, allocations: 23.98 kB / 0.5507 GB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004338/0.6066, allocations: 280.9 kB / 0.551 GB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.6067, allocations: 34.56 kB / 0.551 GB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.218e-05/0.6068, allocations: 8.922 kB / 0.551 GB, free: 12.51 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.872e-05/0.6068, allocations: 8 kB / 0.551 GB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.6069, allocations: 34.56 kB / 0.5511 GB, free: 12.46 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 5.851e-06/0.6069, allocations: 3.984 kB / 0.5511 GB, free: 12.46 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001781/0.6071, allocations: 53.62 kB / 0.5511 GB, free: 12.4 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.85e-05/0.6071, allocations: 81.06 kB / 0.5512 GB, free: 12.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001809/0.6073, allocations: 132.9 kB / 0.5513 GB, free: 12.16 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.054e-05/0.6074, allocations: 25.7 kB / 0.5513 GB, free: 12.13 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.91e-05/0.6075, allocations: 162.5 kB / 0.5515 GB, free: 11.97 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.6075, allocations: 15.81 kB / 0.5515 GB, free: 11.96 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-06/0.6075, allocations: 4 kB / 0.5515 GB, free: 11.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.6076, allocations: 310.8 kB / 0.5518 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.308e-05/0.6077, allocations: 4 kB / 0.5518 GB, free: 11.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.762e-05/0.6077, allocations: 17.72 kB / 0.5518 GB, free: 11.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.298e-05/0.6078, allocations: 7.984 kB / 0.5518 GB, free: 11.61 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.6078, allocations: 4 kB / 0.5518 GB, free: 11.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001061/0.6079, allocations: 49.62 kB / 0.5519 GB, free: 11.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.6079, allocations: 6.031 kB / 0.5519 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.6079, allocations: 4.031 kB / 0.5519 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.608, allocations: 0 / 0.5519 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.455e-05/0.608, allocations: 4 kB / 0.5519 GB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.6081, allocations: 3.984 kB / 0.5519 GB, free: 11.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.978e-05/0.6081, allocations: 7.953 kB / 0.5519 GB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-06/0.6081, allocations: 0 / 0.5519 GB, free: 11.52 MB / 394.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 7.339e-05/0.6082, allocations: 104.9 kB / 0.552 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.515e-05/0.6083, allocations: 15.89 kB / 0.552 GB, free: 11.4 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001651/0.6085, allocations: 61.66 kB / 0.5521 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.6085, allocations: 0 / 0.5521 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.6085, allocations: 0 / 0.5521 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.6085, allocations: 0 / 0.5521 GB, free: 11.33 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002182/0.6087, allocations: 177.6 kB / 0.5523 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6087, allocations: 0 / 0.5523 GB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.589e-05/0.6088, allocations: 8 kB / 0.5523 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.6088, allocations: 0 / 0.5523 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.6088, allocations: 4 kB / 0.5523 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.6088, allocations: 0 / 0.5523 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.6088, allocations: 0 / 0.5523 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001593/0.609, allocations: 159.3 kB / 0.5524 GB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.393e-05/0.6091, allocations: 81.09 kB / 0.5525 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.6091, allocations: 4 kB / 0.5525 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.686e-05/0.6092, allocations: 0 / 0.5525 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.6092, allocations: 4 kB / 0.5525 GB, free: 10.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.688e-06/0.6092, allocations: 3.938 kB / 0.5525 GB, free: 10.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001183/0.6094, allocations: 108.8 kB / 0.5526 GB, free: 10.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6094, allocations: 0 / 0.5526 GB, free: 10.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003323/0.6097, allocations: 35.92 kB / 0.5526 GB, free: 10.67 MB / 394.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.00109/0.6108, allocations: 352.7 kB / 0.553 GB, free: 10.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001113/0.611, allocations: 23.92 kB / 0.553 GB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.611, allocations: 0 / 0.553 GB, free: 10.33 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.827e-05/0.611, allocations: 11.94 kB / 0.553 GB, free: 10.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6113, allocations: 23.84 kB / 0.553 GB, free: 10.3 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.6117, allocations: 126.6 kB / 0.5532 GB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.6121, allocations: 0.6965 MB / 0.5538 GB, free: 9.418 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.697e-05/0.6121, allocations: 11.44 kB / 0.5539 GB, free: 9.406 MB / 394.7 MB Notification: Performance of SimCode: time 8.71e-07/0.6121, allocations: 0 / 0.5539 GB, free: 9.406 MB / 394.7 MB Notification: Performance of Templates: time 0.004567/0.6167, allocations: 1.43 MB / 0.5553 GB, free: 7.973 MB / 394.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)