Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 106.6 kB / 16.41 MB, free: 6.508 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.001194/0.001194, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.335/1.335, 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/package.mo): time 0.7964/0.7964, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002227/0.002228, allocations: 69.47 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1524, allocations: 80.21 MB / 0.6603 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002479/0.1549, allocations: 1.442 MB / 0.6618 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009066/0.1558, allocations: 0.5735 MB / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.548e-05/0.1559, allocations: 0 / 0.6623 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.438e-05/0.1559, allocations: 4 kB / 0.6623 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.536e-05/0.156, allocations: 3.938 kB / 0.6623 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.1562, allocations: 51.81 kB / 0.6624 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.516e-05/0.1563, allocations: 31.81 kB / 0.6624 GB, free: 8.129 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.187e-05/0.1564, allocations: 7.984 kB / 0.6624 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.289e-05/0.1565, allocations: 15.98 kB / 0.6624 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.002e-05/0.1565, allocations: 15.92 kB / 0.6624 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1566, allocations: 0 / 0.6624 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001135/0.1567, allocations: 55.95 kB / 0.6625 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.1567, allocations: 7.938 kB / 0.6625 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.485e-05/0.1567, allocations: 11.92 kB / 0.6625 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000135/0.1569, allocations: 59.86 kB / 0.6626 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.1569, allocations: 11.98 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.232e-06/0.1569, allocations: 0 / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.1569, allocations: 0 / 0.6626 GB, free: 7.945 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003895/0.1573, allocations: 343.4 kB / 0.6629 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.356e-05/0.1573, allocations: 12.03 kB / 0.6629 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.937e-05/0.1574, allocations: 8.781 kB / 0.6629 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.1575, allocations: 172.3 kB / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1575, allocations: 384 / 0.6631 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.1575, allocations: 4.312 kB / 0.6631 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.1577, allocations: 50 kB / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.272e-06/0.1577, allocations: 0 / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-06/0.1577, allocations: 0 / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.1577, allocations: 0 / 0.6631 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.716e-05/0.1578, allocations: 23.92 kB / 0.6632 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003054/0.1581, allocations: 256.9 kB / 0.6634 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.294e-05/0.1582, allocations: 34.5 kB / 0.6634 GB, free: 6.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.775e-05/0.1582, allocations: 16.92 kB / 0.6635 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008027/0.1591, allocations: 473.4 kB / 0.6639 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.1591, allocations: 38.56 kB / 0.6639 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.1591, allocations: 0 / 0.6639 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002255/0.1593, allocations: 61.58 kB / 0.664 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1594, allocations: 51.41 kB / 0.6641 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.252e-05/0.1595, allocations: 117.8 kB / 0.6642 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1595, allocations: 25.7 kB / 0.6642 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.765e-05/0.1595, allocations: 80.14 kB / 0.6643 GB, free: 5.922 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-05/0.1595, allocations: 11.91 kB / 0.6643 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.1596, allocations: 13.84 kB / 0.6643 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.1597, allocations: 318.8 kB / 0.6646 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.498e-05/0.1597, allocations: 12 kB / 0.6646 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.372e-05/0.1598, allocations: 7.984 kB / 0.6646 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.873e-05/0.1599, allocations: 36.78 kB / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1599, allocations: 0 / 0.6647 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001138/0.16, allocations: 53.75 kB / 0.6647 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.16, allocations: 4 kB / 0.6647 GB, free: 5.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/0.16, allocations: 3.938 kB / 0.6647 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.16, allocations: 0 / 0.6647 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.673e-05/0.1601, allocations: 7.984 kB / 0.6647 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1601, allocations: 4 kB / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.1602, allocations: 0 / 0.6647 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.1602, allocations: 0 / 0.6647 GB, free: 5.434 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 7.38e-05/0.1603, allocations: 117.8 kB / 0.6648 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.1603, allocations: 3.906 kB / 0.6648 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001602/0.1604, allocations: 61.2 kB / 0.6649 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1605, allocations: 4 kB / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1605, allocations: 0 / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1605, allocations: 0 / 0.6649 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.1606, allocations: 161.6 kB / 0.6651 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1606, allocations: 3.938 kB / 0.6651 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.703e-05/0.1607, allocations: 11.92 kB / 0.6651 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1607, allocations: 11.97 kB / 0.6651 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.1607, allocations: 4 kB / 0.6651 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1607, allocations: 0 / 0.6651 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1607, allocations: 0 / 0.6651 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000152/0.1609, allocations: 143.5 kB / 0.6652 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.1609, allocations: 85.02 kB / 0.6653 GB, free: 4.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.399e-05/0.161, allocations: 3.984 kB / 0.6653 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.161, allocations: 4.031 kB / 0.6653 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.1611, allocations: 11.98 kB / 0.6653 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.1611, allocations: 0 / 0.6653 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.1611, allocations: 87.25 kB / 0.6654 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1611, allocations: 4 kB / 0.6654 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002384/0.1614, allocations: 16 kB / 0.6654 GB, free: 4.605 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.0001438/0.1615, allocations: 111.2 kB / 0.6655 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001661/0.1617, allocations: 31.92 kB / 0.6656 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.1617, allocations: 0 / 0.6656 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.1618, allocations: 11.98 kB / 0.6656 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002295/0.162, allocations: 7.938 kB / 0.6656 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003525/0.1623, allocations: 144.2 kB / 0.6657 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.1627, allocations: 0.6846 MB / 0.6664 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.1627, allocations: 11.56 kB / 0.6664 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of SimCode: time 1.733e-06/0.1627, allocations: 0 / 0.6664 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of Templates: time 0.002113/0.1648, allocations: 0.8175 MB / 0.6672 GB, free: 2.727 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)