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.0009994/0.0009994, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.006628/0.006628, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9394/0.9394, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003244/0.0003244, allocations: 12 kB / 0.5076 GB, free: 4.73 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 82.31 MB / 0.588 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006625/0.1592, allocations: 311 kB / 0.5883 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002412/0.1594, allocations: 39.95 kB / 0.5883 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.5e-05/0.1595, allocations: 0 / 0.5883 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.582e-05/0.1595, allocations: 3.938 kB / 0.5883 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.305e-05/0.1595, allocations: 3.984 kB / 0.5883 GB, free: 2.227 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00016/0.1597, allocations: 4 kB / 0.5883 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.338e-05/0.1598, allocations: 11.98 kB / 0.5883 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.311e-05/0.1598, allocations: 4 kB / 0.5883 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.1599, allocations: 4 kB / 0.5883 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.707e-05/0.1599, allocations: 0 / 0.5883 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1599, allocations: 3.938 kB / 0.5884 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.662e-05/0.16, allocations: 15.98 kB / 0.5884 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.889e-05/0.16, allocations: 4 kB / 0.5884 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.1601, allocations: 33.64 kB / 0.5884 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.975e-05/0.1602, allocations: 19.95 kB / 0.5884 GB, free: 2.121 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.1602, allocations: 8 kB / 0.5884 GB, free: 2.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.1602, allocations: 0 / 0.5884 GB, free: 2.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.1602, allocations: 3.938 kB / 0.5884 GB, free: 2.109 MB / 494.1 MB 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.0002628/0.1605, allocations: 341.3 kB / 0.5888 GB, free: 1.719 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.1605, allocations: 12.02 kB / 0.5888 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.813e-05/0.1605, allocations: 8.844 kB / 0.5888 GB, free: 1.699 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.924e-05/0.1606, allocations: 168.5 kB / 0.5889 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.1606, allocations: 384 / 0.5889 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.235e-06/0.1606, allocations: 384 / 0.5889 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.1608, allocations: 54.25 kB / 0.589 GB, free: 1.438 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.531e-06/0.1608, allocations: 4.188 kB / 0.589 GB, free: 1.434 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1608, allocations: 7.938 kB / 0.589 GB, free: 1.426 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.148e-05/0.1608, allocations: 11.98 kB / 0.589 GB, free: 1.414 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.1609, allocations: 23.98 kB / 0.589 GB, free: 1.391 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002706/0.1611, allocations: 260.8 kB / 0.5893 GB, free: 1.086 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.1612, allocations: 22.52 kB / 0.5893 GB, free: 1.055 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.581e-05/0.1612, allocations: 16.84 kB / 0.5893 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.999e-06/0.1612, allocations: 0 / 0.5893 GB, free: 1.035 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.1613, allocations: 42.56 kB / 0.5894 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.61e-07/0.1613, allocations: 0 / 0.5894 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.1614, allocations: 67.34 kB / 0.5894 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/0.1615, allocations: 77.11 kB / 0.5895 GB, free: 0.8125 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.993e-05/0.1615, allocations: 117.8 kB / 0.5896 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.1615, allocations: 25.7 kB / 0.5896 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.1616, allocations: 99.8 kB / 0.5897 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.344e-06/0.1616, allocations: 4.031 kB / 0.5897 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/0.1616, allocations: 25.7 kB / 0.5898 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.423e-05/0.1617, allocations: 314.8 kB / 0.5901 GB, free: 208 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.1617, allocations: 15.98 kB / 0.5901 GB, free: 192 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.1618, allocations: 55.19 kB / 0.5901 GB, free: 112 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.1619, allocations: 134.2 kB / 0.5903 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1619, allocations: 4 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001276/0.162, allocations: 119.1 kB / 0.5904 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.1621, allocations: 33.7 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1621, allocations: 0 / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.1621, allocations: 4 kB / 0.5904 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.665e-05/0.1622, allocations: 12 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1622, allocations: 4.094 kB / 0.5904 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.863e-05/0.1622, allocations: 12.16 kB / 0.5904 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.576e-05/0.1623, allocations: 15.98 kB / 0.5905 GB, free: 15.72 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 7.277e-05/0.1623, allocations: 147.4 kB / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.108e-05/0.1624, allocations: 0 / 0.5906 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.086e-05/0.1624, allocations: 7.531 kB / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-06/0.1624, allocations: 0 / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.1624, allocations: 0 / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-06/0.1624, allocations: 0 / 0.5906 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001221/0.1625, allocations: 157.6 kB / 0.5908 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1625, allocations: 4 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.1625, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1625, allocations: 7.984 kB / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.1626, allocations: 0 / 0.5908 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.1626, allocations: 3.984 kB / 0.5908 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.1626, allocations: 0 / 0.5908 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.1627, allocations: 169.1 kB / 0.5909 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.082e-05/0.1627, allocations: 81.02 kB / 0.591 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.15e-05/0.1627, allocations: 8.031 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.934e-05/0.1628, allocations: 0 / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.1628, allocations: 3.984 kB / 0.591 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1628, allocations: 7.938 kB / 0.591 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.114e-05/0.1629, allocations: 91.27 kB / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1629, allocations: 0 / 0.5911 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002287/0.1631, allocations: 15.94 kB / 0.5911 GB, free: 14.92 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.0001331/0.1632, allocations: 103.2 kB / 0.5912 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1633, allocations: 91.33 kB / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1634, allocations: 0 / 0.5913 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.98e-05/0.1634, allocations: 59.39 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.1636, allocations: 1.891 kB / 0.5914 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001885/0.1638, allocations: 122.8 kB / 0.5915 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001988/0.164, allocations: 0.677 MB / 0.5922 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.578e-05/0.1641, allocations: 15.98 kB / 0.5922 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.878e-06/0.1641, allocations: 7.438 kB / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1641, allocations: 0 / 0.5922 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.002283/0.1664, allocations: 0.4899 MB / 0.5927 GB, free: 13.3 MB / 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)