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.001103/0.001103, allocations: 108.1 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.001068/0.001069, allocations: 185.5 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8026/0.8026, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.83 kB / 0.5863 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1584, allocations: 80.94 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003095/0.1616, allocations: 1.575 MB / 0.6669 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001046/0.1626, allocations: 0.5074 MB / 0.6673 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.778e-05/0.1627, allocations: 7.938 kB / 0.6674 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.1629, allocations: 7.938 kB / 0.6674 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.503e-05/0.1629, allocations: 11.81 kB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.1632, allocations: 47.88 kB / 0.6674 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1634, allocations: 83.7 kB / 0.6675 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.1635, allocations: 36.22 kB / 0.6675 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1637, allocations: 39.84 kB / 0.6676 GB, free: 3.477 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1638, allocations: 43.83 kB / 0.6676 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1638, allocations: 4 kB / 0.6676 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/0.1639, allocations: 12 kB / 0.6676 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.506e-05/0.1639, allocations: 19.92 kB / 0.6676 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.584e-05/0.164, allocations: 51.72 kB / 0.6677 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.1641, allocations: 91.58 kB / 0.6678 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1641, allocations: 3.938 kB / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1642, allocations: 0 / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.1642, allocations: 0 / 0.6678 GB, free: 3.254 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.0005746/0.1647, allocations: 399.1 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1648, allocations: 13.11 kB / 0.6682 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.769e-05/0.1649, allocations: 12.78 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001962/0.1651, allocations: 196.1 kB / 0.6684 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1651, allocations: 4.375 kB / 0.6684 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.1651, allocations: 12.36 kB / 0.6684 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002746/0.1654, allocations: 109.9 kB / 0.6685 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1654, allocations: 4 kB / 0.6685 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.419e-05/0.1654, allocations: 4 kB / 0.6685 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.1654, allocations: 0 / 0.6685 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1657, allocations: 99.92 kB / 0.6686 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005981/0.1663, allocations: 376.5 kB / 0.669 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.1664, allocations: 62.55 kB / 0.669 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.1666, allocations: 44.95 kB / 0.6691 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.719e-05/0.1666, allocations: 11.98 kB / 0.6691 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.1666, allocations: 34.56 kB / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 1.172e-06/0.1666, allocations: 0 / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.000474/0.1671, allocations: 161.5 kB / 0.6693 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.1672, allocations: 55.41 kB / 0.6693 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1673, allocations: 139.5 kB / 0.6694 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1673, allocations: 29.7 kB / 0.6695 GB, free: 1.328 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.1674, allocations: 100.2 kB / 0.6696 GB, free: 1.227 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1674, allocations: 27.64 kB / 0.6696 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1675, allocations: 17.72 kB / 0.6696 GB, free: 1.176 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1676, allocations: 322.8 kB / 0.6699 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.1677, allocations: 39.97 kB / 0.67 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001019/0.1678, allocations: 39.97 kB / 0.67 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.168, allocations: 88.8 kB / 0.6701 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1681, allocations: 0 / 0.6701 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002746/0.1683, allocations: 125.5 kB / 0.6702 GB, free: 0.5547 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1684, allocations: 8 kB / 0.6702 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.1684, allocations: 0 / 0.6702 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1684, allocations: 4 kB / 0.6702 GB, free: 0.543 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.1685, allocations: 23.91 kB / 0.6702 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.1685, allocations: 0 / 0.6702 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.008e-05/0.1686, allocations: 11.94 kB / 0.6702 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.052e-05/0.1687, allocations: 4.422 kB / 0.6703 GB, free: 0.5039 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.383e-05/0.1687, allocations: 117.8 kB / 0.6704 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.1688, allocations: 7.906 kB / 0.6704 GB, free: 380 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003495/0.1691, allocations: 154.2 kB / 0.6705 GB, free: 220 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1692, allocations: 3.938 kB / 0.6705 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1692, allocations: 0 / 0.6705 GB, free: 216 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1692, allocations: 3.984 kB / 0.6705 GB, free: 212 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000236/0.1694, allocations: 213.5 kB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.1694, allocations: 0 / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.1695, allocations: 15.98 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1696, allocations: 0 / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1696, allocations: 7.984 kB / 0.6708 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1696, allocations: 7.938 kB / 0.6708 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1696, allocations: 4 kB / 0.6708 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1699, allocations: 219.3 kB / 0.671 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.17, allocations: 81.02 kB / 0.6711 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.17, allocations: 8 kB / 0.6711 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.996e-05/0.1701, allocations: 11.94 kB / 0.6711 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1701, allocations: 7.984 kB / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.1702, allocations: 0 / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.254e-05/0.1702, allocations: 108.8 kB / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1702, allocations: 0 / 0.6712 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002372/0.1705, allocations: 12 kB / 0.6712 GB, free: 15.44 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.0001518/0.1706, allocations: 100.6 kB / 0.6713 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002972/0.1709, allocations: 107.9 kB / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.171, allocations: 0 / 0.6714 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/0.1711, allocations: 51.97 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000218/0.1713, allocations: 2.188 kB / 0.6714 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004649/0.1718, allocations: 248.8 kB / 0.6717 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.1721, allocations: 0.7001 MB / 0.6724 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.1721, allocations: 15.42 kB / 0.6724 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of SimCode: time 2.41e-07/0.1721, allocations: 4 kB / 0.6724 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of Templates: time 0.002844/0.175, allocations: 1.134 MB / 0.6735 GB, free: 13.03 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)