Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.006214/0.006214, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001347/0.001347, allocations: 190.4 kB / 16.67 MB, free: 5.977 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8301/0.8301, allocations: 132.2 MB / 422.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 63.91 kB / 0.5814 GB, free: 7.512 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.482/0.4834, allocations: 80.21 MB / 0.6597 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001568/0.485, allocations: 0.5719 MB / 0.6603 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002054/0.4853, allocations: 39.34 kB / 0.6603 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.018e-05/0.4853, allocations: 0.8438 kB / 0.6603 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.504e-05/0.4853, allocations: 0 / 0.6603 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.579e-05/0.4854, allocations: 2.297 kB / 0.6603 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001813/0.4856, allocations: 27.75 kB / 0.6603 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.38e-05/0.4856, allocations: 3.688 kB / 0.6603 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.261e-05/0.4857, allocations: 1.812 kB / 0.6603 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.78e-05/0.4857, allocations: 1.953 kB / 0.6603 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.995e-05/0.4858, allocations: 5.922 kB / 0.6604 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.4858, allocations: 1.031 kB / 0.6604 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-05/0.4859, allocations: 20.19 kB / 0.6604 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.915e-05/0.4859, allocations: 3.312 kB / 0.6604 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.231e-05/0.4859, allocations: 9.094 kB / 0.6604 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.638e-05/0.486, allocations: 23.83 kB / 0.6604 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.486, allocations: 0 / 0.6604 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.486, allocations: 4 kB / 0.6604 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.4861, allocations: 0.6094 kB / 0.6604 GB, free: 9.895 MB / 0.4981 GB 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.0002991/0.4864, allocations: 349.6 kB / 0.6607 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.4864, allocations: 9.062 kB / 0.6608 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.375e-05/0.4864, allocations: 2.594 kB / 0.6608 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.698e-05/0.4865, allocations: 170.3 kB / 0.6609 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.411e-05/0.4865, allocations: 2.312 kB / 0.6609 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.4866, allocations: 5.547 kB / 0.6609 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.4867, allocations: 58.06 kB / 0.661 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.649e-06/0.4867, allocations: 5.484 kB / 0.661 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4867, allocations: 3.938 kB / 0.661 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.4868, allocations: 6.594 kB / 0.661 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.145e-05/0.4868, allocations: 23.66 kB / 0.661 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002929/0.4871, allocations: 265.1 kB / 0.6613 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.927e-05/0.4872, allocations: 23.12 kB / 0.6613 GB, free: 8.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.4872, allocations: 9.844 kB / 0.6613 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.017e-06/0.4872, allocations: 4 kB / 0.6613 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.4872, allocations: 32.2 kB / 0.6613 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.823e-06/0.4872, allocations: 0 / 0.6613 GB, free: 8.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001671/0.4874, allocations: 80.52 kB / 0.6614 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.4874, allocations: 78.95 kB / 0.6615 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.614e-05/0.4875, allocations: 111.2 kB / 0.6616 GB, free: 8.621 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.4875, allocations: 25.7 kB / 0.6616 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.45e-05/0.4876, allocations: 106.7 kB / 0.6617 GB, free: 8.488 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.4876, allocations: 7.016 kB / 0.6617 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.4876, allocations: 25.61 kB / 0.6618 GB, free: 8.461 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.301e-05/0.4877, allocations: 321.9 kB / 0.6621 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.912e-05/0.4877, allocations: 9.719 kB / 0.6621 GB, free: 8.141 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.796e-05/0.4878, allocations: 64.06 kB / 0.6621 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.527e-05/0.4879, allocations: 132.8 kB / 0.6623 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4879, allocations: 1.312 kB / 0.6623 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001405/0.488, allocations: 115.5 kB / 0.6624 GB, free: 7.84 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.131e-05/0.4881, allocations: 32.41 kB / 0.6624 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4881, allocations: 2.5 kB / 0.6624 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4881, allocations: 2.812 kB / 0.6624 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.865e-05/0.4882, allocations: 21.05 kB / 0.6624 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.4882, allocations: 2.203 kB / 0.6624 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.4883, allocations: 13.17 kB / 0.6624 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.64e-05/0.4883, allocations: 5.844 kB / 0.6624 GB, free: 7.793 MB / 0.4981 GB 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 7.384e-05/0.4884, allocations: 151.3 kB / 0.6626 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.4884, allocations: 1.859 kB / 0.6626 GB, free: 7.637 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.661e-05/0.4884, allocations: 9.438 kB / 0.6626 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.4884, allocations: 0.5625 kB / 0.6626 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.4884, allocations: 1.5 kB / 0.6626 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4884, allocations: 4.75 kB / 0.6626 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000107/0.4886, allocations: 153.2 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4886, allocations: 0 / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.523e-06/0.4886, allocations: 1.344 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.4886, allocations: 0.5625 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.4886, allocations: 1.188 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.4886, allocations: 0.6094 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.4886, allocations: 1.188 kB / 0.6628 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.277e-05/0.4887, allocations: 175.9 kB / 0.6629 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.4887, allocations: 82.91 kB / 0.663 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.392e-05/0.4887, allocations: 2.156 kB / 0.663 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.4888, allocations: 5.75 kB / 0.663 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.31e-05/0.4888, allocations: 5.156 kB / 0.663 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.089e-06/0.4888, allocations: 1.125 kB / 0.663 GB, free: 7.141 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.898e-05/0.4889, allocations: 86.08 kB / 0.6631 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4889, allocations: 0 / 0.6631 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002449/0.4891, allocations: 19.27 kB / 0.6631 GB, free: 7.059 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 (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.0001679/0.4893, allocations: 110.5 kB / 0.6632 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001401/0.4895, allocations: 82.91 kB / 0.6633 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4895, allocations: 1.406 kB / 0.6633 GB, free: 6.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.273e-05/0.4895, allocations: 56.28 kB / 0.6634 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001962/0.4897, allocations: 3.156 kB / 0.6634 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001849/0.4899, allocations: 122.8 kB / 0.6635 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.49, allocations: 0.6776 MB / 0.6641 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.445e-05/0.4901, allocations: 11.64 kB / 0.6641 GB, free: 6.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.157e-06/0.4901, allocations: 8.688 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.4901, allocations: 1.5 kB / 0.6642 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of Templates: time 0.002373/0.4925, allocations: 0.5248 MB / 0.6647 GB, free: 5.883 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)