Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Utilities.Math.Examples.VectorFunctions") translateModel(IDEAS.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001808/0.001808, allocations: 104.5 kB / 16.41 MB, free: 6.512 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.002014/0.002014, allocations: 185.8 kB / 17.34 MB, free: 5.734 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.459/1.459, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8577/0.8577, allocations: 135.2 MB / 426.4 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 64.06 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1568, allocations: 80.94 MB / 0.6654 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.002851/0.1596, allocations: 1.581 MB / 0.6669 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009454/0.1606, allocations: 0.5074 MB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.1606, allocations: 3.938 kB / 0.6674 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001114/0.1607, allocations: 15.86 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.985e-05/0.1608, allocations: 15.8 kB / 0.6674 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.161, allocations: 43.89 kB / 0.6675 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001338/0.1612, allocations: 79.7 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.1613, allocations: 36.2 kB / 0.6676 GB, free: 3.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.722e-05/0.1614, allocations: 35.86 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.122e-05/0.1615, allocations: 43.83 kB / 0.6677 GB, free: 3.363 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.769e-05/0.1615, allocations: 4 kB / 0.6677 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.624e-05/0.1616, allocations: 11.98 kB / 0.6677 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.1617, allocations: 23.92 kB / 0.6677 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.058e-05/0.1617, allocations: 39.75 kB / 0.6678 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001635/0.1619, allocations: 91.52 kB / 0.6678 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1619, allocations: 0 / 0.6678 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1619, allocations: 4 kB / 0.6678 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.939e-06/0.1619, allocations: 0 / 0.6678 GB, free: 3.191 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.0005732/0.1625, allocations: 406.9 kB / 0.6682 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.1625, allocations: 9.109 kB / 0.6682 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.024e-05/0.1625, allocations: 12.89 kB / 0.6683 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1627, allocations: 200.2 kB / 0.6684 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1627, allocations: 12.38 kB / 0.6685 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.1628, allocations: 4.375 kB / 0.6685 GB, free: 2.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/0.163, allocations: 113.9 kB / 0.6686 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.163, allocations: 0 / 0.6686 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1631, allocations: 0 / 0.6686 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.116e-06/0.1631, allocations: 4 kB / 0.6686 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002395/0.1633, allocations: 95.94 kB / 0.6687 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006246/0.1639, allocations: 376.6 kB / 0.669 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001601/0.1641, allocations: 62.55 kB / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001376/0.1642, allocations: 44.95 kB / 0.6691 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.262e-05/0.1643, allocations: 8 kB / 0.6691 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.1643, allocations: 30.56 kB / 0.6692 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.313e-06/0.1643, allocations: 0 / 0.6692 GB, free: 1.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004972/0.1648, allocations: 165.5 kB / 0.6693 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1648, allocations: 55.41 kB / 0.6694 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.165, allocations: 143.1 kB / 0.6695 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/0.165, allocations: 25.7 kB / 0.6695 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/0.1651, allocations: 112.1 kB / 0.6696 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/0.1651, allocations: 15.86 kB / 0.6697 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.885e-05/0.1651, allocations: 21.7 kB / 0.6697 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1653, allocations: 318.8 kB / 0.67 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.1654, allocations: 39.97 kB / 0.67 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.1655, allocations: 43.91 kB / 0.6701 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000229/0.1657, allocations: 88.8 kB / 0.6701 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1657, allocations: 0 / 0.6701 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002922/0.166, allocations: 129.5 kB / 0.6703 GB, free: 496 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.1661, allocations: 8 kB / 0.6703 GB, free: 488 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1661, allocations: 3.938 kB / 0.6703 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.1661, allocations: 4 kB / 0.6703 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1662, allocations: 19.92 kB / 0.6703 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1662, allocations: 0 / 0.6703 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.434e-05/0.1663, allocations: 15.98 kB / 0.6703 GB, free: 444 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.1663, allocations: 0 / 0.6703 GB, free: 444 kB / 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 0.0001034/0.1664, allocations: 121.8 kB / 0.6704 GB, free: 312 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.1664, allocations: 7.953 kB / 0.6704 GB, free: 304 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003738/0.1668, allocations: 154.6 kB / 0.6706 GB, free: 144 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.1668, allocations: 4 kB / 0.6706 GB, free: 140 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.874e-06/0.1668, allocations: 4 kB / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.1668, allocations: 0 / 0.6706 GB, free: 136 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.1671, allocations: 205.6 kB / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1671, allocations: 0 / 0.6708 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1672, allocations: 15.98 kB / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.1672, allocations: 0 / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.1672, allocations: 0 / 0.6708 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.1672, allocations: 7.938 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1672, allocations: 4 kB / 0.6708 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003473/0.1676, allocations: 223.4 kB / 0.671 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.829e-05/0.1676, allocations: 81.06 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.1676, allocations: 4 kB / 0.6711 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.1677, allocations: 15.92 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.1678, allocations: 11.98 kB / 0.6711 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.1678, allocations: 0 / 0.6711 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.983e-05/0.1679, allocations: 105.1 kB / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.1679, allocations: 0 / 0.6712 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002426/0.1681, allocations: 12 kB / 0.6713 GB, free: 15.38 MB / 0.5137 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.0001592/0.1683, allocations: 103.2 kB / 0.6713 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003179/0.1686, allocations: 103.9 kB / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.1686, allocations: 0 / 0.6714 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.1687, allocations: 47.97 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.169, allocations: 4 kB / 0.6715 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005172/0.1695, allocations: 244.7 kB / 0.6717 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004155/0.1699, allocations: 0.7118 MB / 0.6724 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.74e-05/0.17, allocations: 15.42 kB / 0.6724 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of SimCode: time 4.2e-07/0.17, allocations: 3.938 kB / 0.6724 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of Templates: time 0.003113/0.1731, allocations: 1.125 MB / 0.6735 GB, free: 12.96 MB / 0.5137 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)