Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005261/0.005261, allocations: 100.1 kB / 15.73 MB, free: 6.473 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.001316/0.001316, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4692/0.4692, allocations: 54.95 MB / 324.8 MB, free: 15.88 MB / 270.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.001446/0.001446, allocations: 71.44 kB / 456.2 MB, free: 38.62 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.166, allocations: 59.59 MB / 0.5037 GB, free: 9.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00186/0.1679, allocations: 0.5316 MB / 0.5043 GB, free: 9.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002709/0.1682, allocations: 36.31 kB / 0.5043 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.1683, allocations: 3.938 kB / 0.5043 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.963e-05/0.1683, allocations: 0 / 0.5043 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.037e-05/0.1684, allocations: 0 / 0.5043 GB, free: 9.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.1686, allocations: 24.84 kB / 0.5043 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.917e-05/0.1687, allocations: 3.281 kB / 0.5043 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.216e-05/0.1688, allocations: 6.812 kB / 0.5043 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.299e-05/0.1688, allocations: 0 / 0.5043 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.934e-05/0.1688, allocations: 3.188 kB / 0.5043 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.1689, allocations: 4 kB / 0.5043 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.668e-05/0.169, allocations: 15.2 kB / 0.5044 GB, free: 9.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.95e-05/0.169, allocations: 5.531 kB / 0.5044 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.624e-05/0.169, allocations: 13.52 kB / 0.5044 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001086/0.1692, allocations: 18.44 kB / 0.5044 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.1692, allocations: 0 / 0.5044 GB, free: 9.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.925e-06/0.1692, allocations: 0 / 0.5044 GB, free: 9.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.673e-06/0.1692, allocations: 0 / 0.5044 GB, free: 9.25 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003577/0.1695, allocations: 349.9 kB / 0.5047 GB, free: 8.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.1696, allocations: 10.12 kB / 0.5047 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.786e-05/0.1696, allocations: 11.53 kB / 0.5047 GB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.487e-05/0.1697, allocations: 164.3 kB / 0.5049 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1697, allocations: 384 / 0.5049 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1698, allocations: 3.156 kB / 0.5049 GB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1699, allocations: 60.88 kB / 0.505 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1699, allocations: 0 / 0.505 GB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1699, allocations: 3.984 kB / 0.505 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.538e-05/0.17, allocations: 5.5 kB / 0.505 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.17, allocations: 23.11 kB / 0.505 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.1703, allocations: 274.6 kB / 0.5053 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.716e-05/0.1704, allocations: 21.27 kB / 0.5053 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.618e-05/0.1704, allocations: 7.609 kB / 0.5053 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.195e-06/0.1704, allocations: 4 kB / 0.5053 GB, free: 8.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.1704, allocations: 31.94 kB / 0.5053 GB, free: 8.219 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.1705, allocations: 0 / 0.5053 GB, free: 8.219 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001864/0.1706, allocations: 72.92 kB / 0.5054 GB, free: 8.145 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.573e-05/0.1707, allocations: 82.42 kB / 0.5055 GB, free: 8.047 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.205e-05/0.1708, allocations: 118.2 kB / 0.5056 GB, free: 7.934 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.1708, allocations: 27.08 kB / 0.5056 GB, free: 7.902 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.1708, allocations: 102.5 kB / 0.5057 GB, free: 7.801 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.1709, allocations: 5.375 kB / 0.5057 GB, free: 7.797 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.1709, allocations: 24.5 kB / 0.5057 GB, free: 7.773 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.075e-05/0.171, allocations: 312.2 kB / 0.506 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.171, allocations: 18.92 kB / 0.506 GB, free: 7.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.171, allocations: 57.86 kB / 0.5061 GB, free: 7.379 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.504e-05/0.1711, allocations: 131.7 kB / 0.5062 GB, free: 7.23 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1711, allocations: 5.312 kB / 0.5062 GB, free: 7.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001366/0.1713, allocations: 124.4 kB / 0.5063 GB, free: 7.129 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.1713, allocations: 31.58 kB / 0.5064 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.1713, allocations: 1.25 kB / 0.5064 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.1713, allocations: 3.906 kB / 0.5064 GB, free: 7.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.038e-05/0.1714, allocations: 13.39 kB / 0.5064 GB, free: 7.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.1714, allocations: 6.531 kB / 0.5064 GB, free: 7.09 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.75e-05/0.1715, allocations: 8.781 kB / 0.5064 GB, free: 7.086 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/0.1716, allocations: 5.406 kB / 0.5064 GB, free: 7.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 7.69e-05/0.1716, allocations: 156.8 kB / 0.5066 GB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.898e-05/0.1717, allocations: 5.438 kB / 0.5066 GB, free: 6.918 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.579e-05/0.1717, allocations: 5.281 kB / 0.5066 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.1717, allocations: 0 / 0.5066 GB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.1717, allocations: 5.219 kB / 0.5066 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1717, allocations: 0 / 0.5066 GB, free: 6.906 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.1718, allocations: 153.9 kB / 0.5067 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1719, allocations: 1.156 kB / 0.5067 GB, free: 6.711 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.483e-06/0.1719, allocations: 3.984 kB / 0.5067 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.1719, allocations: 0 / 0.5067 GB, free: 6.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.1719, allocations: 5.281 kB / 0.5067 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1719, allocations: 1.031 kB / 0.5067 GB, free: 6.703 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.1719, allocations: 3.938 kB / 0.5067 GB, free: 6.699 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.172, allocations: 162 kB / 0.5069 GB, free: 6.531 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.1721, allocations: 84.95 kB / 0.507 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.621e-05/0.1721, allocations: 1.281 kB / 0.507 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.347e-05/0.1721, allocations: 2.312 kB / 0.507 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.1722, allocations: 11.95 kB / 0.507 GB, free: 6.418 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1722, allocations: 2.25 kB / 0.507 GB, free: 6.418 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.471e-05/0.1722, allocations: 87.47 kB / 0.5071 GB, free: 6.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1722, allocations: 0 / 0.5071 GB, free: 6.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.1725, allocations: 9.125 kB / 0.5071 GB, free: 6.34 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001926/0.1727, allocations: 112.3 kB / 0.5072 GB, free: 6.242 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001442/0.1729, allocations: 84.02 kB / 0.5073 GB, free: 6.168 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1729, allocations: 4.062 kB / 0.5073 GB, free: 6.164 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.302e-05/0.1729, allocations: 55.78 kB / 0.5073 GB, free: 6.102 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1731, allocations: 6.219 kB / 0.5073 GB, free: 6.098 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.1733, allocations: 106.3 kB / 0.5074 GB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001439/0.1735, allocations: 0.6786 MB / 0.5081 GB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.842e-05/0.1736, allocations: 22.75 kB / 0.5081 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.385e-05/0.1736, allocations: 12.88 kB / 0.5081 GB, free: 5.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1736, allocations: 0 / 0.5081 GB, free: 5.262 MB / 382.1 MB Notification: Performance of Templates: time 0.003127/0.1768, allocations: 0.5272 MB / 0.5086 GB, free: 4.988 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)