Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.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.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1") translateModel(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008188/0.0008189, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009492/0.0009491, allocations: 181.4 kB / 16.92 MB, free: 6.711 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.315/1.315, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9162/0.9162, allocations: 135.3 MB / 427.4 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003257/0.0003257, allocations: 8 kB / 0.5082 GB, free: 4.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.154, allocations: 82.32 MB / 0.5886 GB, free: 2.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1): time 0.0006821/0.1548, allocations: 303.1 kB / 0.5889 GB, free: 2.309 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003465/0.1551, allocations: 103.7 kB / 0.589 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.866e-06/0.1551, allocations: 0 / 0.589 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 9.938e-06/0.1552, allocations: 0 / 0.589 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.268e-06/0.1552, allocations: 0 / 0.589 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002526/0.1554, allocations: 27.91 kB / 0.589 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.734e-05/0.1555, allocations: 0 / 0.589 GB, free: 2.18 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1555, allocations: 4 kB / 0.5891 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.273e-05/0.1555, allocations: 4 kB / 0.5891 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.756e-05/0.1556, allocations: 3.938 kB / 0.5891 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-06/0.1556, allocations: 0 / 0.5891 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001649/0.1557, allocations: 43.91 kB / 0.5891 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.167e-06/0.1558, allocations: 3.984 kB / 0.5891 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.1558, allocations: 25.7 kB / 0.5891 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.213e-05/0.1559, allocations: 19.97 kB / 0.5891 GB, free: 2.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1559, allocations: 0 / 0.5891 GB, free: 2.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1559, allocations: 0 / 0.5891 GB, free: 2.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.346e-06/0.1559, allocations: 0 / 0.5891 GB, free: 2.07 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000244/0.1561, allocations: 323.6 kB / 0.5895 GB, free: 1.703 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.238e-05/0.1562, allocations: 8.031 kB / 0.5895 GB, free: 1.695 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.605e-05/0.1562, allocations: 4.938 kB / 0.5895 GB, free: 1.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.581e-05/0.1563, allocations: 160.4 kB / 0.5896 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1563, allocations: 384 / 0.5896 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-06/0.1564, allocations: 384 / 0.5896 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.473e-05/0.1564, allocations: 34.2 kB / 0.5897 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.182e-06/0.1565, allocations: 192 / 0.5897 GB, free: 1.457 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.375e-06/0.1565, allocations: 3.938 kB / 0.5897 GB, free: 1.453 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.1565, allocations: 11.94 kB / 0.5897 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.517e-05/0.1565, allocations: 0 / 0.5897 GB, free: 1.441 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1566, allocations: 145.7 kB / 0.5898 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.577e-05/0.1567, allocations: 18.61 kB / 0.5898 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.562e-05/0.1567, allocations: 12.86 kB / 0.5898 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.1569, allocations: 89.09 kB / 0.5899 GB, free: 1.102 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.1569, allocations: 34.56 kB / 0.59 GB, free: 1.059 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 3.787e-06/0.1569, allocations: 0 / 0.59 GB, free: 1.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001211/0.1571, allocations: 37.58 kB / 0.59 GB, free: 1.016 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1571, allocations: 55.41 kB / 0.59 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.237e-05/0.1572, allocations: 89.86 kB / 0.5901 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.1572, allocations: 25.7 kB / 0.5902 GB, free: 0.8203 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.479e-05/0.1572, allocations: 88.12 kB / 0.5902 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.1572, allocations: 3.906 kB / 0.5902 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.742e-05/0.1573, allocations: 9.719 kB / 0.5903 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.1574, allocations: 315 kB / 0.5906 GB, free: 404 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.993e-06/0.1574, allocations: 0 / 0.5906 GB, free: 404 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.591e-06/0.1574, allocations: 7.938 kB / 0.5906 GB, free: 396 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.082e-05/0.1574, allocations: 4.859 kB / 0.5906 GB, free: 388 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.1574, allocations: 4 kB / 0.5906 GB, free: 384 kB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.989e-05/0.1575, allocations: 33.7 kB / 0.5906 GB, free: 344 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.1575, allocations: 4 kB / 0.5906 GB, free: 340 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1575, allocations: 3.984 kB / 0.5906 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.1575, allocations: 8.031 kB / 0.5906 GB, free: 328 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.1576, allocations: 4 kB / 0.5906 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.1576, allocations: 0 / 0.5906 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-06/0.1576, allocations: 0 / 0.5906 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.1576, allocations: 0 / 0.5906 GB, free: 324 kB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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 6.648e-05/0.1577, allocations: 105.8 kB / 0.5907 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.089e-05/0.1577, allocations: 4 kB / 0.5907 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.119e-05/0.1578, allocations: 44.69 kB / 0.5908 GB, free: 152 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1578, allocations: 4.031 kB / 0.5908 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1578, allocations: 0 / 0.5908 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1578, allocations: 0 / 0.5908 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.1579, allocations: 145.7 kB / 0.5909 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.1579, allocations: 0 / 0.5909 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.453e-05/0.158, allocations: 4 kB / 0.5909 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.158, allocations: 0 / 0.5909 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.158, allocations: 7.922 kB / 0.5909 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.158, allocations: 0 / 0.5909 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.158, allocations: 0 / 0.5909 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.67e-05/0.1581, allocations: 61.08 kB / 0.591 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.93e-05/0.1581, allocations: 85.05 kB / 0.5911 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.138e-05/0.1581, allocations: 3.938 kB / 0.5911 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.014e-06/0.1581, allocations: 3.938 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.32e-05/0.1582, allocations: 7.969 kB / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-06/0.1582, allocations: 0 / 0.5911 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.399e-05/0.1582, allocations: 79.28 kB / 0.5912 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1582, allocations: 0 / 0.5912 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001872/0.1584, allocations: 8.031 kB / 0.5912 GB, free: 15.66 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001804/0.1586, allocations: 119.2 kB / 0.5913 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.162e-05/0.1586, allocations: 4 kB / 0.5913 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1587, allocations: 0 / 0.5913 GB, free: 15.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.444e-06/0.1587, allocations: 3.938 kB / 0.5913 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001231/0.1588, allocations: 128 / 0.5913 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001594/0.159, allocations: 108.5 kB / 0.5914 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.1592, allocations: 0.6692 MB / 0.592 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.378e-05/0.1592, allocations: 11.42 kB / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1592, allocations: 0 / 0.592 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of Templates: time 0.001702/0.1609, allocations: 0.5475 MB / 0.5926 GB, free: 14.14 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.ExponentialIntegralE1.pipe 2>&1)