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.005396/0.005396, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001053/0.001053, allocations: 193.9 kB / 16.67 MB, free: 5.969 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.592/1.592, allocations: 205.1 MB / 222.6 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4074/0.4074, allocations: 54.94 MB / 324.8 MB, free: 60 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.001484/0.001484, allocations: 66.78 kB / 456.3 MB, free: 38.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1477, allocations: 59.6 MB / 0.5038 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.VectorFunctions): time 0.003299/0.151, allocations: 1.558 MB / 0.5053 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.1521, allocations: 0.5336 MB / 0.5059 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.1522, allocations: 0.7188 kB / 0.5059 GB, free: 8.094 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.1524, allocations: 12.98 kB / 0.5059 GB, free: 8.082 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.419e-05/0.1524, allocations: 12.98 kB / 0.5059 GB, free: 8.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003152/0.1528, allocations: 36.2 kB / 0.5059 GB, free: 8.043 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.1529, allocations: 89.08 kB / 0.506 GB, free: 7.988 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.1531, allocations: 46.23 kB / 0.506 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.1532, allocations: 30.14 kB / 0.5061 GB, free: 7.945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.954e-05/0.1533, allocations: 43.36 kB / 0.5061 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.306e-05/0.1533, allocations: 7.062 kB / 0.5061 GB, free: 7.914 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.693e-05/0.1534, allocations: 20.61 kB / 0.5061 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.331e-05/0.1535, allocations: 22.39 kB / 0.5062 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.1535, allocations: 32.59 kB / 0.5062 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.1537, allocations: 92.2 kB / 0.5063 GB, free: 7.797 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.1537, allocations: 0 / 0.5063 GB, free: 7.797 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1537, allocations: 1.25 kB / 0.5063 GB, free: 7.797 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1537, allocations: 0 / 0.5063 GB, free: 7.797 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.0004879/0.1542, allocations: 404.6 kB / 0.5067 GB, free: 7.387 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.1543, allocations: 8.781 kB / 0.5067 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.789e-05/0.1543, allocations: 14.31 kB / 0.5067 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1545, allocations: 198.5 kB / 0.5069 GB, free: 7.156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.1545, allocations: 7.438 kB / 0.5069 GB, free: 7.152 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.829e-05/0.1545, allocations: 11.56 kB / 0.5069 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002651/0.1548, allocations: 102.7 kB / 0.507 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.838e-06/0.1548, allocations: 4 kB / 0.507 GB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.1548, allocations: 5.25 kB / 0.507 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1549, allocations: 2.062 kB / 0.507 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.1551, allocations: 90.84 kB / 0.5071 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005401/0.1556, allocations: 390.5 kB / 0.5075 GB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/0.1558, allocations: 55.05 kB / 0.5075 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.1559, allocations: 53.64 kB / 0.5076 GB, free: 6.602 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.123e-05/0.156, allocations: 6.984 kB / 0.5076 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.156, allocations: 35.78 kB / 0.5076 GB, free: 6.555 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.553e-06/0.156, allocations: 0 / 0.5076 GB, free: 6.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.0004471/0.1564, allocations: 175.3 kB / 0.5078 GB, free: 6.453 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.2e-05/0.1565, allocations: 56.78 kB / 0.5078 GB, free: 6.387 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.458e-05/0.1566, allocations: 130.2 kB / 0.508 GB, free: 6.273 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.1566, allocations: 25.7 kB / 0.508 GB, free: 6.242 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.047e-05/0.1566, allocations: 105.6 kB / 0.5081 GB, free: 6.141 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.557e-05/0.1567, allocations: 22.69 kB / 0.5081 GB, free: 6.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/0.1567, allocations: 21.83 kB / 0.5081 GB, free: 6.098 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.1568, allocations: 317.3 kB / 0.5084 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001111/0.1569, allocations: 43.03 kB / 0.5085 GB, free: 5.762 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.157, allocations: 42.73 kB / 0.5085 GB, free: 5.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1572, allocations: 88.5 kB / 0.5086 GB, free: 5.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1572, allocations: 4 kB / 0.5086 GB, free: 5.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000247/0.1575, allocations: 127.9 kB / 0.5087 GB, free: 5.598 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1575, allocations: 7.938 kB / 0.5087 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1575, allocations: 0 / 0.5087 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1575, allocations: 0 / 0.5087 GB, free: 5.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.1577, allocations: 19.98 kB / 0.5087 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.1577, allocations: 3.938 kB / 0.5087 GB, free: 5.566 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.621e-05/0.1578, allocations: 11.98 kB / 0.5088 GB, free: 5.555 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.1578, allocations: 4 kB / 0.5088 GB, free: 5.551 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 6.528e-05/0.1579, allocations: 117.8 kB / 0.5089 GB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.034e-05/0.1579, allocations: 11.89 kB / 0.5089 GB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003152/0.1582, allocations: 138.3 kB / 0.509 GB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.1582, allocations: 4 kB / 0.509 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1582, allocations: 0.5 kB / 0.509 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.1583, allocations: 4 kB / 0.509 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.1584, allocations: 205.6 kB / 0.5092 GB, free: 5.012 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1584, allocations: 4 kB / 0.5092 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.403e-05/0.1585, allocations: 19.92 kB / 0.5092 GB, free: 4.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1585, allocations: 11.92 kB / 0.5093 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.1585, allocations: 3.938 kB / 0.5093 GB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.1586, allocations: 3.984 kB / 0.5093 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1586, allocations: 0 / 0.5093 GB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002809/0.1588, allocations: 223.4 kB / 0.5095 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.201e-05/0.1589, allocations: 89 kB / 0.5096 GB, free: 4.629 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.84e-05/0.1589, allocations: 3.938 kB / 0.5096 GB, free: 4.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.614e-05/0.159, allocations: 11.98 kB / 0.5096 GB, free: 4.613 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.1591, allocations: 7.984 kB / 0.5096 GB, free: 4.605 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1591, allocations: 4 kB / 0.5096 GB, free: 4.602 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.166e-05/0.1591, allocations: 99.27 kB / 0.5097 GB, free: 4.504 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1591, allocations: 7.938 kB / 0.5097 GB, free: 4.496 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000237/0.1594, allocations: 16 kB / 0.5097 GB, free: 4.48 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.0001203/0.1595, allocations: 103.2 kB / 0.5098 GB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002603/0.1598, allocations: 99.94 kB / 0.5099 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1598, allocations: 0 / 0.5099 GB, free: 4.273 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001085/0.1599, allocations: 55.91 kB / 0.51 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000223/0.1601, allocations: 5.875 kB / 0.51 GB, free: 4.215 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003891/0.1605, allocations: 222.8 kB / 0.5102 GB, free: 3.969 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.1606, allocations: 0.7041 MB / 0.5109 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001213/0.1608, allocations: 11.98 kB / 0.5109 GB, free: 3.227 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.988e-05/0.1608, allocations: 19.42 kB / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1608, allocations: 0 / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of Templates: time 0.002842/0.1637, allocations: 0.7223 MB / 0.5116 GB, free: 2.492 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)