Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001287/0.001287, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001554/0.001554, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 223.3 MB / 240 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9694/0.9694, allocations: 135.3 MB / 426.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003925/0.0003927, allocations: 8 kB / 0.507 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1906, allocations: 82.31 MB / 0.5874 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001941/0.1926, allocations: 1.161 MB / 0.5885 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009848/0.1936, allocations: 0.5157 MB / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.43e-05/0.1937, allocations: 0 / 0.589 GB, free: 1.316 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.766e-05/0.1937, allocations: 7.938 kB / 0.589 GB, free: 1.309 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.1938, allocations: 3.938 kB / 0.589 GB, free: 1.305 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.1941, allocations: 39.95 kB / 0.5891 GB, free: 1.266 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.341e-05/0.1942, allocations: 23.86 kB / 0.5891 GB, free: 1.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1943, allocations: 4 kB / 0.5891 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.507e-05/0.1944, allocations: 15.92 kB / 0.5891 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.1945, allocations: 11.98 kB / 0.5891 GB, free: 1.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.1945, allocations: 3.938 kB / 0.5891 GB, free: 1.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.1947, allocations: 51.95 kB / 0.5892 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1947, allocations: 7.922 kB / 0.5892 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.14e-05/0.1947, allocations: 29.7 kB / 0.5892 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.1949, allocations: 43.88 kB / 0.5892 GB, free: 1.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.1949, allocations: 4 kB / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1949, allocations: 0 / 0.5892 GB, free: 1.066 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1949, allocations: 0 / 0.5892 GB, free: 1.066 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.0004654/0.1954, allocations: 353.2 kB / 0.5896 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1954, allocations: 8.031 kB / 0.5896 GB, free: 0.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.006e-05/0.1955, allocations: 7.906 kB / 0.5896 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.1956, allocations: 163 kB / 0.5898 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.1956, allocations: 4 kB / 0.5898 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.939e-06/0.1956, allocations: 0 / 0.5898 GB, free: 468 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.1958, allocations: 45.62 kB / 0.5898 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1958, allocations: 0 / 0.5898 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.889e-06/0.1959, allocations: 4 kB / 0.5898 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.1959, allocations: 4 kB / 0.5898 GB, free: 408 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.461e-05/0.196, allocations: 23.97 kB / 0.5898 GB, free: 384 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003673/0.1963, allocations: 252.9 kB / 0.5901 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.375e-05/0.1964, allocations: 42.5 kB / 0.5901 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.1965, allocations: 16.92 kB / 0.5901 GB, free: 8 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/0.1973, allocations: 497.4 kB / 0.5906 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.1973, allocations: 38.56 kB / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.1974, allocations: 0 / 0.5906 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002745/0.1976, allocations: 69.58 kB / 0.5907 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1977, allocations: 55.41 kB / 0.5908 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.1978, allocations: 109.8 kB / 0.5909 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.1978, allocations: 29.7 kB / 0.5909 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.174e-05/0.1979, allocations: 80.14 kB / 0.591 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.164e-05/0.1979, allocations: 11.89 kB / 0.591 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-06/0.1979, allocations: 12.06 kB / 0.591 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.1981, allocations: 318.7 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/0.1981, allocations: 8 kB / 0.5913 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.608e-05/0.1981, allocations: 15.98 kB / 0.5913 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.681e-05/0.1982, allocations: 12 kB / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1982, allocations: 0 / 0.5913 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000129/0.1984, allocations: 69.72 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.1984, allocations: 4 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.1984, allocations: 0 / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.1984, allocations: 4 kB / 0.5914 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.365e-05/0.1985, allocations: 4 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.1985, allocations: 3.938 kB / 0.5914 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.443e-05/0.1985, allocations: 7.984 kB / 0.5914 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.1e-06/0.1986, allocations: 4.031 kB / 0.5914 GB, free: 14.53 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.413e-05/0.1986, allocations: 113.7 kB / 0.5915 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.701e-05/0.1987, allocations: 11.91 kB / 0.5915 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/0.1989, allocations: 65.2 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.1989, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1989, allocations: 0 / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1989, allocations: 4.031 kB / 0.5916 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.199, allocations: 165.6 kB / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1991, allocations: 0 / 0.5918 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.331e-05/0.1991, allocations: 4 kB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.1991, allocations: 0 / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.131e-05/0.1991, allocations: 8 kB / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1991, allocations: 0 / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.1991, allocations: 0 / 0.5918 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001739/0.1993, allocations: 159.4 kB / 0.5919 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.493e-05/0.1994, allocations: 77.11 kB / 0.592 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.1994, allocations: 4 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.805e-05/0.1994, allocations: 0 / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.369e-05/0.1995, allocations: 7.984 kB / 0.592 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.332e-05/0.1995, allocations: 4 kB / 0.592 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.963e-05/0.1995, allocations: 79.28 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1996, allocations: 4.031 kB / 0.5921 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002397/0.1998, allocations: 27.89 kB / 0.5921 GB, free: 13.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001791/0.2, allocations: 107.2 kB / 0.5922 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001462/0.2001, allocations: 27.98 kB / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.2001, allocations: 0 / 0.5923 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.596e-05/0.2002, allocations: 19.98 kB / 0.5923 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002242/0.2004, allocations: 11.95 kB / 0.5923 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.2007, allocations: 132.9 kB / 0.5924 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004507/0.2012, allocations: 0.677 MB / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.292e-05/0.2012, allocations: 0 / 0.5931 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.743e-05/0.2013, allocations: 15.5 kB / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.2013, allocations: 0 / 0.5931 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.003056/0.2043, allocations: 0.6256 MB / 0.5937 GB, free: 12.04 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)