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.001528/0.001528, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001932/0.001932, allocations: 190.5 kB / 16.25 MB, free: 6.637 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.459/1.459, allocations: 222.9 MB / 239.9 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7658/0.7658, allocations: 132.2 MB / 422.3 MB, free: 1.922 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001693/0.001694, allocations: 68.86 kB / 0.5013 GB, free: 9.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.1948, allocations: 80.19 MB / 0.5796 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002363/0.1972, allocations: 0.6425 MB / 0.5802 GB, free: 8.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003665/0.1977, allocations: 39.86 kB / 0.5803 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.582e-05/0.1977, allocations: 0 / 0.5803 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.1978, allocations: 0 / 0.5803 GB, free: 8.453 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.532e-05/0.1979, allocations: 3.938 kB / 0.5803 GB, free: 8.449 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002914/0.1982, allocations: 16 kB / 0.5803 GB, free: 8.434 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001063/0.1983, allocations: 11.98 kB / 0.5803 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.91e-05/0.1984, allocations: 7.984 kB / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.655e-05/0.1984, allocations: 0 / 0.5803 GB, free: 8.414 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.893e-05/0.1984, allocations: 3.938 kB / 0.5803 GB, free: 8.41 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1985, allocations: 7.938 kB / 0.5803 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.1986, allocations: 15.98 kB / 0.5803 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.323e-05/0.1986, allocations: 0 / 0.5803 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.962e-05/0.1987, allocations: 11.94 kB / 0.5804 GB, free: 8.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001288/0.1988, allocations: 19.95 kB / 0.5804 GB, free: 8.355 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.675e-06/0.1988, allocations: 4 kB / 0.5804 GB, free: 8.352 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1988, allocations: 3.938 kB / 0.5804 GB, free: 8.348 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.1988, allocations: 0 / 0.5804 GB, free: 8.348 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.0005538/0.1994, allocations: 349.3 kB / 0.5807 GB, free: 7.949 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.1995, allocations: 12.03 kB / 0.5807 GB, free: 7.938 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.146e-05/0.1995, allocations: 4.844 kB / 0.5807 GB, free: 7.934 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1997, allocations: 164.6 kB / 0.5809 GB, free: 7.734 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.07e-05/0.1997, allocations: 4.312 kB / 0.5809 GB, free: 7.73 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.424e-05/0.1997, allocations: 4.375 kB / 0.5809 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002077/0.1999, allocations: 58.25 kB / 0.5809 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.2, allocations: 192 / 0.5809 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/0.2, allocations: 3.938 kB / 0.581 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/0.2, allocations: 15.97 kB / 0.581 GB, free: 7.645 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.932e-05/0.2001, allocations: 23.98 kB / 0.581 GB, free: 7.621 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004419/0.2006, allocations: 260.8 kB / 0.5812 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.678e-05/0.2006, allocations: 18.52 kB / 0.5813 GB, free: 7.289 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.443e-05/0.2007, allocations: 16.91 kB / 0.5813 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.427e-06/0.2007, allocations: 0 / 0.5813 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.2007, allocations: 34.56 kB / 0.5813 GB, free: 7.227 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.2007, allocations: 0 / 0.5813 GB, free: 7.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002556/0.201, allocations: 63.41 kB / 0.5814 GB, free: 7.152 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.2011, allocations: 81.05 kB / 0.5814 GB, free: 7.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.2012, allocations: 121.9 kB / 0.5816 GB, free: 6.926 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.585e-05/0.2012, allocations: 25.83 kB / 0.5816 GB, free: 6.895 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.016e-05/0.2013, allocations: 103.8 kB / 0.5817 GB, free: 6.789 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.2013, allocations: 3.906 kB / 0.5817 GB, free: 6.785 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.748e-05/0.2014, allocations: 33.7 kB / 0.5817 GB, free: 6.746 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2015, allocations: 318.8 kB / 0.582 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.483e-05/0.2016, allocations: 7.984 kB / 0.582 GB, free: 6.418 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.06e-05/0.2016, allocations: 71.16 kB / 0.5821 GB, free: 6.324 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.2017, allocations: 134.1 kB / 0.5822 GB, free: 6.156 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2017, allocations: 0 / 0.5822 GB, free: 6.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001591/0.2019, allocations: 119.2 kB / 0.5823 GB, free: 6.027 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.836e-05/0.202, allocations: 29.7 kB / 0.5824 GB, free: 5.992 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.202, allocations: 4 kB / 0.5824 GB, free: 5.988 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.202, allocations: 8.25 kB / 0.5824 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.829e-05/0.2021, allocations: 11.94 kB / 0.5824 GB, free: 5.969 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.2021, allocations: 7.938 kB / 0.5824 GB, free: 5.961 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.977e-05/0.2022, allocations: 11.89 kB / 0.5824 GB, free: 5.949 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.2022, allocations: 4 kB / 0.5824 GB, free: 5.945 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.0001122/0.2024, allocations: 156 kB / 0.5826 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.2024, allocations: 0 / 0.5826 GB, free: 5.777 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.938e-05/0.2024, allocations: 7.531 kB / 0.5826 GB, free: 5.77 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.2024, allocations: 3.984 kB / 0.5826 GB, free: 5.766 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.2024, allocations: 4 kB / 0.5826 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.2024, allocations: 0 / 0.5826 GB, free: 5.762 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001609/0.2026, allocations: 157.6 kB / 0.5827 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2026, allocations: 0 / 0.5827 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-07/0.2026, allocations: 0 / 0.5827 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.2026, allocations: 0 / 0.5827 GB, free: 5.559 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.779e-06/0.2026, allocations: 4 kB / 0.5827 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2026, allocations: 0 / 0.5827 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2027, allocations: 0 / 0.5827 GB, free: 5.555 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.2028, allocations: 173.1 kB / 0.5829 GB, free: 5.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.984e-05/0.2028, allocations: 77.11 kB / 0.583 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.2029, allocations: 0 / 0.583 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.976e-05/0.2029, allocations: 7.938 kB / 0.583 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.621e-05/0.203, allocations: 0 / 0.583 GB, free: 5.262 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.203, allocations: 0 / 0.583 GB, free: 5.262 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.784e-05/0.203, allocations: 91.27 kB / 0.5831 GB, free: 5.172 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.9e-07/0.203, allocations: 0 / 0.5831 GB, free: 5.172 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.2033, allocations: 15.94 kB / 0.5831 GB, free: 5.156 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.0001972/0.2035, allocations: 107.3 kB / 0.5832 GB, free: 5.039 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001551/0.2037, allocations: 87.31 kB / 0.5833 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2037, allocations: 0 / 0.5833 GB, free: 4.941 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.237e-05/0.2037, allocations: 55.41 kB / 0.5833 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2039, allocations: 8 kB / 0.5833 GB, free: 4.867 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002562/0.2042, allocations: 113.5 kB / 0.5834 GB, free: 4.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.2044, allocations: 0.6806 MB / 0.5841 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0001241/0.2046, allocations: 15.73 kB / 0.5841 GB, free: 4.008 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.347e-05/0.2046, allocations: 7.438 kB / 0.5841 GB, free: 4.004 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.2046, allocations: 3.938 kB / 0.5841 GB, free: 4 MB / 494.1 MB Notification: Performance of Templates: time 0.002893/0.2075, allocations: 0.5201 MB / 0.5846 GB, free: 3.484 MB / 494.1 MB 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)