Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions") translateModel(Annex60.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.01032/0.01032, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.002149/0.002149, allocations: 193.9 kB / 16.67 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.594/1.594, allocations: 205.1 MB / 222.5 MB, free: 4.234 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4441/0.4441, allocations: 54.94 MB / 324.8 MB, free: 240 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 71.25 kB / 456.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1531, allocations: 59.59 MB / 0.5037 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.00293/0.1561, allocations: 1.565 MB / 0.5053 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.1571, allocations: 0.5329 MB / 0.5058 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.1572, allocations: 1.375 kB / 0.5058 GB, free: 8.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000128/0.1573, allocations: 9.25 kB / 0.5058 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.741e-05/0.1574, allocations: 21.16 kB / 0.5058 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.1577, allocations: 32.22 kB / 0.5059 GB, free: 8.148 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001385/0.1578, allocations: 84.7 kB / 0.5059 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.158, allocations: 46.02 kB / 0.506 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001072/0.1581, allocations: 38.97 kB / 0.506 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001061/0.1582, allocations: 44.14 kB / 0.5061 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.476e-05/0.1583, allocations: 5.5 kB / 0.5061 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.824e-05/0.1584, allocations: 17.62 kB / 0.5061 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.397e-05/0.1584, allocations: 21.42 kB / 0.5061 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.096e-05/0.1585, allocations: 33.42 kB / 0.5061 GB, free: 7.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001956/0.1587, allocations: 92.39 kB / 0.5062 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.1587, allocations: 0 / 0.5062 GB, free: 7.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.856e-06/0.1587, allocations: 0 / 0.5062 GB, free: 7.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1587, allocations: 0 / 0.5062 GB, free: 7.902 MB / 382.1 MB 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.0006205/0.1594, allocations: 401.5 kB / 0.5066 GB, free: 7.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.1594, allocations: 13.53 kB / 0.5066 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.1595, allocations: 14.06 kB / 0.5066 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001766/0.1597, allocations: 197.3 kB / 0.5068 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.1597, allocations: 2.938 kB / 0.5068 GB, free: 7.262 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.284e-05/0.1597, allocations: 8.688 kB / 0.5068 GB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.16, allocations: 117.1 kB / 0.5069 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.16, allocations: 1.625 kB / 0.5069 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.16, allocations: 0 / 0.5069 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1601, allocations: 1.562 kB / 0.5069 GB, free: 7.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.1603, allocations: 99.47 kB / 0.507 GB, free: 7.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000613/0.1609, allocations: 382 kB / 0.5074 GB, free: 6.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.1611, allocations: 59.83 kB / 0.5075 GB, free: 6.738 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.1612, allocations: 58.16 kB / 0.5075 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.994e-05/0.1613, allocations: 2.656 kB / 0.5075 GB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.1613, allocations: 32.16 kB / 0.5076 GB, free: 6.664 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.653e-06/0.1613, allocations: 0 / 0.5076 GB, free: 6.664 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.000505/0.1618, allocations: 164.3 kB / 0.5077 GB, free: 6.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.1619, allocations: 55.41 kB / 0.5078 GB, free: 6.508 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.162, allocations: 133.2 kB / 0.5079 GB, free: 6.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.162, allocations: 26.92 kB / 0.5079 GB, free: 6.359 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.1621, allocations: 112.7 kB / 0.508 GB, free: 6.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.1621, allocations: 26.16 kB / 0.508 GB, free: 6.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.1622, allocations: 15.31 kB / 0.5081 GB, free: 6.211 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.183e-05/0.1622, allocations: 320.1 kB / 0.5084 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1624, allocations: 43.22 kB / 0.5084 GB, free: 5.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001026/0.1625, allocations: 38.91 kB / 0.5084 GB, free: 5.855 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1627, allocations: 88.95 kB / 0.5085 GB, free: 5.793 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1627, allocations: 0 / 0.5085 GB, free: 5.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000243/0.163, allocations: 125.5 kB / 0.5086 GB, free: 5.664 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.163, allocations: 19.92 kB / 0.5087 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.163, allocations: 0 / 0.5087 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.163, allocations: 0 / 0.5087 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001485/0.1632, allocations: 23.92 kB / 0.5087 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1632, allocations: 0 / 0.5087 GB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.624e-05/0.1633, allocations: 15.89 kB / 0.5087 GB, free: 5.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.1633, allocations: 0 / 0.5087 GB, free: 5.605 MB / 382.1 MB 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.183e-05/0.1634, allocations: 117.8 kB / 0.5088 GB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.065e-05/0.1634, allocations: 15.84 kB / 0.5088 GB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003181/0.1637, allocations: 142.3 kB / 0.509 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.1638, allocations: 0 / 0.509 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.1638, allocations: 0 / 0.509 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.1638, allocations: 3.938 kB / 0.509 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.164, allocations: 201.6 kB / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.164, allocations: 0 / 0.5092 GB, free: 5.066 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-05/0.1641, allocations: 19.97 kB / 0.5092 GB, free: 5.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.1641, allocations: 7.938 kB / 0.5092 GB, free: 5.039 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.1641, allocations: 3.938 kB / 0.5092 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1641, allocations: 3.938 kB / 0.5092 GB, free: 5.031 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.1641, allocations: 4 kB / 0.5092 GB, free: 5.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.1644, allocations: 219.4 kB / 0.5094 GB, free: 4.797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.1644, allocations: 84.95 kB / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.1644, allocations: 12.12 kB / 0.5095 GB, free: 4.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.498e-05/0.1645, allocations: 11.98 kB / 0.5095 GB, free: 4.672 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1646, allocations: 11.94 kB / 0.5095 GB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.1646, allocations: 3.984 kB / 0.5095 GB, free: 4.656 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.842e-05/0.1647, allocations: 103.3 kB / 0.5096 GB, free: 4.555 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1647, allocations: 0 / 0.5096 GB, free: 4.555 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002309/0.1649, allocations: 12 kB / 0.5096 GB, free: 4.543 MB / 382.1 MB 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.0001278/0.165, allocations: 99.25 kB / 0.5097 GB, free: 4.438 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002873/0.1653, allocations: 99.92 kB / 0.5098 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1654, allocations: 0 / 0.5098 GB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001086/0.1655, allocations: 55.91 kB / 0.5099 GB, free: 4.285 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.1657, allocations: 9.828 kB / 0.5099 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.1662, allocations: 223 kB / 0.5101 GB, free: 4.031 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001589/0.1663, allocations: 0.7041 MB / 0.5108 GB, free: 3.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001313/0.1665, allocations: 11.98 kB / 0.5108 GB, free: 3.289 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1665, allocations: 15.44 kB / 0.5108 GB, free: 3.273 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1665, allocations: 0 / 0.5108 GB, free: 3.273 MB / 382.1 MB Notification: Performance of Templates: time 0.002848/0.1694, allocations: 0.7339 MB / 0.5115 GB, free: 2.547 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.VectorFunctions.pipe 2>&1)