Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") translateModel(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 113.2 kB / 16.41 MB, free: 6.492 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.0019/0.0019, allocations: 183 kB / 17.34 MB, free: 5.762 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7697/0.7697, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 59.09 kB / 0.582 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1699, allocations: 80.21 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.00312/0.173, allocations: 1.611 MB / 0.6619 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00074/0.1738, allocations: 311.9 kB / 0.6622 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.528e-05/0.1739, allocations: 4 kB / 0.6622 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5e-05/0.174, allocations: 3.938 kB / 0.6622 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.688e-05/0.1741, allocations: 19.78 kB / 0.6622 GB, free: 8.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.1745, allocations: 79.78 kB / 0.6623 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001683/0.1747, allocations: 99.7 kB / 0.6624 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001607/0.1748, allocations: 27.98 kB / 0.6624 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1749, allocations: 43.78 kB / 0.6625 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.175, allocations: 39.84 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.477e-05/0.1751, allocations: 8 kB / 0.6625 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.767e-05/0.1752, allocations: 31.97 kB / 0.6625 GB, free: 7.988 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.639e-05/0.1752, allocations: 19.92 kB / 0.6626 GB, free: 7.969 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.352e-05/0.1753, allocations: 51.72 kB / 0.6626 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000192/0.1755, allocations: 95.62 kB / 0.6627 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1755, allocations: 4 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1755, allocations: 3.938 kB / 0.6627 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.1755, allocations: 0 / 0.6627 GB, free: 7.816 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006864/0.1762, allocations: 411.1 kB / 0.6631 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.1763, allocations: 8.031 kB / 0.6631 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00103/0.1773, allocations: 124.7 kB / 0.6632 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.1775, allocations: 176.2 kB / 0.6634 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.1775, allocations: 8.375 kB / 0.6634 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.111e-05/0.1775, allocations: 8.359 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005722/0.1781, allocations: 155.4 kB / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.1781, allocations: 0 / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.1781, allocations: 0 / 0.6636 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1782, allocations: 4 kB / 0.6636 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.1789, allocations: 151.8 kB / 0.6637 GB, free: 6.703 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.18, allocations: 448.4 kB / 0.6641 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.1807, allocations: 142.4 kB / 0.6643 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000383/0.1811, allocations: 80.89 kB / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.191e-05/0.1811, allocations: 0 / 0.6643 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.1812, allocations: 30.56 kB / 0.6644 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 7.71e-07/0.1812, allocations: 0 / 0.6644 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001276/0.1825, allocations: 245.3 kB / 0.6646 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1825, allocations: 55.34 kB / 0.6647 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.1827, allocations: 162.2 kB / 0.6648 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1827, allocations: 25.7 kB / 0.6648 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.264e-05/0.1828, allocations: 100 kB / 0.6649 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1829, allocations: 23.59 kB / 0.665 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.1829, allocations: 29.69 kB / 0.665 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.1831, allocations: 322.8 kB / 0.6653 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003796/0.1834, allocations: 72.8 kB / 0.6654 GB, free: 4.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/0.1838, allocations: 71.92 kB / 0.6654 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000701/0.1845, allocations: 136.7 kB / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1845, allocations: 0 / 0.6656 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000831/0.1854, allocations: 189.4 kB / 0.6657 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/0.1854, allocations: 7.938 kB / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.1854, allocations: 0 / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1854, allocations: 0 / 0.6657 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002715/0.1857, allocations: 43.89 kB / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.896e-06/0.1857, allocations: 0 / 0.6658 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000226/0.186, allocations: 24.12 kB / 0.6658 GB, free: 4.402 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.186, allocations: 7.984 kB / 0.6658 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001603/0.1862, allocations: 113 kB / 0.6659 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001166/0.1863, allocations: 60.48 kB / 0.666 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002152/0.1865, allocations: 88.19 kB / 0.6661 GB, free: 4.105 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.323e-06/0.1865, allocations: 3.938 kB / 0.6661 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0003029/0.1868, allocations: 105.6 kB / 0.6662 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.1869, allocations: 8.031 kB / 0.6662 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1869, allocations: 4 kB / 0.6662 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.14e-06/0.1869, allocations: 3.938 kB / 0.6662 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.26e-05/0.187, allocations: 15.98 kB / 0.6662 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.187, allocations: 4 kB / 0.6662 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.663e-05/0.1871, allocations: 7.984 kB / 0.6662 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.528e-06/0.1871, allocations: 8 kB / 0.6662 GB, free: 3.941 MB / 0.4981 GB 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 (7): * Single equations (assignments): 7 * 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 0.0001311/0.1872, allocations: 184.1 kB / 0.6664 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.377e-05/0.1873, allocations: 15.84 kB / 0.6664 GB, free: 3.738 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.206e-05/0.1873, allocations: 12.31 kB / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1873, allocations: 0 / 0.6664 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/0.1874, allocations: 3.984 kB / 0.6664 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1874, allocations: 7.938 kB / 0.6664 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.1885, allocations: 475.9 kB / 0.6669 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1885, allocations: 0 / 0.6669 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002371/0.1888, allocations: 39.94 kB / 0.6669 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1888, allocations: 4.062 kB / 0.6669 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.1888, allocations: 4 kB / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1888, allocations: 0 / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1888, allocations: 0 / 0.6669 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008403/0.1897, allocations: 292.9 kB / 0.6672 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001046/0.1898, allocations: 96.98 kB / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.214e-05/0.1898, allocations: 4 kB / 0.6673 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002412/0.1901, allocations: 23.97 kB / 0.6673 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.1901, allocations: 4 kB / 0.6673 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1901, allocations: 7.984 kB / 0.6673 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001062/0.1903, allocations: 122.9 kB / 0.6675 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1903, allocations: 0 / 0.6675 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003469/0.1906, allocations: 28 kB / 0.6675 GB, free: 2.531 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 5 * 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.0001561/0.1908, allocations: 95.25 kB / 0.6676 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009372/0.1917, allocations: 195.6 kB / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1917, allocations: 0 / 0.6678 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.1921, allocations: 80.3 kB / 0.6678 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003876/0.1925, allocations: 12 kB / 0.6679 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.1937, allocations: 306.7 kB / 0.6681 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003405/0.194, allocations: 0.6924 MB / 0.6688 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.672e-05/0.1941, allocations: 23.41 kB / 0.6688 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of SimCode: time 7.42e-07/0.1941, allocations: 0 / 0.6688 GB, free: 1.066 MB / 0.4981 GB Notification: Performance of Templates: time 0.003455/0.1976, allocations: 1.385 MB / 0.6702 GB, free: 15.69 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.sim & ./IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface.pipe 2>&1)