Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") translateModel(IDEAS.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001453/0.001452, allocations: 193.4 kB / 16.25 MB, free: 6.637 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.411/1.411, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9661/0.9661, allocations: 135.1 MB / 425.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 68.36 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.184/0.1853, allocations: 80.93 MB / 0.5839 GB, free: 4.902 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothExponential): time 0.002501/0.1878, allocations: 1.487 MB / 0.5853 GB, free: 3.398 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003951/0.1882, allocations: 192.3 kB / 0.5855 GB, free: 3.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.694e-05/0.1883, allocations: 3.938 kB / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.921e-05/0.1883, allocations: 0 / 0.5855 GB, free: 3.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.964e-05/0.1884, allocations: 3.938 kB / 0.5855 GB, free: 3.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002507/0.1886, allocations: 35.95 kB / 0.5856 GB, free: 3.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.374e-05/0.1887, allocations: 19.94 kB / 0.5856 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.565e-05/0.1888, allocations: 11.98 kB / 0.5856 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.1888, allocations: 8 kB / 0.5856 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.997e-05/0.1889, allocations: 19.91 kB / 0.5856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1889, allocations: 0 / 0.5856 GB, free: 3.105 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.084e-05/0.189, allocations: 31.97 kB / 0.5857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.189, allocations: 4 kB / 0.5857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.19e-05/0.189, allocations: 11.92 kB / 0.5857 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001106/0.1891, allocations: 43.88 kB / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1892, allocations: 0 / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.1892, allocations: 0 / 0.5857 GB, free: 3.016 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.1892, allocations: 4 kB / 0.5857 GB, free: 3.012 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.0004216/0.1896, allocations: 347.7 kB / 0.586 GB, free: 2.621 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.297e-05/0.1896, allocations: 8.031 kB / 0.5861 GB, free: 2.613 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.791e-05/0.1897, allocations: 4.938 kB / 0.5861 GB, free: 2.609 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.1898, allocations: 168.2 kB / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.1898, allocations: 384 / 0.5862 GB, free: 2.406 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1898, allocations: 8.375 kB / 0.5862 GB, free: 2.398 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001576/0.19, allocations: 46.23 kB / 0.5863 GB, free: 2.348 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.19, allocations: 4.188 kB / 0.5863 GB, free: 2.344 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.19, allocations: 7.938 kB / 0.5863 GB, free: 2.336 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.19, allocations: 3.984 kB / 0.5863 GB, free: 2.332 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001679/0.1902, allocations: 31.95 kB / 0.5863 GB, free: 2.301 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002985/0.1905, allocations: 249 kB / 0.5866 GB, free: 2.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001254/0.1906, allocations: 50.38 kB / 0.5866 GB, free: 1.949 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.569e-05/0.1907, allocations: 20.91 kB / 0.5866 GB, free: 1.926 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001162/0.1908, allocations: 85.09 kB / 0.5867 GB, free: 1.824 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.087e-05/0.1909, allocations: 30.56 kB / 0.5867 GB, free: 1.785 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1909, allocations: 0 / 0.5867 GB, free: 1.785 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003343/0.1912, allocations: 85.64 kB / 0.5868 GB, free: 1.695 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1913, allocations: 55.34 kB / 0.5869 GB, free: 1.629 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.1913, allocations: 101.9 kB / 0.587 GB, free: 1.52 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.134e-05/0.1914, allocations: 25.7 kB / 0.587 GB, free: 1.488 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.1914, allocations: 80.14 kB / 0.5871 GB, free: 1.406 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.1914, allocations: 11.89 kB / 0.5871 GB, free: 1.395 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.1915, allocations: 13.72 kB / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.572e-05/0.1916, allocations: 315 kB / 0.5874 GB, free: 1.059 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.315e-05/0.1916, allocations: 19.98 kB / 0.5874 GB, free: 1.039 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.266e-05/0.1917, allocations: 19.91 kB / 0.5874 GB, free: 1.02 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.1919, allocations: 36.83 kB / 0.5875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1919, allocations: 0 / 0.5875 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001921/0.1921, allocations: 81.59 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.1921, allocations: 4 kB / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-06/0.1921, allocations: 0 / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.1921, allocations: 0 / 0.5875 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.897e-05/0.1922, allocations: 11.98 kB / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.1922, allocations: 0 / 0.5876 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.639e-05/0.1923, allocations: 7.906 kB / 0.5876 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.1923, allocations: 4.031 kB / 0.5876 GB, free: 0.8672 MB / 494.1 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 8.565e-05/0.1924, allocations: 109.8 kB / 0.5877 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1924, allocations: 4 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002268/0.1926, allocations: 72.77 kB / 0.5877 GB, free: 0.668 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.1927, allocations: 4 kB / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.1927, allocations: 256 / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.1927, allocations: 0 / 0.5877 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/0.1928, allocations: 169.6 kB / 0.5879 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1928, allocations: 3.938 kB / 0.5879 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.276e-05/0.1929, allocations: 11.98 kB / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1929, allocations: 0 / 0.5879 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.1929, allocations: 3.938 kB / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1929, allocations: 0 / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1929, allocations: 0 / 0.5879 GB, free: 440 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.1932, allocations: 167.5 kB / 0.5881 GB, free: 256 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.1932, allocations: 81.02 kB / 0.5882 GB, free: 156 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.553e-05/0.1932, allocations: 7.984 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1933, allocations: 0 / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.1934, allocations: 4 kB / 0.5882 GB, free: 144 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.1934, allocations: 3.984 kB / 0.5882 GB, free: 140 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.1934, allocations: 83.28 kB / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1934, allocations: 0 / 0.5883 GB, free: 56 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002291/0.1936, allocations: 12.03 kB / 0.5883 GB, free: 44 kB / 494.1 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.0001754/0.1938, allocations: 107.2 kB / 0.5884 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002081/0.194, allocations: 39.91 kB / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.1941, allocations: 0 / 0.5884 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.149e-05/0.1941, allocations: 15.98 kB / 0.5884 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002956/0.1944, allocations: 19.14 kB / 0.5884 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.1947, allocations: 121.5 kB / 0.5886 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000253/0.195, allocations: 0.6768 MB / 0.5892 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.195, allocations: 7.875 kB / 0.5892 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.121e-05/0.1951, allocations: 11.44 kB / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of SimCode: time 2.71e-07/0.1951, allocations: 0 / 0.5892 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of Templates: time 0.002722/0.1978, allocations: 0.5197 MB / 0.5897 GB, free: 14.47 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)