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.001496/0.001496, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 200.5 kB / 16.79 MB, free: 6.809 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.313/1.313, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9475/0.9475, allocations: 135.1 MB / 425.7 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 64.75 kB / 0.5053 GB, free: 5.789 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1582, allocations: 80.93 MB / 0.5844 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001821/0.1601, allocations: 0.6349 MB / 0.585 GB, free: 4.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002822/0.1604, allocations: 39.88 kB / 0.585 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.808e-05/0.1604, allocations: 8 kB / 0.585 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.91e-05/0.1605, allocations: 0 / 0.585 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.085e-05/0.1605, allocations: 0 / 0.585 GB, free: 4.332 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001496/0.1606, allocations: 11.98 kB / 0.585 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.687e-05/0.1607, allocations: 3.938 kB / 0.585 GB, free: 4.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.576e-05/0.1607, allocations: 4 kB / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.636e-05/0.1608, allocations: 0 / 0.585 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.854e-05/0.1608, allocations: 7.875 kB / 0.585 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.114e-05/0.1608, allocations: 4 kB / 0.5851 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.608e-05/0.1609, allocations: 15.98 kB / 0.5851 GB, free: 4.285 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.562e-05/0.1609, allocations: 8 kB / 0.5851 GB, free: 4.277 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.862e-05/0.1609, allocations: 15.91 kB / 0.5851 GB, free: 4.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 6.372e-05/0.161, allocations: 7.984 kB / 0.5851 GB, free: 4.254 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.161, allocations: 4 kB / 0.5851 GB, free: 4.25 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.161, allocations: 0 / 0.5851 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.161, allocations: 0 / 0.5851 GB, free: 4.25 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.0003869/0.1614, allocations: 349.3 kB / 0.5854 GB, free: 3.852 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.1615, allocations: 8.031 kB / 0.5854 GB, free: 3.844 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.1615, allocations: 4.844 kB / 0.5854 GB, free: 3.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.93e-05/0.1616, allocations: 168.6 kB / 0.5856 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.708e-06/0.1616, allocations: 4.375 kB / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1616, allocations: 384 / 0.5856 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001205/0.1618, allocations: 58.19 kB / 0.5857 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.1618, allocations: 192 / 0.5857 GB, free: 3.57 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1618, allocations: 3.938 kB / 0.5857 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1618, allocations: 11.98 kB / 0.5857 GB, free: 3.555 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.548e-05/0.1619, allocations: 23.98 kB / 0.5857 GB, free: 3.531 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000389/0.1623, allocations: 264.8 kB / 0.586 GB, free: 3.223 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.1623, allocations: 22.58 kB / 0.586 GB, free: 3.191 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.663e-05/0.1623, allocations: 16.78 kB / 0.586 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.1624, allocations: 0 / 0.586 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.1624, allocations: 38.62 kB / 0.586 GB, free: 3.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1624, allocations: 0 / 0.586 GB, free: 3.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001501/0.1626, allocations: 59.41 kB / 0.5861 GB, free: 3.055 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1626, allocations: 89.22 kB / 0.5862 GB, free: 2.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.413e-05/0.1627, allocations: 113.8 kB / 0.5863 GB, free: 2.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.1627, allocations: 29.64 kB / 0.5863 GB, free: 2.793 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.1628, allocations: 95.8 kB / 0.5864 GB, free: 2.695 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-06/0.1628, allocations: 7.906 kB / 0.5864 GB, free: 2.688 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.792e-05/0.1628, allocations: 29.64 kB / 0.5864 GB, free: 2.652 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.163, allocations: 318.8 kB / 0.5867 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.436e-05/0.163, allocations: 11.98 kB / 0.5868 GB, free: 2.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.962e-05/0.163, allocations: 58.86 kB / 0.5868 GB, free: 2.238 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001009/0.1631, allocations: 134.1 kB / 0.5869 GB, free: 2.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1632, allocations: 0 / 0.5869 GB, free: 2.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001422/0.1633, allocations: 111.5 kB / 0.587 GB, free: 1.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1633, allocations: 41.7 kB / 0.5871 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.1633, allocations: 0 / 0.5871 GB, free: 1.902 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1634, allocations: 8 kB / 0.5871 GB, free: 1.895 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.1634, allocations: 19.88 kB / 0.5871 GB, free: 1.875 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1634, allocations: 3.984 kB / 0.5871 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.091e-05/0.1635, allocations: 7.906 kB / 0.5871 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.1635, allocations: 8 kB / 0.5871 GB, free: 1.855 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 8.581e-05/0.1636, allocations: 147.4 kB / 0.5873 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.785e-05/0.1637, allocations: 8 kB / 0.5873 GB, free: 1.688 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.408e-05/0.1637, allocations: 15.44 kB / 0.5873 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.1637, allocations: 0 / 0.5873 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.1637, allocations: 0 / 0.5873 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-06/0.1637, allocations: 0 / 0.5873 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001373/0.1638, allocations: 157.6 kB / 0.5874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1638, allocations: 0 / 0.5874 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.104e-06/0.1639, allocations: 4 kB / 0.5874 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.1639, allocations: 0 / 0.5874 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1639, allocations: 0 / 0.5874 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1639, allocations: 0 / 0.5874 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1639, allocations: 4 kB / 0.5875 GB, free: 1.457 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001801/0.1641, allocations: 169.1 kB / 0.5876 GB, free: 1.27 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.088e-05/0.1641, allocations: 77.11 kB / 0.5877 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.1641, allocations: 4 kB / 0.5877 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.633e-05/0.1642, allocations: 0 / 0.5877 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.258e-05/0.1642, allocations: 0 / 0.5877 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.1642, allocations: 4 kB / 0.5877 GB, free: 1.168 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.216e-05/0.1643, allocations: 99.23 kB / 0.5878 GB, free: 1.07 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.583e-06/0.1643, allocations: 0 / 0.5878 GB, free: 1.07 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1645, allocations: 15.88 kB / 0.5878 GB, free: 1.055 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.000171/0.1647, allocations: 111.2 kB / 0.5879 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1648, allocations: 83.33 kB / 0.588 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1648, allocations: 0 / 0.588 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.984e-05/0.1649, allocations: 55.91 kB / 0.588 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.1651, allocations: 12.06 kB / 0.5881 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002008/0.1653, allocations: 128.5 kB / 0.5882 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.1657, allocations: 0.6809 MB / 0.5888 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.091e-05/0.1657, allocations: 7.438 kB / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1657, allocations: 0 / 0.5888 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of Templates: time 0.002076/0.1678, allocations: 0.6797 MB / 0.5895 GB, free: 15.22 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)