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.006238/0.006238, allocations: 100.3 kB / 15.73 MB, free: 5.602 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.001311/0.001311, allocations: 190.1 kB / 16.68 MB, free: 5.523 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.2 MB / 422.7 MB, free: 6.512 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 65.84 kB / 0.5814 GB, free: 23.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1598, allocations: 80.21 MB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001422/0.1613, allocations: 0.5784 MB / 0.6603 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000205/0.1615, allocations: 43.86 kB / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.981e-05/0.1615, allocations: 0 / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.466e-05/0.1616, allocations: 0 / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.928e-05/0.1616, allocations: 0 / 0.6603 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.1618, allocations: 11.98 kB / 0.6603 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.152e-05/0.1619, allocations: 4 kB / 0.6603 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.563e-05/0.1619, allocations: 4 kB / 0.6603 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.779e-05/0.162, allocations: 3.938 kB / 0.6603 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.42e-05/0.162, allocations: 7.984 kB / 0.6604 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.048e-05/0.162, allocations: 0 / 0.6604 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.1621, allocations: 19.98 kB / 0.6604 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.909e-05/0.1621, allocations: 11.92 kB / 0.6604 GB, free: 9.527 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.1622, allocations: 3.938 kB / 0.6604 GB, free: 9.523 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.887e-05/0.1623, allocations: 23.92 kB / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1623, allocations: 0 / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1623, allocations: 0 / 0.6604 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.1623, allocations: 0 / 0.6604 GB, free: 9.5 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.0003001/0.1626, allocations: 353.2 kB / 0.6607 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.1626, allocations: 12.03 kB / 0.6608 GB, free: 9.086 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.049e-05/0.1627, allocations: 8.891 kB / 0.6608 GB, free: 9.078 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.656e-05/0.1628, allocations: 162.9 kB / 0.6609 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.1628, allocations: 384 / 0.6609 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.1628, allocations: 12.36 kB / 0.6609 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001225/0.1629, allocations: 58.23 kB / 0.661 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.312e-06/0.1629, allocations: 192 / 0.661 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1629, allocations: 3.938 kB / 0.661 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.185e-05/0.163, allocations: 7.938 kB / 0.661 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.519e-05/0.163, allocations: 27.98 kB / 0.661 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002855/0.1633, allocations: 272.8 kB / 0.6613 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.622e-05/0.1634, allocations: 14.58 kB / 0.6613 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.615e-05/0.1634, allocations: 12.86 kB / 0.6613 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.54e-06/0.1634, allocations: 0 / 0.6613 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.1634, allocations: 30.56 kB / 0.6613 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.1634, allocations: 7.938 kB / 0.6614 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001561/0.1636, allocations: 75.38 kB / 0.6614 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.1636, allocations: 77.11 kB / 0.6615 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.008e-05/0.1637, allocations: 113.8 kB / 0.6616 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.1638, allocations: 25.7 kB / 0.6616 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.1638, allocations: 111.9 kB / 0.6617 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-06/0.1638, allocations: 0 / 0.6617 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.1639, allocations: 21.72 kB / 0.6618 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.183e-05/0.164, allocations: 323.2 kB / 0.6621 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.357e-05/0.164, allocations: 15.98 kB / 0.6621 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.318e-05/0.1641, allocations: 66.86 kB / 0.6621 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001055/0.1642, allocations: 130.2 kB / 0.6623 GB, free: 7.301 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1642, allocations: 4 kB / 0.6623 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001441/0.1643, allocations: 123.1 kB / 0.6624 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.1644, allocations: 29.7 kB / 0.6624 GB, free: 7.129 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.1644, allocations: 4 kB / 0.6624 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1644, allocations: 0 / 0.6624 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.281e-05/0.1645, allocations: 19.92 kB / 0.6624 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1645, allocations: 4 kB / 0.6624 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.829e-05/0.1645, allocations: 4 kB / 0.6624 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.1645, allocations: 8.25 kB / 0.6625 GB, free: 7.09 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 8.607e-05/0.1646, allocations: 152.3 kB / 0.6626 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.382e-05/0.1647, allocations: 7.953 kB / 0.6626 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.204e-05/0.1647, allocations: 3.531 kB / 0.6626 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.1647, allocations: 0 / 0.6626 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.82e-06/0.1647, allocations: 4 kB / 0.6626 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-06/0.1647, allocations: 0 / 0.6626 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1649, allocations: 157.6 kB / 0.6628 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1649, allocations: 0 / 0.6628 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1649, allocations: 0 / 0.6628 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.1649, allocations: 4 kB / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.1649, allocations: 0 / 0.6628 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1649, allocations: 3.938 kB / 0.6628 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1649, allocations: 4 kB / 0.6628 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001031/0.165, allocations: 165.2 kB / 0.6629 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.691e-05/0.165, allocations: 77.11 kB / 0.663 GB, free: 6.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.309e-05/0.1651, allocations: 4 kB / 0.663 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.516e-05/0.1651, allocations: 4.031 kB / 0.663 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.1651, allocations: 7.984 kB / 0.663 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1652, allocations: 3.938 kB / 0.663 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.965e-05/0.1652, allocations: 87.28 kB / 0.6631 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1652, allocations: 0 / 0.6631 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002765/0.1655, allocations: 11.94 kB / 0.6631 GB, free: 6.293 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.0001421/0.1656, allocations: 115.2 kB / 0.6632 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001515/0.1658, allocations: 91.33 kB / 0.6633 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.1658, allocations: 0 / 0.6633 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.1658, allocations: 55.41 kB / 0.6634 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.166, allocations: 9.031 kB / 0.6634 GB, free: 6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001732/0.1662, allocations: 104.9 kB / 0.6635 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.1664, allocations: 0.6768 MB / 0.6641 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.188e-05/0.1665, allocations: 16.47 kB / 0.6642 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.1665, allocations: 11.44 kB / 0.6642 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1665, allocations: 0 / 0.6642 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of Templates: time 0.002396/0.1689, allocations: 0.5196 MB / 0.6647 GB, free: 4.625 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)