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.00713/0.00713, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001202/0.001202, allocations: 192.8 kB / 16.67 MB, free: 5.52 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.806/0.806, allocations: 132.2 MB / 422.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001423/0.001423, allocations: 63.81 kB / 0.5813 GB, free: 23.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1899, allocations: 80.23 MB / 0.6597 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003178/0.1931, allocations: 1.441 MB / 0.6611 GB, free: 8.793 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001087/0.1942, allocations: 0.5657 MB / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.1943, allocations: 0 / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.1943, allocations: 0 / 0.6616 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.1944, allocations: 11.88 kB / 0.6617 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003556/0.1948, allocations: 51.83 kB / 0.6617 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.313e-05/0.1949, allocations: 31.86 kB / 0.6617 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.195, allocations: 4 kB / 0.6617 GB, free: 8.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.1951, allocations: 19.97 kB / 0.6618 GB, free: 8.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.054e-05/0.1952, allocations: 15.92 kB / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.237e-05/0.1952, allocations: 0 / 0.6618 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001473/0.1953, allocations: 55.95 kB / 0.6618 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.1954, allocations: 3.938 kB / 0.6618 GB, free: 8.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.1954, allocations: 11.94 kB / 0.6618 GB, free: 8.016 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.1956, allocations: 59.86 kB / 0.6619 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1956, allocations: 4 kB / 0.6619 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1956, allocations: 4 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.1956, allocations: 0 / 0.6619 GB, free: 7.949 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.0004789/0.1961, allocations: 343.4 kB / 0.6622 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1961, allocations: 11.97 kB / 0.6622 GB, free: 7.555 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.1962, allocations: 12.84 kB / 0.6623 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.1963, allocations: 176.2 kB / 0.6624 GB, free: 7.332 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.1964, allocations: 4.375 kB / 0.6624 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.449e-05/0.1964, allocations: 384 / 0.6624 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.1965, allocations: 53.98 kB / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.1965, allocations: 0 / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1966, allocations: 0 / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1966, allocations: 0 / 0.6625 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.853e-05/0.1967, allocations: 19.98 kB / 0.6625 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.197, allocations: 256.8 kB / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.087e-05/0.1971, allocations: 34.52 kB / 0.6628 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.254e-05/0.1972, allocations: 20.91 kB / 0.6628 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008151/0.198, allocations: 469.4 kB / 0.6632 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1981, allocations: 46.56 kB / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.372e-06/0.1981, allocations: 0 / 0.6633 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002619/0.1983, allocations: 61.53 kB / 0.6634 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.1984, allocations: 51.41 kB / 0.6634 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.733e-05/0.1985, allocations: 109.8 kB / 0.6635 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.409e-05/0.1985, allocations: 29.7 kB / 0.6635 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.1986, allocations: 84.12 kB / 0.6636 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.1986, allocations: 4.031 kB / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.369e-05/0.1986, allocations: 21.72 kB / 0.6636 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.1988, allocations: 310.8 kB / 0.6639 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.775e-05/0.1988, allocations: 15.98 kB / 0.664 GB, free: 5.551 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.378e-05/0.1989, allocations: 7.984 kB / 0.664 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.1989, allocations: 24.8 kB / 0.664 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.199, allocations: 4 kB / 0.664 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001352/0.1991, allocations: 65.67 kB / 0.664 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.1991, allocations: 4 kB / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1991, allocations: 0 / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.1992, allocations: 0 / 0.6641 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.826e-05/0.1992, allocations: 4 kB / 0.6641 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.1992, allocations: 320 / 0.6641 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.28e-05/0.1993, allocations: 7.984 kB / 0.6641 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.1993, allocations: 0 / 0.6641 GB, free: 5.426 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 8.494e-05/0.1994, allocations: 117.8 kB / 0.6642 GB, free: 5.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.631e-05/0.1994, allocations: 3.906 kB / 0.6642 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.1996, allocations: 61.2 kB / 0.6642 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1996, allocations: 3.938 kB / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1996, allocations: 0 / 0.6642 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1996, allocations: 4 kB / 0.6642 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.1998, allocations: 165.5 kB / 0.6644 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1998, allocations: 0 / 0.6644 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.1999, allocations: 4 kB / 0.6644 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/0.1999, allocations: 4.031 kB / 0.6644 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.534e-06/0.1999, allocations: 7.938 kB / 0.6644 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1999, allocations: 0 / 0.6644 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.1999, allocations: 3.984 kB / 0.6644 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.2001, allocations: 151.5 kB / 0.6646 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.482e-05/0.2001, allocations: 85.02 kB / 0.6646 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.337e-05/0.2002, allocations: 0 / 0.6646 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.138e-05/0.2002, allocations: 8.016 kB / 0.6647 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.2003, allocations: 4 kB / 0.6647 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.2003, allocations: 4 kB / 0.6647 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.461e-05/0.2003, allocations: 83.28 kB / 0.6647 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2004, allocations: 3.938 kB / 0.6647 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002499/0.2006, allocations: 19.98 kB / 0.6648 GB, free: 4.598 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.0002039/0.2008, allocations: 115.2 kB / 0.6649 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.201, allocations: 31.97 kB / 0.6649 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.201, allocations: 0 / 0.6649 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.397e-05/0.201, allocations: 8 kB / 0.6649 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002311/0.2013, allocations: 7.938 kB / 0.6649 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.2018, allocations: 122.5 kB / 0.665 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002821/0.2021, allocations: 0.6806 MB / 0.6657 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.702e-05/0.2021, allocations: 12.11 kB / 0.6657 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.002e-05/0.2021, allocations: 7.438 kB / 0.6657 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.2021, allocations: 0 / 0.6657 GB, free: 3.555 MB / 0.4981 GB Notification: Performance of Templates: time 0.003178/0.2053, allocations: 0.6678 MB / 0.6664 GB, free: 2.895 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)