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.001077/0.001077, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001127/0.001127, allocations: 195 kB / 16.14 MB, free: 6.645 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.376/1.376, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9495/0.9495, allocations: 135.1 MB / 425.1 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 64.66 kB / 0.5047 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2037, allocations: 80.93 MB / 0.5837 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.003032/0.2068, allocations: 0.6305 MB / 0.5843 GB, free: 4.375 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00037/0.2072, allocations: 47.88 kB / 0.5844 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.071e-05/0.2073, allocations: 0 / 0.5844 GB, free: 4.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.859e-05/0.2073, allocations: 4 kB / 0.5844 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.116e-05/0.2074, allocations: 0 / 0.5844 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002364/0.2076, allocations: 4 kB / 0.5844 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.284e-05/0.2077, allocations: 15.97 kB / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.456e-05/0.2078, allocations: 0 / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.956e-05/0.2078, allocations: 4 kB / 0.5844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.305e-05/0.2079, allocations: 0 / 0.5844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.2079, allocations: 7.875 kB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.208, allocations: 15.98 kB / 0.5844 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.108e-05/0.2081, allocations: 4 kB / 0.5844 GB, free: 4.273 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.751e-05/0.2081, allocations: 11.94 kB / 0.5844 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.2082, allocations: 19.95 kB / 0.5845 GB, free: 4.242 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2083, allocations: 4 kB / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.2083, allocations: 0 / 0.5845 GB, free: 4.238 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2083, allocations: 3.938 kB / 0.5845 GB, free: 4.234 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.0004263/0.2087, allocations: 349.3 kB / 0.5848 GB, free: 3.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.098e-05/0.2088, allocations: 8.031 kB / 0.5848 GB, free: 3.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.2088, allocations: 4.844 kB / 0.5848 GB, free: 3.824 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/0.209, allocations: 168.6 kB / 0.585 GB, free: 3.621 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.209, allocations: 8.375 kB / 0.585 GB, free: 3.613 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.209, allocations: 4.359 kB / 0.585 GB, free: 3.609 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001915/0.2092, allocations: 54.25 kB / 0.585 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.2093, allocations: 4.125 kB / 0.585 GB, free: 3.547 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.2093, allocations: 7.938 kB / 0.5851 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.512e-05/0.2093, allocations: 11.98 kB / 0.5851 GB, free: 3.527 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.737e-05/0.2094, allocations: 23.98 kB / 0.5851 GB, free: 3.504 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004277/0.2098, allocations: 256.8 kB / 0.5853 GB, free: 3.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.642e-05/0.2099, allocations: 30.5 kB / 0.5854 GB, free: 3.164 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.205e-05/0.2099, allocations: 4.859 kB / 0.5854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-06/0.2099, allocations: 0 / 0.5854 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/0.21, allocations: 42.56 kB / 0.5854 GB, free: 3.105 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.463e-06/0.21, allocations: 0 / 0.5854 GB, free: 3.105 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002149/0.2102, allocations: 63.39 kB / 0.5855 GB, free: 3.031 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.2103, allocations: 81.23 kB / 0.5855 GB, free: 2.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2104, allocations: 121.8 kB / 0.5857 GB, free: 2.805 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.2104, allocations: 25.7 kB / 0.5857 GB, free: 2.773 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.347e-05/0.2105, allocations: 103.9 kB / 0.5858 GB, free: 2.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.468e-05/0.2105, allocations: 11.89 kB / 0.5858 GB, free: 2.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2106, allocations: 25.72 kB / 0.5858 GB, free: 2.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.2107, allocations: 314.8 kB / 0.5861 GB, free: 2.309 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.622e-05/0.2108, allocations: 11.98 kB / 0.5861 GB, free: 2.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.137e-05/0.2109, allocations: 62.8 kB / 0.5862 GB, free: 2.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.211, allocations: 130.2 kB / 0.5863 GB, free: 2.047 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.211, allocations: 3.938 kB / 0.5863 GB, free: 2.043 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002054/0.2113, allocations: 115.5 kB / 0.5864 GB, free: 1.918 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.2113, allocations: 37.73 kB / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.2113, allocations: 0 / 0.5865 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2113, allocations: 4 kB / 0.5865 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.2114, allocations: 19.92 kB / 0.5865 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.2115, allocations: 3.938 kB / 0.5865 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.385e-05/0.2116, allocations: 7.906 kB / 0.5865 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.315e-05/0.2116, allocations: 8 kB / 0.5865 GB, free: 1.832 MB / 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001191/0.2117, allocations: 147.4 kB / 0.5867 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.642e-05/0.2118, allocations: 4 kB / 0.5867 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.06e-05/0.2118, allocations: 11.52 kB / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2118, allocations: 0 / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2118, allocations: 0 / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2118, allocations: 0 / 0.5867 GB, free: 1.652 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.212, allocations: 157.6 kB / 0.5868 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.212, allocations: 0 / 0.5868 GB, free: 1.449 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-06/0.212, allocations: 7.938 kB / 0.5868 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.2121, allocations: 0 / 0.5868 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.2121, allocations: 0 / 0.5868 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2121, allocations: 0 / 0.5868 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.2121, allocations: 0 / 0.5868 GB, free: 1.441 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001573/0.2123, allocations: 173.1 kB / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.015e-05/0.2123, allocations: 77.11 kB / 0.5871 GB, free: 1.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2123, allocations: 8 kB / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.2124, allocations: 0 / 0.5871 GB, free: 1.148 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.871e-05/0.2124, allocations: 3.938 kB / 0.5871 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.087e-06/0.2125, allocations: 4 kB / 0.5871 GB, free: 1.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.127e-05/0.2125, allocations: 95.3 kB / 0.5872 GB, free: 1.047 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2125, allocations: 0 / 0.5872 GB, free: 1.047 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003679/0.2129, allocations: 15.94 kB / 0.5872 GB, free: 1.031 MB / 494.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.0002267/0.2131, allocations: 107.2 kB / 0.5873 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001714/0.2133, allocations: 87.27 kB / 0.5874 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.2133, allocations: 0 / 0.5874 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.958e-05/0.2134, allocations: 55.91 kB / 0.5874 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.2137, allocations: 12.06 kB / 0.5874 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002818/0.214, allocations: 106.7 kB / 0.5875 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.2143, allocations: 0.6809 MB / 0.5882 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001322/0.2145, allocations: 7.984 kB / 0.5882 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.888e-05/0.2145, allocations: 11.44 kB / 0.5882 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of SimCode: time 3.9e-07/0.2145, allocations: 4 kB / 0.5882 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of Templates: time 0.003427/0.2179, allocations: 0.4989 MB / 0.5887 GB, free: 15.4 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)