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.001357/0.001357, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001363/0.001363, allocations: 189.7 kB / 17.35 MB, free: 5.695 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.44/1.44, 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.8103/0.8103, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 63 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1583, allocations: 80.92 MB / 0.6653 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.VectorFunctions): time 0.003056/0.1614, allocations: 1.586 MB / 0.6669 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009675/0.1624, allocations: 0.5073 MB / 0.6674 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.1625, allocations: 4 kB / 0.6674 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.1627, allocations: 7.875 kB / 0.6674 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.917e-05/0.1627, allocations: 15.84 kB / 0.6674 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.163, allocations: 39.84 kB / 0.6674 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.1632, allocations: 83.77 kB / 0.6675 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001645/0.1633, allocations: 44.2 kB / 0.6675 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.1635, allocations: 39.84 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.349e-05/0.1636, allocations: 35.84 kB / 0.6676 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.545e-05/0.1636, allocations: 7.984 kB / 0.6676 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.304e-05/0.1637, allocations: 16 kB / 0.6676 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.658e-05/0.1637, allocations: 19.92 kB / 0.6677 GB, free: 3.371 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.99e-05/0.1638, allocations: 39.67 kB / 0.6677 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.164, allocations: 87.64 kB / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.164, allocations: 0 / 0.6678 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.164, allocations: 7.938 kB / 0.6678 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.164, allocations: 4 kB / 0.6678 GB, free: 3.234 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.0005807/0.1646, allocations: 403.1 kB / 0.6682 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.1646, allocations: 9.109 kB / 0.6682 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.705e-05/0.1647, allocations: 16.84 kB / 0.6682 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.1649, allocations: 196 kB / 0.6684 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.1649, allocations: 8.375 kB / 0.6684 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.1649, allocations: 4.375 kB / 0.6684 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.1652, allocations: 116.6 kB / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.1652, allocations: 0 / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.1653, allocations: 0 / 0.6685 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1653, allocations: 4 kB / 0.6685 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.1655, allocations: 95.94 kB / 0.6686 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006181/0.1661, allocations: 376.5 kB / 0.669 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.1663, allocations: 66.52 kB / 0.669 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001179/0.1664, allocations: 48.95 kB / 0.6691 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1665, allocations: 0 / 0.6691 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1665, allocations: 38.5 kB / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.1665, allocations: 0 / 0.6691 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6): time 0.0004769/0.167, allocations: 161.5 kB / 0.6693 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.167, allocations: 55.39 kB / 0.6693 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1672, allocations: 143.5 kB / 0.6694 GB, free: 1.344 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.1672, allocations: 25.7 kB / 0.6695 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.823e-05/0.1673, allocations: 100.2 kB / 0.6696 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.301e-05/0.1673, allocations: 23.64 kB / 0.6696 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.947e-05/0.1674, allocations: 25.7 kB / 0.6696 GB, free: 1.156 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1675, allocations: 318.8 kB / 0.6699 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001122/0.1676, allocations: 35.97 kB / 0.67 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.1677, allocations: 43.91 kB / 0.67 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.168, allocations: 89.17 kB / 0.6701 GB, free: 0.668 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.168, allocations: 4 kB / 0.6701 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002717/0.1683, allocations: 129.5 kB / 0.6702 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.1683, allocations: 4 kB / 0.6702 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.1683, allocations: 0 / 0.6702 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1683, allocations: 7.938 kB / 0.6702 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.1685, allocations: 19.92 kB / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.1685, allocations: 0 / 0.6702 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.49e-05/0.1686, allocations: 15.98 kB / 0.6703 GB, free: 496 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.1686, allocations: 4 kB / 0.6703 GB, free: 492 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 8.96e-05/0.1687, allocations: 117.8 kB / 0.6704 GB, free: 364 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.1687, allocations: 11.89 kB / 0.6704 GB, free: 352 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004065/0.1691, allocations: 142.3 kB / 0.6705 GB, free: 204 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.1692, allocations: 7.875 kB / 0.6705 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.1692, allocations: 0 / 0.6705 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1692, allocations: 4 kB / 0.6705 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.1694, allocations: 209.5 kB / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.1694, allocations: 0 / 0.6707 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001121/0.1696, allocations: 27.91 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.1696, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.074e-05/0.1696, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.1696, allocations: 3.938 kB / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1696, allocations: 0 / 0.6708 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003502/0.17, allocations: 227.4 kB / 0.671 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.713e-05/0.17, allocations: 81.02 kB / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.02e-05/0.17, allocations: 192 / 0.6711 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1702, allocations: 19.92 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.904e-05/0.1702, allocations: 7.984 kB / 0.6711 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/0.1702, allocations: 4 kB / 0.6711 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.032e-05/0.1703, allocations: 104.8 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1703, allocations: 4 kB / 0.6712 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002541/0.1706, allocations: 12 kB / 0.6712 GB, free: 15.41 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.0001844/0.1708, allocations: 104.5 kB / 0.6713 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1711, allocations: 95.94 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.369e-06/0.1711, allocations: 4 kB / 0.6714 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.1713, allocations: 51.97 kB / 0.6714 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.1715, allocations: 7.938 kB / 0.6715 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005189/0.172, allocations: 240.8 kB / 0.6717 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003353/0.1724, allocations: 0.7041 MB / 0.6724 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.585e-05/0.1724, allocations: 15.38 kB / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of SimCode: time 5.31e-07/0.1724, allocations: 0 / 0.6724 GB, free: 14.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.003174/0.1756, allocations: 1.121 MB / 0.6735 GB, free: 13.01 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)