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.001317/0.001317, allocations: 105.8 kB / 16.41 MB, free: 6.508 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.001402/0.001402, allocations: 183 kB / 17.34 MB, free: 5.738 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8387/0.8387, allocations: 135.2 MB / 426.4 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 68.67 kB / 0.5864 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1535, allocations: 80.93 MB / 0.6654 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001849/0.1554, allocations: 0.5681 MB / 0.666 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002782/0.1557, allocations: 43.86 kB / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.227e-05/0.1557, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.26e-05/0.1557, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.576e-05/0.1558, allocations: 0 / 0.666 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.156, allocations: 15.98 kB / 0.666 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.941e-05/0.1561, allocations: 11.92 kB / 0.666 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.1561, allocations: 4 kB / 0.666 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.255e-05/0.1561, allocations: 3.938 kB / 0.666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.1562, allocations: 0 / 0.666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.1562, allocations: 0 / 0.666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.383e-05/0.1563, allocations: 19.98 kB / 0.6661 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.1563, allocations: 7.984 kB / 0.6661 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.518e-05/0.1563, allocations: 3.938 kB / 0.6661 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001012/0.1564, allocations: 27.91 kB / 0.6661 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1565, allocations: 0 / 0.6661 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.1565, allocations: 4 kB / 0.6661 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.1565, allocations: 0 / 0.6661 GB, free: 5.004 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.0004171/0.1569, allocations: 349.2 kB / 0.6664 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.1569, allocations: 13.11 kB / 0.6664 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.157, allocations: 12.83 kB / 0.6665 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.1571, allocations: 163 kB / 0.6666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.1571, allocations: 384 / 0.6666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.201e-05/0.1571, allocations: 4.375 kB / 0.6666 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001512/0.1573, allocations: 66.17 kB / 0.6667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/0.1573, allocations: 192 / 0.6667 GB, free: 4.312 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.1573, allocations: 3.938 kB / 0.6667 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.1573, allocations: 4 kB / 0.6667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.097e-05/0.1574, allocations: 27.98 kB / 0.6667 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00036/0.1577, allocations: 264.8 kB / 0.667 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.697e-05/0.1578, allocations: 18.58 kB / 0.667 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.23e-05/0.1578, allocations: 12.86 kB / 0.667 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.546e-06/0.1578, allocations: 4 kB / 0.667 GB, free: 3.922 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.1579, allocations: 30.56 kB / 0.667 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1579, allocations: 0 / 0.667 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0002055/0.1581, allocations: 75.34 kB / 0.6671 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.1581, allocations: 77.11 kB / 0.6672 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.1582, allocations: 109.8 kB / 0.6673 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.93e-05/0.1582, allocations: 25.7 kB / 0.6673 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.1583, allocations: 116.1 kB / 0.6674 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/0.1584, allocations: 3.953 kB / 0.6674 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.473e-05/0.1584, allocations: 25.66 kB / 0.6674 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1585, allocations: 319.1 kB / 0.6677 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.787e-05/0.1586, allocations: 15.94 kB / 0.6678 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.044e-05/0.1586, allocations: 62.86 kB / 0.6678 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.1588, allocations: 134.1 kB / 0.6679 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1588, allocations: 0 / 0.6679 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001596/0.1589, allocations: 119.2 kB / 0.6681 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.159, allocations: 29.7 kB / 0.6681 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.159, allocations: 4 kB / 0.6681 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.159, allocations: 256 / 0.6681 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.015e-05/0.1591, allocations: 23.92 kB / 0.6681 GB, free: 2.621 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1591, allocations: 4 kB / 0.6681 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.083e-05/0.1591, allocations: 4 kB / 0.6681 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.1591, allocations: 8 kB / 0.6681 GB, free: 2.605 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 0.0001146/0.1593, allocations: 147.4 kB / 0.6683 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.1593, allocations: 7.953 kB / 0.6683 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.079e-05/0.1593, allocations: 3.531 kB / 0.6683 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1593, allocations: 3.984 kB / 0.6683 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1593, allocations: 3.938 kB / 0.6683 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.1593, allocations: 8 kB / 0.6683 GB, free: 2.418 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.1595, allocations: 157.6 kB / 0.6684 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.1595, allocations: 3.938 kB / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1595, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.1595, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/0.1595, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.1595, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1595, allocations: 0 / 0.6685 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.1596, allocations: 173.2 kB / 0.6686 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.281e-05/0.1597, allocations: 77.11 kB / 0.6687 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1597, allocations: 0 / 0.6687 GB, free: 1.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.822e-05/0.1597, allocations: 3.984 kB / 0.6687 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.1598, allocations: 4 kB / 0.6687 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1598, allocations: 4 kB / 0.6687 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.554e-05/0.1598, allocations: 91.73 kB / 0.6688 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of sort global known variables: time 7e-08/0.1598, allocations: 0 / 0.6688 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002411/0.1601, allocations: 15.92 kB / 0.6688 GB, free: 1.809 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.0001756/0.1603, allocations: 115.2 kB / 0.6689 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.1604, allocations: 87.33 kB / 0.669 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1604, allocations: 0 / 0.669 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.87e-05/0.1605, allocations: 55.41 kB / 0.669 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000209/0.1607, allocations: 4 kB / 0.6691 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002704/0.1609, allocations: 143 kB / 0.6692 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.1613, allocations: 0.6846 MB / 0.6699 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.1613, allocations: 7.438 kB / 0.6699 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of SimCode: time 3e-07/0.1613, allocations: 0 / 0.6699 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of Templates: time 0.002555/0.1638, allocations: 0.673 MB / 0.6705 GB, free: 15.96 MB / 0.5137 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)