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.0007935/0.0007936, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005335/0.005335, allocations: 169.5 kB / 16.27 MB, free: 6.336 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.364/1.364, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7559/0.7559, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 14.03 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5915/0.5918, allocations: 81.58 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007476/0.5926, allocations: 321.5 kB / 0.584 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.5929, allocations: 42.69 kB / 0.584 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.703e-05/0.5929, allocations: 0.9688 kB / 0.584 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.619e-05/0.5929, allocations: 0.6094 kB / 0.584 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.593, allocations: 1.062 kB / 0.584 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001731/0.5932, allocations: 13.56 kB / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.533e-05/0.5932, allocations: 3.891 kB / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.378e-05/0.5933, allocations: 1.453 kB / 0.584 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.362e-05/0.5933, allocations: 10.41 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.543e-05/0.5933, allocations: 1.531 kB / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.25e-05/0.5934, allocations: 0 / 0.5841 GB, free: 3.789 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.5935, allocations: 21.33 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.532e-05/0.5935, allocations: 11.97 kB / 0.5841 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.5935, allocations: 31.14 kB / 0.5841 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.5937, allocations: 17.75 kB / 0.5841 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.5937, allocations: 0.7031 kB / 0.5841 GB, free: 3.734 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5937, allocations: 0.6875 kB / 0.5841 GB, free: 3.734 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.856e-06/0.5937, allocations: 0 / 0.5841 GB, free: 3.734 MB / 430.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.000263/0.594, allocations: 349.3 kB / 0.5845 GB, free: 3.344 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.594, allocations: 10 kB / 0.5845 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.947e-05/0.594, allocations: 10.41 kB / 0.5845 GB, free: 3.336 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.71e-05/0.5941, allocations: 168.7 kB / 0.5846 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.5941, allocations: 1.156 kB / 0.5846 GB, free: 3.137 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.5942, allocations: 10.22 kB / 0.5847 GB, free: 3.129 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.5943, allocations: 54 kB / 0.5847 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.824e-06/0.5943, allocations: 192 / 0.5847 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.5943, allocations: 5.688 kB / 0.5847 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.747e-05/0.5944, allocations: 6.516 kB / 0.5847 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.327e-05/0.5944, allocations: 22.92 kB / 0.5847 GB, free: 3.086 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002995/0.5947, allocations: 270 kB / 0.585 GB, free: 2.801 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.248e-05/0.5948, allocations: 25.53 kB / 0.585 GB, free: 2.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.613e-05/0.5948, allocations: 8 kB / 0.585 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.514e-06/0.5948, allocations: 0 / 0.585 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.968e-05/0.5949, allocations: 32.17 kB / 0.5851 GB, free: 2.723 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.71e-07/0.5949, allocations: 1.219 kB / 0.5851 GB, free: 2.723 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000174/0.595, allocations: 71.84 kB / 0.5851 GB, free: 2.652 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.5951, allocations: 78.7 kB / 0.5852 GB, free: 2.559 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.82e-05/0.5952, allocations: 122.9 kB / 0.5853 GB, free: 2.445 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.5952, allocations: 25.7 kB / 0.5853 GB, free: 2.414 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.5952, allocations: 101.4 kB / 0.5854 GB, free: 2.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.107e-06/0.5952, allocations: 9.547 kB / 0.5855 GB, free: 2.309 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.5953, allocations: 16.66 kB / 0.5855 GB, free: 2.289 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.228e-05/0.5953, allocations: 318.1 kB / 0.5858 GB, free: 1.973 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.864e-05/0.5954, allocations: 21.19 kB / 0.5858 GB, free: 1.961 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.71e-05/0.5954, allocations: 56.7 kB / 0.5858 GB, free: 1.895 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.566e-05/0.5955, allocations: 129.6 kB / 0.586 GB, free: 1.754 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5955, allocations: 0 / 0.586 GB, free: 1.754 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001433/0.5957, allocations: 120.8 kB / 0.5861 GB, free: 1.668 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.87e-05/0.5957, allocations: 35.7 kB / 0.5861 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.5957, allocations: 2 kB / 0.5861 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5957, allocations: 2.656 kB / 0.5861 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.833e-05/0.5958, allocations: 12.61 kB / 0.5861 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5958, allocations: 2.344 kB / 0.5861 GB, free: 1.633 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.741e-05/0.5959, allocations: 9.453 kB / 0.5861 GB, free: 1.629 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/0.5959, allocations: 14.19 kB / 0.5862 GB, free: 1.621 MB / 430.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 6.494e-05/0.596, allocations: 156.2 kB / 0.5863 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.596, allocations: 2.031 kB / 0.5863 GB, free: 1.461 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.306e-05/0.596, allocations: 5.578 kB / 0.5863 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.596, allocations: 0.9688 kB / 0.5863 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.596, allocations: 0.75 kB / 0.5863 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.954e-06/0.5961, allocations: 0 / 0.5863 GB, free: 1.457 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.5962, allocations: 157.9 kB / 0.5865 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5962, allocations: 0 / 0.5865 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.242e-06/0.5962, allocations: 1.781 kB / 0.5865 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.5962, allocations: 0 / 0.5865 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.173e-06/0.5962, allocations: 1 kB / 0.5865 GB, free: 1.262 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.5962, allocations: 5.953 kB / 0.5865 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5962, allocations: 0 / 0.5865 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.708e-05/0.5963, allocations: 163.7 kB / 0.5866 GB, free: 1.09 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.27e-05/0.5963, allocations: 83.14 kB / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.5964, allocations: 1.547 kB / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.67e-05/0.5964, allocations: 3.078 kB / 0.5867 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.395e-05/0.5964, allocations: 3.938 kB / 0.5867 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.54e-06/0.5965, allocations: 7.125 kB / 0.5867 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.806e-05/0.5965, allocations: 89.03 kB / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5965, allocations: 0 / 0.5868 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002473/0.5968, allocations: 18.55 kB / 0.5868 GB, free: 0.8984 MB / 430.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.0001524/0.5969, allocations: 103 kB / 0.5869 GB, free: 0.8086 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001408/0.5971, allocations: 84.62 kB / 0.587 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5971, allocations: 4.125 kB / 0.587 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.477e-05/0.5971, allocations: 60.47 kB / 0.5871 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.5973, allocations: 2.219 kB / 0.5871 GB, free: 0.668 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.5975, allocations: 114.5 kB / 0.5872 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.5977, allocations: 0.6767 MB / 0.5878 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.895e-05/0.5978, allocations: 17.06 kB / 0.5879 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.276e-05/0.5978, allocations: 9.438 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.5978, allocations: 3.938 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of Templates: time 0.003025/0.6008, allocations: 0.4979 MB / 0.5884 GB, free: 15.77 MB / 446.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)