Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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 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.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0008969/0.0008967, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001017/0.001017, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.206/1.206, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8503/0.8503, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002845/0.0002845, allocations: 8.625 kB / 0.5068 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1572, allocations: 82.32 MB / 0.5872 GB, free: 3.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006236/0.1579, allocations: 303.1 kB / 0.5875 GB, free: 2.762 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001653/0.1581, allocations: 39.89 kB / 0.5875 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.583e-05/0.1581, allocations: 0 / 0.5875 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.1581, allocations: 0 / 0.5875 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.444e-05/0.1582, allocations: 7.938 kB / 0.5876 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001386/0.1583, allocations: 4 kB / 0.5876 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.158e-05/0.1584, allocations: 4 kB / 0.5876 GB, free: 2.707 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.391e-05/0.1584, allocations: 7.984 kB / 0.5876 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.922e-05/0.1584, allocations: 7.938 kB / 0.5876 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.21e-05/0.1585, allocations: 0 / 0.5876 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1585, allocations: 0 / 0.5876 GB, free: 2.691 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.1586, allocations: 15.98 kB / 0.5876 GB, free: 2.676 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.317e-05/0.1586, allocations: 7.984 kB / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.014e-05/0.1586, allocations: 25.7 kB / 0.5876 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.35e-05/0.1587, allocations: 19.98 kB / 0.5876 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.663e-06/0.1587, allocations: 0 / 0.5876 GB, free: 2.617 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1587, allocations: 0 / 0.5876 GB, free: 2.617 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.005e-06/0.1587, allocations: 3.938 kB / 0.5876 GB, free: 2.613 MB / 494.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.0002513/0.159, allocations: 345.1 kB / 0.588 GB, free: 2.223 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.019e-05/0.159, allocations: 8.031 kB / 0.588 GB, free: 2.215 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.976e-05/0.159, allocations: 7.906 kB / 0.588 GB, free: 2.207 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.719e-05/0.1591, allocations: 171.2 kB / 0.5882 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.1591, allocations: 0 / 0.5882 GB, free: 2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.1591, allocations: 4 kB / 0.5882 GB, free: 1.996 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001108/0.1593, allocations: 61.67 kB / 0.5882 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-06/0.1593, allocations: 0 / 0.5882 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.264e-06/0.1593, allocations: 0 / 0.5882 GB, free: 1.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.745e-05/0.1593, allocations: 8 kB / 0.5882 GB, free: 1.922 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.264e-05/0.1594, allocations: 23.98 kB / 0.5882 GB, free: 1.898 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002865/0.1597, allocations: 268.7 kB / 0.5885 GB, free: 1.586 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.58e-05/0.1597, allocations: 22.58 kB / 0.5885 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.1597, allocations: 0 / 0.5885 GB, free: 1.555 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1597, allocations: 30.56 kB / 0.5886 GB, free: 1.516 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.82e-07/0.1597, allocations: 8.062 kB / 0.5886 GB, free: 1.508 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001448/0.1599, allocations: 67.33 kB / 0.5886 GB, free: 1.43 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.1599, allocations: 81.06 kB / 0.5887 GB, free: 1.332 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.687e-05/0.16, allocations: 113.8 kB / 0.5888 GB, free: 1.211 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.16, allocations: 29.7 kB / 0.5888 GB, free: 1.176 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.137e-05/0.1601, allocations: 99.78 kB / 0.5889 GB, free: 1.074 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.939e-06/0.1601, allocations: 11.91 kB / 0.5889 GB, free: 1.062 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-06/0.1601, allocations: 0 / 0.5889 GB, free: 1.062 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.873e-05/0.1602, allocations: 315 kB / 0.5892 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.761e-05/0.1602, allocations: 15.98 kB / 0.5893 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.326e-05/0.1603, allocations: 54.86 kB / 0.5893 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.497e-05/0.1603, allocations: 53.64 kB / 0.5894 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1604, allocations: 0 / 0.5894 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001253/0.1605, allocations: 115.2 kB / 0.5895 GB, free: 480 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.1605, allocations: 37.69 kB / 0.5895 GB, free: 436 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1605, allocations: 8.25 kB / 0.5895 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1605, allocations: 0 / 0.5895 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.908e-05/0.1606, allocations: 15.94 kB / 0.5895 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/0.1606, allocations: 3.953 kB / 0.5895 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.1607, allocations: 15.84 kB / 0.5896 GB, free: 392 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.1607, allocations: 4 kB / 0.5896 GB, free: 388 kB / 494.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.13e-05/0.1608, allocations: 151.4 kB / 0.5897 GB, free: 220 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.201e-05/0.1608, allocations: 4 kB / 0.5897 GB, free: 216 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.048e-05/0.1608, allocations: 3.531 kB / 0.5897 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1608, allocations: 4 kB / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1609, allocations: 0 / 0.5897 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1609, allocations: 3.953 kB / 0.5897 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001379/0.161, allocations: 157.7 kB / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.161, allocations: 0 / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.161, allocations: 0 / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.161, allocations: 0 / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.161, allocations: 3.984 kB / 0.5899 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.161, allocations: 4 kB / 0.5899 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.161, allocations: 0 / 0.5899 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.549e-05/0.1611, allocations: 165.2 kB / 0.59 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.027e-05/0.1612, allocations: 89 kB / 0.5901 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.1612, allocations: 0 / 0.5901 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.1613, allocations: 3.984 kB / 0.5901 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.859e-06/0.1613, allocations: 0 / 0.5901 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1613, allocations: 4 kB / 0.5901 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.139e-05/0.1613, allocations: 95.2 kB / 0.5902 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1613, allocations: 32 / 0.5902 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002235/0.1616, allocations: 12 kB / 0.5902 GB, free: 15.58 MB / 0.4981 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001412/0.1617, allocations: 103.2 kB / 0.5903 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.1618, allocations: 83.33 kB / 0.5904 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1618, allocations: 0 / 0.5904 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.643e-05/0.1619, allocations: 63.39 kB / 0.5905 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.162, allocations: 4.516 kB / 0.5905 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001804/0.1622, allocations: 118.7 kB / 0.5906 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002107/0.1624, allocations: 0.677 MB / 0.5912 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.764e-05/0.1625, allocations: 12.17 kB / 0.5913 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.388e-06/0.1625, allocations: 7.438 kB / 0.5913 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1625, allocations: 0 / 0.5913 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.002104/0.1646, allocations: 0.4909 MB / 0.5917 GB, free: 13.96 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: