Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 99.03 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.001031/0.001031, allocations: 182.5 kB / 16.92 MB, free: 6.918 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.323/1.323, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.942/0.942, allocations: 135.3 MB / 427.4 MB, free: 14.18 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003329, allocations: 8.281 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1522, allocations: 82.31 MB / 0.5886 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.001416/0.1537, allocations: 1.152 MB / 0.5897 GB, free: 1.465 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004005/0.1541, allocations: 205.9 kB / 0.5899 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.897e-05/0.1541, allocations: 0 / 0.5899 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.1541, allocations: 0 / 0.5899 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.1542, allocations: 7.922 kB / 0.5899 GB, free: 1.254 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1544, allocations: 19.98 kB / 0.59 GB, free: 1.234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.008e-05/0.1544, allocations: 27.91 kB / 0.59 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.178e-05/0.1545, allocations: 8 kB / 0.59 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.113e-05/0.1546, allocations: 4 kB / 0.59 GB, free: 1.195 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.126e-05/0.1546, allocations: 11.92 kB / 0.59 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.1546, allocations: 0 / 0.59 GB, free: 1.184 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.35e-05/0.1547, allocations: 35.97 kB / 0.59 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.195e-05/0.1547, allocations: 3.984 kB / 0.59 GB, free: 1.145 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.991e-05/0.1548, allocations: 33.64 kB / 0.5901 GB, free: 1.105 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.309e-05/0.1548, allocations: 31.94 kB / 0.5901 GB, free: 1.074 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1548, allocations: 0 / 0.5901 GB, free: 1.074 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1549, allocations: 0 / 0.5901 GB, free: 1.074 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.447e-06/0.1549, allocations: 4 kB / 0.5901 GB, free: 1.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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004097/0.1553, allocations: 351.7 kB / 0.5904 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1553, allocations: 11.97 kB / 0.5905 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.556e-05/0.1553, allocations: 0.9375 kB / 0.5905 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00011/0.1555, allocations: 168.4 kB / 0.5906 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.035e-05/0.1555, allocations: 4.312 kB / 0.5906 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-06/0.1555, allocations: 4.375 kB / 0.5906 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/0.1557, allocations: 54.23 kB / 0.5907 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.1557, allocations: 192 / 0.5907 GB, free: 404 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.1557, allocations: 3.938 kB / 0.5907 GB, free: 400 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.1557, allocations: 4 kB / 0.5907 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001716/0.1559, allocations: 47.95 kB / 0.5907 GB, free: 348 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003074/0.1562, allocations: 248.9 kB / 0.591 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1564, allocations: 54.42 kB / 0.591 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.22e-05/0.1565, allocations: 24.91 kB / 0.591 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.07e-05/0.1565, allocations: 81.11 kB / 0.5911 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.014e-05/0.1566, allocations: 30.56 kB / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1566, allocations: 0 / 0.5912 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003474/0.1569, allocations: 97.64 kB / 0.5912 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.157, allocations: 59.34 kB / 0.5913 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.896e-05/0.157, allocations: 101.8 kB / 0.5914 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1571, allocations: 29.83 kB / 0.5914 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.1571, allocations: 88.14 kB / 0.5915 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.561e-05/0.1571, allocations: 3.906 kB / 0.5915 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/0.1572, allocations: 9.719 kB / 0.5915 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001073/0.1573, allocations: 314.8 kB / 0.5918 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.287e-05/0.1574, allocations: 27.92 kB / 0.5919 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.916e-05/0.1575, allocations: 23.98 kB / 0.5919 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.1576, allocations: 48.83 kB / 0.5919 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.1576, allocations: 4.047 kB / 0.5919 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.1578, allocations: 77.61 kB / 0.592 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1579, allocations: 7.938 kB / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.1579, allocations: 0 / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.1579, allocations: 0 / 0.592 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.537e-05/0.158, allocations: 20.02 kB / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.948e-06/0.158, allocations: 0 / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.899e-05/0.1581, allocations: 7.984 kB / 0.592 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.1581, allocations: 3.938 kB / 0.592 GB, free: 14.85 MB / 0.4981 GB 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 (2): * Single equations (assignments): 2 * 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.338e-05/0.1581, allocations: 117.8 kB / 0.5922 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.1582, allocations: 3.906 kB / 0.5922 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.1584, allocations: 84.77 kB / 0.5922 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.1584, allocations: 0 / 0.5922 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.1584, allocations: 4 kB / 0.5922 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.1584, allocations: 0 / 0.5922 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.1586, allocations: 165.5 kB / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1586, allocations: 0 / 0.5924 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.1587, allocations: 23.95 kB / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.1587, allocations: 0 / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-06/0.1587, allocations: 0 / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1587, allocations: 0 / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1587, allocations: 4.25 kB / 0.5924 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.1589, allocations: 171.5 kB / 0.5926 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.771e-05/0.159, allocations: 77.11 kB / 0.5927 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.254e-05/0.159, allocations: 4 kB / 0.5927 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.65e-05/0.1591, allocations: 15.98 kB / 0.5927 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.1591, allocations: 0 / 0.5927 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.1591, allocations: 4 kB / 0.5927 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.183e-05/0.1591, allocations: 83.31 kB / 0.5928 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1591, allocations: 0 / 0.5928 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002214/0.1594, allocations: 11.98 kB / 0.5928 GB, free: 14 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 (2): * Single equations (assignments): 2 * 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.0001802/0.1596, allocations: 107.2 kB / 0.5929 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.1598, allocations: 55.89 kB / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1598, allocations: 0 / 0.5929 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.04e-05/0.1599, allocations: 19.98 kB / 0.593 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.1602, allocations: 11.94 kB / 0.593 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.1605, allocations: 150.4 kB / 0.5931 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.1607, allocations: 0.677 MB / 0.5938 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.074e-05/0.1608, allocations: 7.438 kB / 0.5938 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.1608, allocations: 0 / 0.5938 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.002024/0.1628, allocations: 0.6621 MB / 0.5944 GB, free: 12.25 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)