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.005627/0.005627, allocations: 100.5 kB / 15.73 MB, free: 5.953 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.001408/0.001408, allocations: 189.4 kB / 16.67 MB, free: 5.875 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.871/0.871, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 58.81 kB / 0.5857 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1589, allocations: 80.92 MB / 0.6647 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001522/0.1605, allocations: 0.5721 MB / 0.6652 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002053/0.1607, allocations: 39.88 kB / 0.6653 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.786e-05/0.1607, allocations: 0 / 0.6653 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.326e-05/0.1608, allocations: 0 / 0.6653 GB, free: 5.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.936e-05/0.1608, allocations: 4 kB / 0.6653 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.161, allocations: 15.91 kB / 0.6653 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.884e-05/0.1611, allocations: 8 kB / 0.6653 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.633e-05/0.1611, allocations: 3.984 kB / 0.6653 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.697e-05/0.1611, allocations: 3.938 kB / 0.6653 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.414e-05/0.1612, allocations: 4 kB / 0.6653 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.1612, allocations: 4 kB / 0.6653 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.328e-05/0.1613, allocations: 23.92 kB / 0.6653 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.671e-05/0.1613, allocations: 4 kB / 0.6653 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.013e-05/0.1613, allocations: 3.938 kB / 0.6653 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.731e-05/0.1614, allocations: 27.89 kB / 0.6654 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.1614, allocations: 0 / 0.6654 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.022e-06/0.1614, allocations: 4 kB / 0.6654 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.1615, allocations: 0 / 0.6654 GB, free: 5.129 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.0002909/0.1617, allocations: 349.2 kB / 0.6657 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 2.968e-05/0.1618, allocations: 9.109 kB / 0.6657 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.898e-05/0.1618, allocations: 8.891 kB / 0.6657 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.445e-05/0.1619, allocations: 171 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.447e-06/0.1619, allocations: 384 / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.353e-06/0.1619, allocations: 384 / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.1621, allocations: 54.25 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.472e-06/0.1621, allocations: 192 / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1621, allocations: 3.938 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.508e-05/0.1621, allocations: 15.92 kB / 0.666 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.359e-05/0.1622, allocations: 23.98 kB / 0.666 GB, free: 4.41 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002884/0.1625, allocations: 264.8 kB / 0.6662 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.833e-05/0.1625, allocations: 22.58 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.1625, allocations: 8.844 kB / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-06/0.1625, allocations: 0 / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.1626, allocations: 38.56 kB / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.002e-06/0.1626, allocations: 0 / 0.6663 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001511/0.1627, allocations: 67.36 kB / 0.6664 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.1628, allocations: 81.11 kB / 0.6664 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.608e-05/0.1629, allocations: 117.8 kB / 0.6666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1629, allocations: 25.7 kB / 0.6666 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.1629, allocations: 99.94 kB / 0.6667 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.756e-06/0.1629, allocations: 7.953 kB / 0.6667 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.163, allocations: 29.64 kB / 0.6667 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.1631, allocations: 315.2 kB / 0.667 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.1631, allocations: 19.98 kB / 0.667 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.722e-05/0.1632, allocations: 58.8 kB / 0.6671 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.1633, allocations: 134.2 kB / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1633, allocations: 0 / 0.6672 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001344/0.1634, allocations: 127.1 kB / 0.6673 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.1635, allocations: 33.7 kB / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.1635, allocations: 4 kB / 0.6674 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1635, allocations: 4 kB / 0.6674 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.1636, allocations: 15.94 kB / 0.6674 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1636, allocations: 0 / 0.6674 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.897e-05/0.1636, allocations: 7.984 kB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.1636, allocations: 8.469 kB / 0.6674 GB, free: 2.734 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.119e-05/0.1637, allocations: 151.6 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.418e-05/0.1638, allocations: 3.953 kB / 0.6676 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.057e-05/0.1638, allocations: 7.531 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1638, allocations: 7.969 kB / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.1638, allocations: 0 / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1638, allocations: 0 / 0.6676 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001403/0.164, allocations: 157.6 kB / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.164, allocations: 0 / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.164, allocations: 0 / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.164, allocations: 4 kB / 0.6677 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.164, allocations: 4 kB / 0.6677 GB, free: 2.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.164, allocations: 3.938 kB / 0.6677 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.22e-07/0.164, allocations: 0 / 0.6677 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001087/0.1641, allocations: 165.2 kB / 0.6679 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.1641, allocations: 77.11 kB / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.1642, allocations: 4 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.459e-05/0.1642, allocations: 0 / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.277e-05/0.1642, allocations: 4.031 kB / 0.668 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.1643, allocations: 4 kB / 0.668 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.1643, allocations: 95.25 kB / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1643, allocations: 0 / 0.6681 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002398/0.1646, allocations: 11.94 kB / 0.6681 GB, free: 1.941 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.000127/0.1647, allocations: 107.2 kB / 0.6682 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001262/0.1648, allocations: 91.56 kB / 0.6683 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1648, allocations: 4.188 kB / 0.6683 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.922e-05/0.1649, allocations: 59.41 kB / 0.6683 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001994/0.1651, allocations: 5.875 kB / 0.6683 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001927/0.1653, allocations: 108.8 kB / 0.6684 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1655, allocations: 0.6807 MB / 0.6691 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.292e-05/0.1656, allocations: 11.73 kB / 0.6691 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.163e-05/0.1656, allocations: 15.5 kB / 0.6691 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1656, allocations: 0 / 0.6691 GB, free: 0.7812 MB / 0.4981 GB Notification: Performance of Templates: time 0.002433/0.168, allocations: 0.5256 MB / 0.6696 GB, free: 268 kB / 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)