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.004985/0.004985, allocations: 105.4 kB / 15.73 MB, free: 5.5 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.001152/0.001152, allocations: 187.8 kB / 16.67 MB, free: 5.434 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7726/0.7726, allocations: 132.2 MB / 422.7 MB, free: 6.531 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 72.19 kB / 0.5813 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.1705, allocations: 80.21 MB / 0.6597 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002966/0.1735, allocations: 1.604 MB / 0.6612 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009965/0.1745, allocations: 307.9 kB / 0.6615 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1747, allocations: 0 / 0.6615 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 6.607e-05/0.1748, allocations: 11.86 kB / 0.6615 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.1749, allocations: 23.8 kB / 0.6616 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.1754, allocations: 63.86 kB / 0.6616 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001993/0.1757, allocations: 107.6 kB / 0.6617 GB, free: 8.258 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001637/0.1758, allocations: 31.98 kB / 0.6618 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001231/0.176, allocations: 43.84 kB / 0.6618 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.1761, allocations: 43.83 kB / 0.6618 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1761, allocations: 8 kB / 0.6618 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1762, allocations: 23.98 kB / 0.6619 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.93e-05/0.1762, allocations: 23.92 kB / 0.6619 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.039e-05/0.1763, allocations: 43.73 kB / 0.6619 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1765, allocations: 107.5 kB / 0.662 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1765, allocations: 0 / 0.662 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1765, allocations: 3.938 kB / 0.662 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.1766, allocations: 0 / 0.662 GB, free: 7.934 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.0006734/0.1772, allocations: 415.1 kB / 0.6624 GB, free: 7.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/0.1773, allocations: 8.031 kB / 0.6624 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009749/0.1783, allocations: 116.7 kB / 0.6626 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1784, allocations: 188.1 kB / 0.6627 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.1785, allocations: 4.375 kB / 0.6627 GB, free: 7.133 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1785, allocations: 8.375 kB / 0.6627 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.1791, allocations: 153.5 kB / 0.6629 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.1791, allocations: 0 / 0.6629 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1791, allocations: 0 / 0.6629 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1791, allocations: 0 / 0.6629 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000711/0.1798, allocations: 157.7 kB / 0.663 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.1809, allocations: 444.4 kB / 0.6635 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006813/0.1816, allocations: 138.4 kB / 0.6636 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.1819, allocations: 72.92 kB / 0.6637 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.182, allocations: 0 / 0.6637 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.532e-05/0.182, allocations: 38.48 kB / 0.6637 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.343e-06/0.182, allocations: 0 / 0.6637 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001149/0.1832, allocations: 249.3 kB / 0.6639 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.1832, allocations: 51.41 kB / 0.664 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1834, allocations: 158.2 kB / 0.6641 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1834, allocations: 25.7 kB / 0.6642 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.571e-05/0.1835, allocations: 104 kB / 0.6643 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.061e-05/0.1835, allocations: 23.64 kB / 0.6643 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.999e-05/0.1836, allocations: 25.7 kB / 0.6643 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1837, allocations: 322.8 kB / 0.6646 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.1841, allocations: 76.78 kB / 0.6647 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003388/0.1844, allocations: 79.84 kB / 0.6648 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006267/0.185, allocations: 132.7 kB / 0.6649 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1851, allocations: 0 / 0.6649 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007345/0.1858, allocations: 181.4 kB / 0.6651 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1858, allocations: 15.94 kB / 0.6651 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1858, allocations: 0 / 0.6651 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.1859, allocations: 0 / 0.6651 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.1861, allocations: 35.94 kB / 0.6651 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.1861, allocations: 4 kB / 0.6651 GB, free: 4.547 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1863, allocations: 27.88 kB / 0.6652 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.1864, allocations: 12.19 kB / 0.6652 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001599/0.1865, allocations: 109 kB / 0.6653 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.743e-05/0.1866, allocations: 48.28 kB / 0.6653 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001763/0.1868, allocations: 92.19 kB / 0.6654 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.262e-06/0.1868, allocations: 3.938 kB / 0.6654 GB, free: 4.227 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.0002383/0.1871, allocations: 109.4 kB / 0.6655 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.415e-06/0.1871, allocations: 4 kB / 0.6655 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/0.1871, allocations: 0 / 0.6655 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.13e-06/0.1871, allocations: 7.938 kB / 0.6655 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.1872, allocations: 15.98 kB / 0.6655 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.8e-06/0.1872, allocations: 7.984 kB / 0.6655 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.466e-05/0.1873, allocations: 12.16 kB / 0.6656 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.1873, allocations: 4 kB / 0.6656 GB, free: 4.062 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 9.945e-05/0.1874, allocations: 180.2 kB / 0.6657 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/0.1874, allocations: 15.83 kB / 0.6657 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.15e-05/0.1875, allocations: 16.3 kB / 0.6658 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1875, allocations: 0 / 0.6658 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1875, allocations: 0 / 0.6658 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.1875, allocations: 0 / 0.6658 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.1885, allocations: 499.8 kB / 0.6662 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.1886, allocations: 0 / 0.6662 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002183/0.1888, allocations: 36.02 kB / 0.6663 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.1888, allocations: 0 / 0.6663 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.1888, allocations: 7.984 kB / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.1888, allocations: 0 / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.1888, allocations: 0 / 0.6663 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007763/0.1896, allocations: 288.9 kB / 0.6666 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.733e-05/0.1897, allocations: 101 kB / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1897, allocations: 0 / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.19, allocations: 27.97 kB / 0.6667 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.089e-05/0.19, allocations: 3.984 kB / 0.6667 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.19, allocations: 4 kB / 0.6667 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.938e-05/0.1901, allocations: 123.3 kB / 0.6668 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1901, allocations: 4 kB / 0.6668 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003271/0.1905, allocations: 24 kB / 0.6668 GB, free: 2.648 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.0001313/0.1906, allocations: 101 kB / 0.6669 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008516/0.1914, allocations: 191.6 kB / 0.6671 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.1915, allocations: 0 / 0.6671 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003467/0.1918, allocations: 80.28 kB / 0.6672 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.1922, allocations: 8 kB / 0.6672 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009889/0.1932, allocations: 289 kB / 0.6675 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.1935, allocations: 0.6963 MB / 0.6681 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.45e-05/0.1935, allocations: 12 kB / 0.6682 GB, free: 1.219 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.211e-05/0.1936, allocations: 27.41 kB / 0.6682 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1936, allocations: 3.938 kB / 0.6682 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of Templates: time 0.003965/0.1976, allocations: 1.435 MB / 0.6696 GB, free: 15.75 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)