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.00166/0.00166, allocations: 109.7 kB / 16.41 MB, free: 6.477 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.00188/0.00188, allocations: 183 kB / 17.34 MB, free: 5.75 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7731/0.7731, allocations: 132.2 MB / 423.4 MB, free: 6.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 64.75 kB / 0.582 GB, free: 23.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1355, allocations: 80.21 MB / 0.6603 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002504/0.138, allocations: 1.464 MB / 0.6618 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009364/0.139, allocations: 0.5579 MB / 0.6623 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.377e-05/0.1391, allocations: 4 kB / 0.6623 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.272e-05/0.1391, allocations: 0 / 0.6623 GB, free: 8.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.663e-05/0.1392, allocations: 7.922 kB / 0.6623 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002788/0.1394, allocations: 51.83 kB / 0.6624 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.367e-05/0.1395, allocations: 31.86 kB / 0.6624 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 8.603e-05/0.1396, allocations: 4 kB / 0.6624 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.444e-05/0.1397, allocations: 19.91 kB / 0.6624 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.978e-05/0.1398, allocations: 19.88 kB / 0.6624 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.1398, allocations: 4 kB / 0.6624 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1399, allocations: 55.95 kB / 0.6625 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.4e-05/0.1399, allocations: 7.922 kB / 0.6625 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.409e-05/0.14, allocations: 11.92 kB / 0.6625 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1401, allocations: 63.86 kB / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1401, allocations: 0 / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1401, allocations: 0 / 0.6626 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.1402, allocations: 0 / 0.6626 GB, free: 8.07 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.0003974/0.1406, allocations: 347.4 kB / 0.6629 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.1406, allocations: 12.03 kB / 0.6629 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.261e-05/0.1406, allocations: 8.844 kB / 0.6629 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.1407, allocations: 164.3 kB / 0.6631 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.025e-05/0.1408, allocations: 384 / 0.6631 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.1408, allocations: 8.375 kB / 0.6631 GB, free: 7.457 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1409, allocations: 49.92 kB / 0.6631 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1409, allocations: 0 / 0.6631 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1409, allocations: 0 / 0.6631 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.1409, allocations: 3.938 kB / 0.6631 GB, free: 7.398 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.86e-05/0.141, allocations: 23.98 kB / 0.6632 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002973/0.1413, allocations: 248.9 kB / 0.6634 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.962e-05/0.1414, allocations: 38.5 kB / 0.6634 GB, free: 7.035 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.634e-05/0.1415, allocations: 16.91 kB / 0.6635 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007987/0.1423, allocations: 477.4 kB / 0.6639 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.1423, allocations: 30.56 kB / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1423, allocations: 0 / 0.6639 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002422/0.1426, allocations: 69.58 kB / 0.664 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.105e-05/0.1426, allocations: 55.53 kB / 0.6641 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.453e-05/0.1427, allocations: 105.8 kB / 0.6642 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.222e-05/0.1427, allocations: 29.7 kB / 0.6642 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.1428, allocations: 88.12 kB / 0.6643 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.1428, allocations: 3.906 kB / 0.6643 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.138e-05/0.1428, allocations: 21.66 kB / 0.6643 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.143, allocations: 310.8 kB / 0.6646 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.143, allocations: 11.98 kB / 0.6646 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.143, allocations: 12 kB / 0.6646 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.436e-05/0.1431, allocations: 28.78 kB / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1431, allocations: 0 / 0.6646 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001309/0.1433, allocations: 53.67 kB / 0.6647 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1433, allocations: 8 kB / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.1433, allocations: 0 / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.1433, allocations: 96 / 0.6647 GB, free: 5.574 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.1434, allocations: 11.94 kB / 0.6647 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/0.1434, allocations: 4.25 kB / 0.6647 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.1435, allocations: 4 kB / 0.6647 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.1435, allocations: 3.984 kB / 0.6647 GB, free: 5.551 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.966e-05/0.1435, allocations: 113.8 kB / 0.6648 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.1436, allocations: 7.906 kB / 0.6648 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001663/0.1438, allocations: 61.2 kB / 0.6649 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1438, allocations: 4.031 kB / 0.6649 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1438, allocations: 0 / 0.6649 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1438, allocations: 0 / 0.6649 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/0.1439, allocations: 165.6 kB / 0.6651 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.144, allocations: 3.984 kB / 0.6651 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.306e-05/0.144, allocations: 7.938 kB / 0.6651 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.144, allocations: 0 / 0.6651 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.144, allocations: 0 / 0.6651 GB, free: 5.121 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.144, allocations: 3.984 kB / 0.6651 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.144, allocations: 7.938 kB / 0.6651 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.1442, allocations: 155.5 kB / 0.6652 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.61e-05/0.1442, allocations: 81.02 kB / 0.6653 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1443, allocations: 4 kB / 0.6653 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.037e-05/0.1443, allocations: 0 / 0.6653 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.876e-05/0.1444, allocations: 3.984 kB / 0.6653 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.1444, allocations: 0 / 0.6653 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.1444, allocations: 95.3 kB / 0.6654 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.51e-07/0.1444, allocations: 0 / 0.6654 GB, free: 4.742 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002394/0.1447, allocations: 19.98 kB / 0.6654 GB, free: 4.723 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.0001562/0.1448, allocations: 107.2 kB / 0.6655 GB, free: 4.609 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001328/0.145, allocations: 27.92 kB / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.145, allocations: 0 / 0.6656 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.601e-05/0.145, allocations: 15.98 kB / 0.6656 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.1452, allocations: 8.062 kB / 0.6656 GB, free: 4.559 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.1455, allocations: 144.2 kB / 0.6657 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002234/0.1458, allocations: 0.6807 MB / 0.6664 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.1458, allocations: 7.438 kB / 0.6664 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1458, allocations: 0 / 0.6664 GB, free: 3.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.002104/0.1479, allocations: 0.8139 MB / 0.6672 GB, free: 2.855 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)