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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001661/0.001662, allocations: 182.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7107/0.7107, allocations: 132.2 MB / 148.9 MB, free: 12.14 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.406/1.406, allocations: 222.9 MB / 403.4 MB, free: 7.098 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 109.8 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 55.86 kB / 0.5619 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1453, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002913/0.1483, allocations: 1.508 MB / 0.6416 GB, free: 5.254 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009537/0.1493, allocations: 0.5823 MB / 0.6422 GB, free: 4.664 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.1493, allocations: 3.938 kB / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.1494, allocations: 0 / 0.6422 GB, free: 4.66 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.688e-05/0.1494, allocations: 3.938 kB / 0.6422 GB, free: 4.656 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.1497, allocations: 39.89 kB / 0.6423 GB, free: 4.617 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 6.57e-05/0.1498, allocations: 23.92 kB / 0.6423 GB, free: 4.594 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.986e-05/0.1498, allocations: 12 kB / 0.6423 GB, free: 4.582 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.627e-05/0.15, allocations: 11.92 kB / 0.6423 GB, free: 4.57 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.379e-05/0.15, allocations: 15.92 kB / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.353e-05/0.15, allocations: 0 / 0.6423 GB, free: 4.555 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000123/0.1502, allocations: 55.95 kB / 0.6424 GB, free: 4.5 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.1502, allocations: 0 / 0.6424 GB, free: 4.5 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 2.933e-05/0.1502, allocations: 23.84 kB / 0.6424 GB, free: 4.477 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.1504, allocations: 59.86 kB / 0.6424 GB, free: 4.418 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.1504, allocations: 3.938 kB / 0.6425 GB, free: 4.414 MB / 442.7 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1504, allocations: 0 / 0.6425 GB, free: 4.414 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.506e-06/0.1504, allocations: 8 kB / 0.6425 GB, free: 4.406 MB / 442.7 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.0004093/0.1508, allocations: 347.6 kB / 0.6428 GB, free: 4.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1509, allocations: 8.031 kB / 0.6428 GB, free: 4.012 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.1509, allocations: 8.922 kB / 0.6428 GB, free: 4.004 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.151, allocations: 164.3 kB / 0.643 GB, free: 3.805 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1511, allocations: 4.375 kB / 0.643 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.1511, allocations: 384 / 0.643 GB, free: 3.801 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000144/0.1512, allocations: 46 kB / 0.643 GB, free: 3.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1512, allocations: 4 kB / 0.643 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.674e-06/0.1512, allocations: 0 / 0.643 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.359e-06/0.1513, allocations: 0 / 0.643 GB, free: 3.746 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.792e-05/0.1513, allocations: 23.98 kB / 0.643 GB, free: 3.723 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.1517, allocations: 264.8 kB / 0.6433 GB, free: 3.414 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.204e-05/0.1518, allocations: 30.56 kB / 0.6433 GB, free: 3.375 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.408e-05/0.1518, allocations: 20.92 kB / 0.6433 GB, free: 3.352 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007691/0.1526, allocations: 473.4 kB / 0.6438 GB, free: 2.797 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.1527, allocations: 34.56 kB / 0.6438 GB, free: 2.754 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1527, allocations: 4 kB / 0.6438 GB, free: 2.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002483/0.1529, allocations: 69.52 kB / 0.6439 GB, free: 2.676 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.229e-05/0.153, allocations: 51.41 kB / 0.6439 GB, free: 2.613 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.1531, allocations: 109.8 kB / 0.6441 GB, free: 2.496 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.257e-05/0.1531, allocations: 25.7 kB / 0.6441 GB, free: 2.465 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.445e-05/0.1531, allocations: 84.14 kB / 0.6442 GB, free: 2.379 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.1531, allocations: 7.844 kB / 0.6442 GB, free: 2.371 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.402e-05/0.1532, allocations: 17.83 kB / 0.6442 GB, free: 2.348 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.1533, allocations: 318.8 kB / 0.6445 GB, free: 2.027 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.332e-05/0.1534, allocations: 8 kB / 0.6445 GB, free: 2.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.432e-05/0.1534, allocations: 15.92 kB / 0.6445 GB, free: 2.004 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.553e-05/0.1535, allocations: 28.78 kB / 0.6445 GB, free: 1.973 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.1535, allocations: 0 / 0.6445 GB, free: 1.973 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001152/0.1536, allocations: 61.69 kB / 0.6446 GB, free: 1.906 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1536, allocations: 5.094 kB / 0.6446 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1536, allocations: 0 / 0.6446 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.1537, allocations: 0 / 0.6446 GB, free: 1.902 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.648e-05/0.1537, allocations: 7.984 kB / 0.6446 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.1537, allocations: 0 / 0.6446 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.1538, allocations: 4 kB / 0.6446 GB, free: 1.891 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-06/0.1538, allocations: 0 / 0.6446 GB, free: 1.891 MB / 442.7 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 (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.885e-05/0.1539, allocations: 119.1 kB / 0.6447 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1539, allocations: 8.016 kB / 0.6447 GB, free: 1.758 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001695/0.1541, allocations: 57.16 kB / 0.6448 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.1541, allocations: 0 / 0.6448 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1541, allocations: 3.984 kB / 0.6448 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.1541, allocations: 0 / 0.6448 GB, free: 1.691 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1543, allocations: 169.5 kB / 0.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1543, allocations: 0 / 0.645 GB, free: 1.477 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.1544, allocations: 7.984 kB / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.1544, allocations: 0 / 0.645 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.1544, allocations: 8.031 kB / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.1544, allocations: 0 / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1544, allocations: 0 / 0.645 GB, free: 1.461 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004373/0.1548, allocations: 0.7005 MB / 0.6456 GB, free: 0.7031 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.609e-05/0.1549, allocations: 85 kB / 0.6457 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.635e-05/0.1549, allocations: 16.03 kB / 0.6457 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.735e-05/0.155, allocations: 0 / 0.6457 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.664e-05/0.155, allocations: 7.922 kB / 0.6458 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.155, allocations: 4 kB / 0.6458 GB, free: 0.5742 MB / 442.7 MB Notification: Performance of sorting global known variables: time 4.283e-05/0.1551, allocations: 87.27 kB / 0.6458 GB, free: 500 kB / 442.7 MB Notification: Performance of sort global known variables: time 1.794e-06/0.1551, allocations: 0 / 0.6458 GB, free: 500 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.0003236/0.1554, allocations: 19.92 kB / 0.6459 GB, free: 480 kB / 442.7 MB 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.0001677/0.1556, allocations: 107.2 kB / 0.646 GB, free: 360 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1557, allocations: 31.92 kB / 0.646 GB, free: 328 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1557, allocations: 0 / 0.646 GB, free: 328 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 4.623e-05/0.1558, allocations: 15.98 kB / 0.646 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001939/0.156, allocations: 0 / 0.646 GB, free: 312 kB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003484/0.1564, allocations: 239.4 kB / 0.6462 GB, free: 32 kB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1566, allocations: 0.677 MB / 0.6469 GB, free: 15.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 2.482e-05/0.1566, allocations: 7.938 kB / 0.6469 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.1567, allocations: 7.438 kB / 0.6469 GB, free: 15.32 MB / 458.7 MB Notification: Performance of SimCode: time 1.763e-06/0.1567, allocations: 0 / 0.6469 GB, free: 15.32 MB / 458.7 MB Notification: Performance of Templates: time 0.002381/0.1591, allocations: 0.6454 MB / 0.6475 GB, free: 14.67 MB / 458.7 MB 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)