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.007929/0.007929, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001649/0.001649, allocations: 203.7 kB / 16.68 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.656/1.656, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2824/0.2824, allocations: 54.96 MB / 324.9 MB, free: 4.844 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.001871/0.001871, allocations: 80.25 kB / 456.2 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1872/0.1891, allocations: 59.59 MB / 0.5037 GB, free: 7.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002932/0.1921, allocations: 0.5439 MB / 0.5043 GB, free: 6.512 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.1925, allocations: 35.88 kB / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.923e-05/0.1925, allocations: 0 / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.302e-05/0.1926, allocations: 0 / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 4.315e-05/0.1927, allocations: 0 / 0.5043 GB, free: 6.477 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002957/0.193, allocations: 15.98 kB / 0.5043 GB, free: 6.461 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.1931, allocations: 8 kB / 0.5043 GB, free: 6.453 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.188e-05/0.1932, allocations: 3.984 kB / 0.5043 GB, free: 6.449 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.604e-05/0.1932, allocations: 4 kB / 0.5043 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.677e-05/0.1933, allocations: 0 / 0.5043 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.1933, allocations: 0 / 0.5043 GB, free: 6.445 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.1934, allocations: 23.92 kB / 0.5043 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.975e-05/0.1935, allocations: 7.984 kB / 0.5044 GB, free: 6.414 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1935, allocations: 3.938 kB / 0.5044 GB, free: 6.41 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001439/0.1937, allocations: 31.84 kB / 0.5044 GB, free: 6.379 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1937, allocations: 0 / 0.5044 GB, free: 6.379 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1937, allocations: 3.938 kB / 0.5044 GB, free: 6.375 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.726e-06/0.1937, allocations: 4 kB / 0.5044 GB, free: 6.371 MB / 398.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.000428/0.1941, allocations: 353.2 kB / 0.5047 GB, free: 5.973 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1942, allocations: 8.031 kB / 0.5047 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.682e-05/0.1943, allocations: 8.938 kB / 0.5047 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001271/0.1944, allocations: 160.4 kB / 0.5049 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.652e-05/0.1944, allocations: 384 / 0.5049 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.1944, allocations: 384 / 0.5049 GB, free: 5.762 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.1946, allocations: 61.61 kB / 0.505 GB, free: 5.695 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.1947, allocations: 11.98 kB / 0.505 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.1947, allocations: 0 / 0.505 GB, free: 5.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.766e-05/0.1947, allocations: 15.86 kB / 0.505 GB, free: 5.668 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.933e-05/0.1948, allocations: 23.98 kB / 0.505 GB, free: 5.645 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004418/0.1952, allocations: 264.8 kB / 0.5053 GB, free: 5.336 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.705e-05/0.1953, allocations: 18.58 kB / 0.5053 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.501e-05/0.1954, allocations: 12.91 kB / 0.5053 GB, free: 5.293 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.1954, allocations: 4 kB / 0.5053 GB, free: 5.289 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.1954, allocations: 34.5 kB / 0.5053 GB, free: 5.246 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.442e-06/0.1954, allocations: 0 / 0.5053 GB, free: 5.246 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002221/0.1957, allocations: 63.41 kB / 0.5054 GB, free: 5.172 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.1957, allocations: 81.11 kB / 0.5055 GB, free: 5.074 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1959, allocations: 125.7 kB / 0.5056 GB, free: 4.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.1959, allocations: 25.7 kB / 0.5056 GB, free: 4.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.316e-05/0.196, allocations: 104.1 kB / 0.5057 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.196, allocations: 4 kB / 0.5057 GB, free: 4.801 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/0.1961, allocations: 29.66 kB / 0.5057 GB, free: 4.766 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000136/0.1962, allocations: 310.8 kB / 0.506 GB, free: 4.453 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.293e-05/0.1962, allocations: 15.98 kB / 0.5061 GB, free: 4.438 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.195e-05/0.1963, allocations: 62.8 kB / 0.5061 GB, free: 4.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.1965, allocations: 130.2 kB / 0.5062 GB, free: 4.188 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.1965, allocations: 0 / 0.5062 GB, free: 4.188 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002067/0.1967, allocations: 119.2 kB / 0.5064 GB, free: 4.059 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.87e-05/0.1967, allocations: 29.7 kB / 0.5064 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.148e-06/0.1968, allocations: 4 kB / 0.5064 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1968, allocations: 0 / 0.5064 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.94e-05/0.1969, allocations: 16.19 kB / 0.5064 GB, free: 4.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.1969, allocations: 11.94 kB / 0.5064 GB, free: 3.992 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.361e-05/0.197, allocations: 15.94 kB / 0.5064 GB, free: 3.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.197, allocations: 4 kB / 0.5064 GB, free: 3.973 MB / 398.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 0.000132/0.1971, allocations: 139.5 kB / 0.5066 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1972, allocations: 4 kB / 0.5066 GB, free: 3.816 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.1972, allocations: 7.531 kB / 0.5066 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.1972, allocations: 7.922 kB / 0.5066 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.1972, allocations: 3.938 kB / 0.5066 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1972, allocations: 0 / 0.5066 GB, free: 3.793 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002031/0.1974, allocations: 161.7 kB / 0.5067 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.1975, allocations: 0 / 0.5067 GB, free: 3.586 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.72e-07/0.1975, allocations: 3.938 kB / 0.5067 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.159e-06/0.1975, allocations: 0 / 0.5067 GB, free: 3.582 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1975, allocations: 3.938 kB / 0.5067 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.1975, allocations: 0 / 0.5067 GB, free: 3.578 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.1975, allocations: 7.938 kB / 0.5068 GB, free: 3.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000146/0.1977, allocations: 169.2 kB / 0.5069 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.1977, allocations: 81.11 kB / 0.507 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.1977, allocations: 0 / 0.507 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.101e-05/0.1978, allocations: 0 / 0.507 GB, free: 3.285 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.1978, allocations: 7.938 kB / 0.507 GB, free: 3.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.1978, allocations: 4 kB / 0.507 GB, free: 3.273 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.927e-05/0.1979, allocations: 87.27 kB / 0.5071 GB, free: 3.188 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1979, allocations: 0 / 0.5071 GB, free: 3.188 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1982, allocations: 8 kB / 0.5071 GB, free: 3.18 MB / 398.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.0001884/0.1984, allocations: 111.3 kB / 0.5072 GB, free: 3.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001573/0.1985, allocations: 91.25 kB / 0.5073 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1985, allocations: 0 / 0.5073 GB, free: 2.961 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.1986, allocations: 55.41 kB / 0.5073 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000219/0.1988, allocations: 3.438 kB / 0.5073 GB, free: 2.895 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.1991, allocations: 113.4 kB / 0.5075 GB, free: 2.758 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.1995, allocations: 0.6807 MB / 0.5081 GB, free: 2.051 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.1997, allocations: 15.73 kB / 0.5081 GB, free: 2.035 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.1997, allocations: 11.44 kB / 0.5081 GB, free: 2.023 MB / 398.1 MB Notification: Performance of SimCode: time 6.41e-07/0.1997, allocations: 0 / 0.5081 GB, free: 2.023 MB / 398.1 MB Notification: Performance of Templates: time 0.003308/0.203, allocations: 0.5268 MB / 0.5087 GB, free: 1.512 MB / 398.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)