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.005564/0.005565, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001212/0.001212, allocations: 193.3 kB / 16.67 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7795/0.7795, allocations: 135.1 MB / 425.7 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 69.08 kB / 0.5856 GB, free: 21.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1482, allocations: 80.93 MB / 0.6647 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001534/0.1497, allocations: 0.5672 MB / 0.6652 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002632/0.15, allocations: 35.94 kB / 0.6653 GB, free: 5.246 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.274e-05/0.1501, allocations: 3.938 kB / 0.6653 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.1501, allocations: 0 / 0.6653 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.1501, allocations: 3.984 kB / 0.6653 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002103/0.1504, allocations: 15.92 kB / 0.6653 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9e-05/0.1505, allocations: 7.984 kB / 0.6653 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.287e-05/0.1505, allocations: 4 kB / 0.6653 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.074e-05/0.1505, allocations: 3.938 kB / 0.6653 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.187e-05/0.1506, allocations: 4 kB / 0.6653 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.234e-05/0.1506, allocations: 0 / 0.6653 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.359e-05/0.1507, allocations: 23.98 kB / 0.6653 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.186e-05/0.1507, allocations: 4 kB / 0.6653 GB, free: 5.176 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.361e-05/0.1508, allocations: 3.938 kB / 0.6653 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.1509, allocations: 31.89 kB / 0.6654 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.1509, allocations: 0 / 0.6654 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.1509, allocations: 3.938 kB / 0.6654 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.1509, allocations: 0 / 0.6654 GB, free: 5.137 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.0003833/0.1513, allocations: 353.2 kB / 0.6657 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.1513, allocations: 9.109 kB / 0.6657 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.372e-05/0.1514, allocations: 8.938 kB / 0.6657 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.1515, allocations: 166.9 kB / 0.6659 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.1515, allocations: 384 / 0.6659 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.183e-05/0.1515, allocations: 8.359 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001321/0.1516, allocations: 54.25 kB / 0.666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1517, allocations: 192 / 0.666 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.1517, allocations: 3.938 kB / 0.666 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.453e-05/0.1517, allocations: 7.984 kB / 0.666 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.946e-05/0.1518, allocations: 27.92 kB / 0.666 GB, free: 4.414 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003246/0.1521, allocations: 272.8 kB / 0.6663 GB, free: 4.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.174e-05/0.1521, allocations: 18.56 kB / 0.6663 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.685e-05/0.1522, allocations: 8.922 kB / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.653e-06/0.1522, allocations: 0 / 0.6663 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.1522, allocations: 34.56 kB / 0.6663 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1522, allocations: 0 / 0.6663 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001586/0.1524, allocations: 75.33 kB / 0.6664 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.537e-05/0.1524, allocations: 77.11 kB / 0.6665 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.699e-05/0.1525, allocations: 117.8 kB / 0.6666 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.1525, allocations: 25.7 kB / 0.6666 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.569e-05/0.1526, allocations: 99.8 kB / 0.6667 GB, free: 3.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.003e-06/0.1526, allocations: 7.922 kB / 0.6667 GB, free: 3.57 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.1527, allocations: 21.72 kB / 0.6667 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.1528, allocations: 319.1 kB / 0.667 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.465e-05/0.1528, allocations: 16.11 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.019e-05/0.1529, allocations: 62.8 kB / 0.6671 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.153, allocations: 130.2 kB / 0.6672 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.153, allocations: 4 kB / 0.6672 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001596/0.1532, allocations: 127.1 kB / 0.6673 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/0.1532, allocations: 33.7 kB / 0.6674 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.1532, allocations: 4 kB / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.1532, allocations: 0 / 0.6674 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.687e-05/0.1533, allocations: 15.98 kB / 0.6674 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.1533, allocations: 7.938 kB / 0.6674 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.1534, allocations: 7.938 kB / 0.6674 GB, free: 2.742 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.1534, allocations: 4 kB / 0.6674 GB, free: 2.738 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.000119/0.1536, allocations: 149 kB / 0.6676 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.1536, allocations: 7.906 kB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.736e-05/0.1536, allocations: 7.516 kB / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/0.1536, allocations: 0 / 0.6676 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.1536, allocations: 4 kB / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1536, allocations: 0 / 0.6676 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001781/0.1538, allocations: 157.6 kB / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1538, allocations: 0 / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-07/0.1538, allocations: 0 / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1538, allocations: 0 / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.678e-06/0.1539, allocations: 0 / 0.6677 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1539, allocations: 8 kB / 0.6677 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.1539, allocations: 4 kB / 0.6677 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001658/0.154, allocations: 169.1 kB / 0.6679 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.43e-05/0.1541, allocations: 77.11 kB / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.1541, allocations: 0 / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.496e-05/0.1542, allocations: 0 / 0.668 GB, free: 2.062 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.137e-05/0.1542, allocations: 4 kB / 0.668 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1542, allocations: 4.031 kB / 0.668 GB, free: 2.055 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.999e-05/0.1543, allocations: 91.27 kB / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.224e-06/0.1543, allocations: 0 / 0.6681 GB, free: 1.965 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002517/0.1545, allocations: 15.88 kB / 0.6681 GB, free: 1.949 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.0001873/0.1547, allocations: 107.2 kB / 0.6682 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.1549, allocations: 87.7 kB / 0.6683 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.1549, allocations: 4.062 kB / 0.6683 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.411e-05/0.155, allocations: 55.41 kB / 0.6683 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.1552, allocations: 8 kB / 0.6683 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003013/0.1555, allocations: 112.8 kB / 0.6684 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003746/0.1559, allocations: 0.6768 MB / 0.6691 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.156, allocations: 11.73 kB / 0.6691 GB, free: 0.8086 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.925e-05/0.156, allocations: 19.48 kB / 0.6691 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.156, allocations: 0 / 0.6691 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of Templates: time 0.003027/0.1591, allocations: 0.5194 MB / 0.6696 GB, free: 280 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)