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.001111/0.001111, allocations: 110.1 kB / 16.38 MB, free: 6.484 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.001114/0.001114, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.177/1.177, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7147/0.7147, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001079/0.001079, allocations: 65.75 kB / 0.5863 GB, free: 21.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1283, allocations: 80.92 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001532/0.1299, allocations: 0.5708 MB / 0.6658 GB, free: 5.199 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.1301, allocations: 43.81 kB / 0.6659 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.623e-05/0.1301, allocations: 3.938 kB / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.54e-05/0.1302, allocations: 0 / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.752e-05/0.1302, allocations: 0 / 0.6659 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1304, allocations: 7.984 kB / 0.6659 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.563e-05/0.1305, allocations: 8 kB / 0.6659 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.59e-05/0.1305, allocations: 8 kB / 0.6659 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.661e-05/0.1305, allocations: 3.984 kB / 0.6659 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.807e-05/0.1306, allocations: 3.984 kB / 0.6659 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.1306, allocations: 0 / 0.6659 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.869e-05/0.1307, allocations: 19.98 kB / 0.6659 GB, free: 5.102 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.822e-05/0.1307, allocations: 8 kB / 0.666 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.1307, allocations: 3.938 kB / 0.666 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 7.967e-05/0.1308, allocations: 23.92 kB / 0.666 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1308, allocations: 3.938 kB / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1308, allocations: 0 / 0.666 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.1308, allocations: 0 / 0.666 GB, free: 5.062 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.0002976/0.1311, allocations: 349.2 kB / 0.6663 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.1312, allocations: 9.109 kB / 0.6663 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.478e-05/0.1312, allocations: 4.938 kB / 0.6663 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.913e-05/0.1313, allocations: 178.9 kB / 0.6665 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.1313, allocations: 4.359 kB / 0.6665 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.392e-05/0.1313, allocations: 8.375 kB / 0.6665 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.1314, allocations: 54.25 kB / 0.6666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.1315, allocations: 192 / 0.6666 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.1315, allocations: 3.938 kB / 0.6666 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.1315, allocations: 4 kB / 0.6666 GB, free: 4.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.221e-05/0.1315, allocations: 27.92 kB / 0.6666 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.1318, allocations: 268.8 kB / 0.6669 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.997e-05/0.1319, allocations: 22.52 kB / 0.6669 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.57e-05/0.1319, allocations: 8.922 kB / 0.6669 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-06/0.1319, allocations: 0 / 0.6669 GB, free: 3.98 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.662e-05/0.1319, allocations: 30.56 kB / 0.6669 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.31e-07/0.1319, allocations: 0 / 0.6669 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001426/0.1321, allocations: 71.42 kB / 0.667 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.324e-05/0.1321, allocations: 81.14 kB / 0.6671 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.1322, allocations: 117.8 kB / 0.6672 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.05e-05/0.1322, allocations: 25.7 kB / 0.6672 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.128e-05/0.1323, allocations: 107.8 kB / 0.6673 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.03e-06/0.1323, allocations: 0 / 0.6673 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.562e-05/0.1323, allocations: 25.7 kB / 0.6673 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.055e-05/0.1324, allocations: 315.1 kB / 0.6676 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.1324, allocations: 16.08 kB / 0.6676 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.659e-05/0.1325, allocations: 70.72 kB / 0.6677 GB, free: 3.039 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.687e-05/0.1326, allocations: 126.2 kB / 0.6678 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.1326, allocations: 4 kB / 0.6678 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001336/0.1327, allocations: 127.2 kB / 0.668 GB, free: 2.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.517e-05/0.1328, allocations: 33.69 kB / 0.668 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1328, allocations: 4 kB / 0.668 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1328, allocations: 0 / 0.668 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.826e-05/0.1329, allocations: 16 kB / 0.668 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1329, allocations: 7.938 kB / 0.668 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.704e-05/0.1329, allocations: 7.938 kB / 0.668 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.1329, allocations: 4 kB / 0.668 GB, free: 2.66 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.666e-05/0.133, allocations: 152.9 kB / 0.6682 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.228e-05/0.1331, allocations: 7.906 kB / 0.6682 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.157e-06/0.1331, allocations: 3.531 kB / 0.6682 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.1331, allocations: 0 / 0.6682 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.1331, allocations: 4 kB / 0.6682 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.693e-06/0.1331, allocations: 0 / 0.6682 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/0.1332, allocations: 157.6 kB / 0.6683 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.52e-07/0.1332, allocations: 0 / 0.6683 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1332, allocations: 0 / 0.6683 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.092e-06/0.1333, allocations: 0 / 0.6683 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.1333, allocations: 3.984 kB / 0.6683 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1333, allocations: 7.938 kB / 0.6683 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.1333, allocations: 4 kB / 0.6683 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.1334, allocations: 165.1 kB / 0.6685 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.17e-05/0.1334, allocations: 81.09 kB / 0.6686 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1334, allocations: 0 / 0.6686 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.102e-05/0.1335, allocations: 0 / 0.6686 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.1335, allocations: 4 kB / 0.6686 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.1335, allocations: 4.031 kB / 0.6686 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.1336, allocations: 91.73 kB / 0.6687 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1336, allocations: 0 / 0.6687 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002259/0.1338, allocations: 11.94 kB / 0.6687 GB, free: 1.871 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.0001187/0.1339, allocations: 103.2 kB / 0.6688 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.1341, allocations: 87.27 kB / 0.6689 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1341, allocations: 0.5 kB / 0.6689 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.623e-05/0.1341, allocations: 67.39 kB / 0.6689 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001814/0.1343, allocations: 4 kB / 0.6689 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001874/0.1345, allocations: 142.5 kB / 0.6691 GB, free: 1.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002343/0.1347, allocations: 0.6788 MB / 0.6697 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.214e-05/0.1347, allocations: 7.438 kB / 0.6697 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1348, allocations: 7.938 kB / 0.6698 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of Templates: time 0.001745/0.1365, allocations: 0.6777 MB / 0.6704 GB, free: 16 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)