Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.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.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001307/0.001307, allocations: 187 kB / 17.34 MB, free: 5.719 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.334/1.334, 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.8488/0.8488, allocations: 132.2 MB / 423.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001926, allocations: 71.83 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.156, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002897/0.1589, allocations: 1.596 MB / 0.6619 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009139/0.1599, allocations: 0.5035 MB / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.16, allocations: 0 / 0.6624 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001076/0.1601, allocations: 15.86 kB / 0.6624 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.34e-05/0.1601, allocations: 19.8 kB / 0.6624 GB, free: 8.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002327/0.1604, allocations: 31.95 kB / 0.6625 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.1605, allocations: 83.7 kB / 0.6625 GB, free: 7.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1607, allocations: 40.2 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1608, allocations: 39.8 kB / 0.6626 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.1609, allocations: 43.83 kB / 0.6627 GB, free: 7.863 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.05e-05/0.1609, allocations: 4 kB / 0.6627 GB, free: 7.859 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.161, allocations: 19.98 kB / 0.6627 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.294e-05/0.161, allocations: 19.92 kB / 0.6627 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.711e-05/0.1611, allocations: 43.73 kB / 0.6627 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1612, allocations: 87.64 kB / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1612, allocations: 0 / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1613, allocations: 0 / 0.6628 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.1613, allocations: 0 / 0.6628 GB, free: 7.691 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005283/0.1618, allocations: 399.1 kB / 0.6632 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.1618, allocations: 16.03 kB / 0.6632 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/0.1619, allocations: 16.73 kB / 0.6632 GB, free: 7.223 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1621, allocations: 196.1 kB / 0.6634 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.1621, allocations: 8.359 kB / 0.6634 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.888e-05/0.1621, allocations: 4.375 kB / 0.6634 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.1624, allocations: 117.9 kB / 0.6635 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.1624, allocations: 0 / 0.6635 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.1624, allocations: 0 / 0.6635 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1624, allocations: 0 / 0.6635 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002494/0.1627, allocations: 103.9 kB / 0.6636 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006076/0.1633, allocations: 372.6 kB / 0.664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.1635, allocations: 62.48 kB / 0.6641 GB, free: 6.273 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/0.1636, allocations: 48.95 kB / 0.6641 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.1636, allocations: 8 kB / 0.6641 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.1637, allocations: 30.56 kB / 0.6641 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.132e-06/0.1637, allocations: 0 / 0.6641 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004881/0.1642, allocations: 165.5 kB / 0.6643 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.1642, allocations: 59.34 kB / 0.6644 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.1643, allocations: 139.4 kB / 0.6645 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.747e-05/0.1644, allocations: 25.7 kB / 0.6645 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.1644, allocations: 104.2 kB / 0.6646 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.1644, allocations: 19.73 kB / 0.6646 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.23e-05/0.1645, allocations: 21.7 kB / 0.6646 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1646, allocations: 322.8 kB / 0.665 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001197/0.1648, allocations: 43.97 kB / 0.665 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.1649, allocations: 35.97 kB / 0.665 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002369/0.1651, allocations: 89.19 kB / 0.6651 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1651, allocations: 0 / 0.6651 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002765/0.1654, allocations: 129.5 kB / 0.6652 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1654, allocations: 12 kB / 0.6653 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1654, allocations: 0 / 0.6653 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1655, allocations: 0 / 0.6653 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.1656, allocations: 23.86 kB / 0.6653 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.1656, allocations: 0 / 0.6653 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.658e-05/0.1657, allocations: 11.98 kB / 0.6653 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.031e-05/0.1657, allocations: 0 / 0.6653 GB, free: 4.938 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 (6): * Single equations (assignments): 6 * 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.971e-05/0.1658, allocations: 125.8 kB / 0.6654 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.4e-05/0.1659, allocations: 11.91 kB / 0.6654 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003731/0.1663, allocations: 142.2 kB / 0.6656 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.1663, allocations: 3.938 kB / 0.6656 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.1663, allocations: 0 / 0.6656 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.1663, allocations: 4 kB / 0.6656 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002246/0.1665, allocations: 209.5 kB / 0.6658 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1665, allocations: 0 / 0.6658 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001086/0.1666, allocations: 15.98 kB / 0.6658 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1667, allocations: 4 kB / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.1667, allocations: 0 / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.229e-06/0.1667, allocations: 11.88 kB / 0.6658 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1667, allocations: 3.984 kB / 0.6658 GB, free: 4.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003268/0.167, allocations: 223.5 kB / 0.666 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.27e-05/0.1671, allocations: 89 kB / 0.6661 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.022e-05/0.1671, allocations: 4 kB / 0.6661 GB, free: 4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.1672, allocations: 7.938 kB / 0.6661 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.1673, allocations: 7.984 kB / 0.6661 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.778e-06/0.1673, allocations: 0 / 0.6661 GB, free: 3.984 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.927e-05/0.1674, allocations: 109.3 kB / 0.6662 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1674, allocations: 0 / 0.6662 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002542/0.1676, allocations: 16 kB / 0.6662 GB, free: 3.863 MB / 0.4981 GB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001488/0.1678, allocations: 95.25 kB / 0.6663 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003028/0.1681, allocations: 99.94 kB / 0.6664 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1681, allocations: 0 / 0.6664 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1682, allocations: 59.89 kB / 0.6665 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002257/0.1685, allocations: 4 kB / 0.6665 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.1689, allocations: 240.7 kB / 0.6667 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.1692, allocations: 0.7041 MB / 0.6674 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.1693, allocations: 19.42 kB / 0.6674 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1693, allocations: 3.938 kB / 0.6674 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of Templates: time 0.002764/0.1721, allocations: 1.124 MB / 0.6685 GB, free: 1.457 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)