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.001203/0.001203, allocations: 116.9 kB / 16.37 MB, free: 6.012 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.001272/0.001272, allocations: 194.4 kB / 17.31 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7918/0.7918, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3869, allocations: 80.9 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001778/0.3888, allocations: 0.5767 MB / 0.5863 GB, free: 25.1 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002197/0.389, allocations: 41.92 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.866e-05/0.389, allocations: 1.344 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.445e-05/0.3891, allocations: 0.6875 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.83e-05/0.3891, allocations: 1.531 kB / 0.5864 GB, free: 25.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.3893, allocations: 16.61 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.481e-05/0.3894, allocations: 5.469 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.435e-05/0.3894, allocations: 1.281 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.979e-05/0.3895, allocations: 9.031 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.143e-05/0.3895, allocations: 1.406 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.3895, allocations: 1.438 kB / 0.5864 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.452e-05/0.3896, allocations: 20.64 kB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.3896, allocations: 2.25 kB / 0.5864 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.096e-05/0.3897, allocations: 9.484 kB / 0.5864 GB, free: 25.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.83e-05/0.3898, allocations: 26.28 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.3898, allocations: 0 / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3898, allocations: 1.344 kB / 0.5865 GB, free: 25.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.228e-06/0.3898, allocations: 0.9062 kB / 0.5865 GB, free: 25.01 MB / 446.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.0002648/0.3901, allocations: 349.6 kB / 0.5868 GB, free: 24.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.3901, allocations: 11.17 kB / 0.5868 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.128e-05/0.3902, allocations: 6.969 kB / 0.5868 GB, free: 24.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.408e-05/0.3902, allocations: 166.2 kB / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3902, allocations: 2.062 kB / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.3902, allocations: 3.156 kB / 0.587 GB, free: 24.42 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.3904, allocations: 62.97 kB / 0.587 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.3904, allocations: 1.375 kB / 0.5871 GB, free: 24.37 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3904, allocations: 7.922 kB / 0.5871 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.368e-05/0.3904, allocations: 5.281 kB / 0.5871 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.3905, allocations: 24.08 kB / 0.5871 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.3907, allocations: 272.1 kB / 0.5873 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.621e-05/0.3908, allocations: 18.98 kB / 0.5874 GB, free: 24.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.388e-05/0.3908, allocations: 6.453 kB / 0.5874 GB, free: 24.03 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.3908, allocations: 4.438 kB / 0.5874 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/0.3908, allocations: 33.25 kB / 0.5874 GB, free: 23.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3908, allocations: 0 / 0.5874 GB, free: 23.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001541/0.391, allocations: 71.39 kB / 0.5875 GB, free: 23.91 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.018e-05/0.391, allocations: 78.39 kB / 0.5875 GB, free: 23.82 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.948e-05/0.3911, allocations: 114 kB / 0.5877 GB, free: 23.71 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.3911, allocations: 25.7 kB / 0.5877 GB, free: 23.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.3911, allocations: 104.7 kB / 0.5878 GB, free: 23.58 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-06/0.3912, allocations: 9.188 kB / 0.5878 GB, free: 23.57 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.626e-05/0.3912, allocations: 22.12 kB / 0.5878 GB, free: 23.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.961e-05/0.3913, allocations: 321.2 kB / 0.5881 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.155e-05/0.3913, allocations: 17.55 kB / 0.5881 GB, free: 23.22 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.3913, allocations: 60.11 kB / 0.5882 GB, free: 23.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.563e-05/0.3914, allocations: 133.9 kB / 0.5883 GB, free: 23.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.3914, allocations: 1.25 kB / 0.5883 GB, free: 23.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001266/0.3915, allocations: 112.1 kB / 0.5884 GB, free: 22.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.481e-05/0.3916, allocations: 32.14 kB / 0.5885 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.3916, allocations: 4.031 kB / 0.5885 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3916, allocations: 2.062 kB / 0.5885 GB, free: 22.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.094e-05/0.3917, allocations: 18.77 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.3917, allocations: 2.906 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.548e-05/0.3917, allocations: 12.19 kB / 0.5885 GB, free: 22.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.3918, allocations: 6.812 kB / 0.5885 GB, free: 22.88 MB / 446.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 5.755e-05/0.3918, allocations: 144.9 kB / 0.5886 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.3919, allocations: 4.031 kB / 0.5886 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.129e-05/0.3919, allocations: 8.719 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.3919, allocations: 0 / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3919, allocations: 1.094 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3919, allocations: 3.188 kB / 0.5887 GB, free: 22.72 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.392, allocations: 162 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.392, allocations: 0 / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.403e-06/0.392, allocations: 1.062 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.392, allocations: 0 / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.392, allocations: 1.125 kB / 0.5888 GB, free: 22.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.392, allocations: 5.156 kB / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.392, allocations: 0 / 0.5888 GB, free: 22.51 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.243e-05/0.3921, allocations: 171 kB / 0.589 GB, free: 22.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.676e-05/0.3921, allocations: 77.11 kB / 0.5891 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/0.3922, allocations: 4.625 kB / 0.5891 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.677e-05/0.3922, allocations: 1.062 kB / 0.5891 GB, free: 22.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.85e-05/0.3922, allocations: 8.984 kB / 0.5891 GB, free: 22.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-06/0.3923, allocations: 2.594 kB / 0.5891 GB, free: 22.23 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.758e-05/0.3923, allocations: 82.59 kB / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3923, allocations: 0.6562 kB / 0.5892 GB, free: 22.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3926, allocations: 17.22 kB / 0.5892 GB, free: 22.15 MB / 446.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.0001466/0.3927, allocations: 113.6 kB / 0.5893 GB, free: 22.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001105/0.3928, allocations: 92.14 kB / 0.5894 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3928, allocations: 1.25 kB / 0.5894 GB, free: 21.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.3929, allocations: 54.72 kB / 0.5894 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001966/0.3931, allocations: 6.141 kB / 0.5894 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001797/0.3932, allocations: 103.6 kB / 0.5895 GB, free: 21.8 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001039/0.3934, allocations: 0.678 MB / 0.5902 GB, free: 21.11 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.783e-05/0.3934, allocations: 16.78 kB / 0.5902 GB, free: 21.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.026e-05/0.3935, allocations: 8.969 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3935, allocations: 1.219 kB / 0.5902 GB, free: 21.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002476/0.3959, allocations: 0.5247 MB / 0.5907 GB, free: 20.85 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)