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.001131/0.001131, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001259/0.001259, allocations: 191 kB / 17.29 MB, free: 5.516 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.342/1.342, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8006/0.8006, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001264, allocations: 67.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3879/0.3892, allocations: 80.91 MB / 0.5858 GB, free: 25.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001595/0.3908, allocations: 0.5708 MB / 0.5863 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002036/0.391, allocations: 33.34 kB / 0.5864 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.947e-05/0.3911, allocations: 0 / 0.5864 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.3911, allocations: 0 / 0.5864 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.937e-05/0.3911, allocations: 5.25 kB / 0.5864 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001821/0.3913, allocations: 17.11 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.919e-05/0.3914, allocations: 3.938 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.761e-05/0.3915, allocations: 5.141 kB / 0.5864 GB, free: 25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.783e-05/0.3915, allocations: 6.781 kB / 0.5864 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.342e-05/0.3915, allocations: 2.031 kB / 0.5864 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.148e-05/0.3915, allocations: 0 / 0.5864 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.3916, allocations: 20.23 kB / 0.5864 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.507e-05/0.3916, allocations: 3.156 kB / 0.5864 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.186e-05/0.3917, allocations: 9.344 kB / 0.5864 GB, free: 24.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 8.223e-05/0.3917, allocations: 23.02 kB / 0.5865 GB, free: 24.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3918, allocations: 0 / 0.5865 GB, free: 24.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3918, allocations: 0.625 kB / 0.5865 GB, free: 24.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3918, allocations: 1.281 kB / 0.5865 GB, free: 24.96 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.0002194/0.392, allocations: 353.8 kB / 0.5868 GB, free: 24.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.392, allocations: 11.83 kB / 0.5868 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.284e-05/0.3921, allocations: 10.34 kB / 0.5868 GB, free: 24.56 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.274e-05/0.3921, allocations: 171.6 kB / 0.587 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.3921, allocations: 384 / 0.587 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.3922, allocations: 2.406 kB / 0.587 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001118/0.3923, allocations: 55.47 kB / 0.587 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.162e-06/0.3923, allocations: 192 / 0.587 GB, free: 24.32 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.756e-06/0.3923, allocations: 6.656 kB / 0.587 GB, free: 24.31 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.3923, allocations: 13.02 kB / 0.5871 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.147e-05/0.3924, allocations: 23.08 kB / 0.5871 GB, free: 24.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.3926, allocations: 268 kB / 0.5873 GB, free: 24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.317e-05/0.3927, allocations: 17.77 kB / 0.5873 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.442e-05/0.3927, allocations: 14.19 kB / 0.5874 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.051e-06/0.3927, allocations: 0 / 0.5874 GB, free: 23.97 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.3927, allocations: 35.72 kB / 0.5874 GB, free: 23.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.3927, allocations: 0 / 0.5874 GB, free: 23.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=1): time 0.000142/0.3929, allocations: 66.97 kB / 0.5875 GB, free: 23.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.3929, allocations: 78.3 kB / 0.5875 GB, free: 23.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.393, allocations: 122.1 kB / 0.5877 GB, free: 23.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/0.393, allocations: 26.64 kB / 0.5877 GB, free: 23.62 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.727e-05/0.393, allocations: 95.3 kB / 0.5878 GB, free: 23.53 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.953e-06/0.393, allocations: 10.5 kB / 0.5878 GB, free: 23.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.498e-05/0.3931, allocations: 28.7 kB / 0.5878 GB, free: 23.49 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.3931, allocations: 316.7 kB / 0.5881 GB, free: 23.18 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.3931, allocations: 11.11 kB / 0.5881 GB, free: 23.17 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-05/0.3932, allocations: 60.52 kB / 0.5882 GB, free: 23.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.966e-05/0.3933, allocations: 132.3 kB / 0.5883 GB, free: 22.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.3933, allocations: 1.438 kB / 0.5883 GB, free: 22.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001222/0.3934, allocations: 122.8 kB / 0.5884 GB, free: 22.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.3934, allocations: 31.17 kB / 0.5884 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.3934, allocations: 2.219 kB / 0.5885 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.3935, allocations: 3.969 kB / 0.5885 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.3935, allocations: 10.75 kB / 0.5885 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3935, allocations: 6.297 kB / 0.5885 GB, free: 22.83 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.411e-05/0.3936, allocations: 16.8 kB / 0.5885 GB, free: 22.82 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.3936, allocations: 9.531 kB / 0.5885 GB, free: 22.81 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.474e-05/0.3937, allocations: 148.1 kB / 0.5886 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3937, allocations: 2.781 kB / 0.5886 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.979e-06/0.3937, allocations: 5 kB / 0.5886 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.3937, allocations: 3.984 kB / 0.5886 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3938, allocations: 1.281 kB / 0.5887 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.3938, allocations: 0 / 0.5887 GB, free: 22.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.705e-05/0.3939, allocations: 157.7 kB / 0.5888 GB, free: 22.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.3939, allocations: 3.984 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.3939, allocations: 5.219 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.3939, allocations: 0.7812 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.3939, allocations: 1.281 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3939, allocations: 0.5 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3939, allocations: 5.781 kB / 0.5888 GB, free: 22.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.889e-05/0.394, allocations: 175 kB / 0.589 GB, free: 22.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.394, allocations: 77.11 kB / 0.5891 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.16e-05/0.394, allocations: 2.969 kB / 0.5891 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.612e-05/0.3941, allocations: 1.094 kB / 0.5891 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.3941, allocations: 1.125 kB / 0.5891 GB, free: 22.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.3941, allocations: 2.562 kB / 0.5891 GB, free: 22.17 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.948e-05/0.3942, allocations: 92.83 kB / 0.5892 GB, free: 22.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3942, allocations: 0 / 0.5892 GB, free: 22.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000249/0.3944, allocations: 12.16 kB / 0.5892 GB, free: 22.09 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.000117/0.3945, allocations: 110 kB / 0.5893 GB, free: 21.99 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001316/0.3947, allocations: 88.75 kB / 0.5894 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3947, allocations: 0 / 0.5894 GB, free: 21.91 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.979e-05/0.3947, allocations: 60.5 kB / 0.5894 GB, free: 21.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002073/0.3949, allocations: 10.11 kB / 0.5894 GB, free: 21.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001837/0.3951, allocations: 100.1 kB / 0.5895 GB, free: 21.74 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.149e-05/0.3952, allocations: 0.6775 MB / 0.5902 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.3953, allocations: 12.55 kB / 0.5902 GB, free: 21.04 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.006e-05/0.3953, allocations: 9.375 kB / 0.5902 GB, free: 21.03 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3953, allocations: 0.875 kB / 0.5902 GB, free: 21.03 MB / 446.1 MB Notification: Performance of Templates: time 0.002405/0.3977, allocations: 0.526 MB / 0.5907 GB, free: 20.79 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 gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)