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.006155/0.006155, allocations: 104.3 kB / 15.73 MB, free: 5.953 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.001161/0.001161, allocations: 189.8 kB / 16.67 MB, free: 5.871 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 15.03 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7568/0.7568, allocations: 132.2 MB / 422.7 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001462/0.001462, allocations: 60.44 kB / 0.5813 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1613, allocations: 80.21 MB / 0.6597 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.BaseClasses.Validation.PowerInterface): time 0.002823/0.1642, allocations: 1.607 MB / 0.6612 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0007109/0.1649, allocations: 308 kB / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.731e-05/0.165, allocations: 0 / 0.6615 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.1651, allocations: 11.86 kB / 0.6615 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.1652, allocations: 15.8 kB / 0.6616 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003786/0.1656, allocations: 71.84 kB / 0.6616 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001571/0.1658, allocations: 103.6 kB / 0.6617 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000138/0.1659, allocations: 31.98 kB / 0.6618 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.374e-05/0.166, allocations: 39.84 kB / 0.6618 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.515e-05/0.1661, allocations: 43.83 kB / 0.6618 GB, free: 8.023 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.069e-05/0.1662, allocations: 8 kB / 0.6618 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.1662, allocations: 23.98 kB / 0.6619 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.302e-05/0.1663, allocations: 19.92 kB / 0.6619 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.794e-05/0.1663, allocations: 55.72 kB / 0.6619 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.1665, allocations: 107.5 kB / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1666, allocations: 0 / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.323e-06/0.1666, allocations: 0 / 0.662 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.1666, allocations: 0 / 0.662 GB, free: 7.812 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.000601/0.1672, allocations: 407 kB / 0.6624 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.1672, allocations: 12.02 kB / 0.6624 GB, free: 7.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009893/0.1682, allocations: 120.7 kB / 0.6626 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.1684, allocations: 184.2 kB / 0.6627 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.1684, allocations: 12.38 kB / 0.6627 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.551e-05/0.1685, allocations: 8.375 kB / 0.6628 GB, free: 7 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005641/0.169, allocations: 153.4 kB / 0.6629 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.1691, allocations: 4 kB / 0.6629 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1691, allocations: 0 / 0.6629 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.1691, allocations: 7.984 kB / 0.6629 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007317/0.1698, allocations: 153.2 kB / 0.6631 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001006/0.1708, allocations: 444.3 kB / 0.6635 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000671/0.1715, allocations: 138.5 kB / 0.6636 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003546/0.1719, allocations: 76.91 kB / 0.6637 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.1719, allocations: 0 / 0.6637 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.172, allocations: 34.56 kB / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.793e-06/0.172, allocations: 0 / 0.6637 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001238/0.1732, allocations: 253.2 kB / 0.664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.1733, allocations: 55.34 kB / 0.664 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002051/0.1735, allocations: 154.3 kB / 0.6642 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.009e-05/0.1735, allocations: 29.7 kB / 0.6642 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.055e-05/0.1736, allocations: 100.1 kB / 0.6643 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.671e-05/0.1736, allocations: 23.83 kB / 0.6643 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.8e-05/0.1737, allocations: 25.66 kB / 0.6643 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1739, allocations: 322.8 kB / 0.6646 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.1743, allocations: 76.78 kB / 0.6647 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.1746, allocations: 71.92 kB / 0.6648 GB, free: 4.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000659/0.1753, allocations: 132.7 kB / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1753, allocations: 0 / 0.6649 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0007744/0.1761, allocations: 197.6 kB / 0.6651 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.1761, allocations: 7.938 kB / 0.6651 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.1761, allocations: 0 / 0.6651 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1762, allocations: 0 / 0.6651 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002563/0.1764, allocations: 40.2 kB / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1764, allocations: 0 / 0.6651 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002036/0.1766, allocations: 23.97 kB / 0.6652 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.1767, allocations: 7.984 kB / 0.6652 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001347/0.1768, allocations: 113 kB / 0.6653 GB, free: 4.266 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001008/0.1769, allocations: 60.22 kB / 0.6653 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001915/0.1771, allocations: 84.19 kB / 0.6654 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.52e-07/0.1771, allocations: 0 / 0.6654 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization_lambda0): time 0.000247/0.1774, allocations: 105.5 kB / 0.6655 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.1774, allocations: 8 kB / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-06/0.1774, allocations: 160 / 0.6655 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-06/0.1774, allocations: 11.88 kB / 0.6655 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.623e-05/0.1775, allocations: 23.92 kB / 0.6656 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-06/0.1775, allocations: 0 / 0.6656 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.071e-05/0.1776, allocations: 15.92 kB / 0.6656 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.1776, allocations: 4 kB / 0.6656 GB, free: 3.922 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 8.633e-05/0.1777, allocations: 176.3 kB / 0.6657 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.953e-05/0.1777, allocations: 15.89 kB / 0.6658 GB, free: 3.727 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.944e-05/0.1778, allocations: 16.3 kB / 0.6658 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.1778, allocations: 4 kB / 0.6658 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1778, allocations: 0 / 0.6658 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.1779, allocations: 3.938 kB / 0.6658 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001031/0.1789, allocations: 476 kB / 0.6662 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1789, allocations: 4 kB / 0.6662 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002222/0.1791, allocations: 39.88 kB / 0.6663 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.1791, allocations: 4 kB / 0.6663 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1792, allocations: 0 / 0.6663 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.1792, allocations: 4.062 kB / 0.6663 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1792, allocations: 7.984 kB / 0.6663 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007946/0.18, allocations: 281 kB / 0.6666 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.374e-05/0.1801, allocations: 97.03 kB / 0.6667 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.686e-05/0.1801, allocations: 11.94 kB / 0.6667 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.1803, allocations: 19.97 kB / 0.6667 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1804, allocations: 4 kB / 0.6667 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.187e-05/0.1804, allocations: 3.984 kB / 0.6667 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.692e-05/0.1805, allocations: 126.7 kB / 0.6668 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1805, allocations: 0 / 0.6668 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003316/0.1809, allocations: 32 kB / 0.6668 GB, free: 2.512 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.000111/0.181, allocations: 91.25 kB / 0.6669 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008928/0.1819, allocations: 191.7 kB / 0.6671 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.1819, allocations: 0 / 0.6671 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000365/0.1823, allocations: 80.3 kB / 0.6672 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003444/0.1826, allocations: 20.05 kB / 0.6672 GB, free: 2.129 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.1837, allocations: 288.8 kB / 0.6675 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.184, allocations: 0.6963 MB / 0.6682 GB, free: 1.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.308e-05/0.1841, allocations: 8.141 kB / 0.6682 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.1842, allocations: 23.41 kB / 0.6682 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1842, allocations: 0 / 0.6682 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of Templates: time 0.00435/0.1885, allocations: 1.44 MB / 0.6696 GB, free: 15.62 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)