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.0009868/0.0009869, allocations: 97.41 kB / 15.36 MB, free: 0.7344 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.006244/0.006244, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.472/1.472, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9385/0.9385, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003307/0.0003307, allocations: 12.53 kB / 0.5076 GB, free: 4.703 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1767, allocations: 82.32 MB / 0.588 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.00169/0.1784, allocations: 1.173 MB / 0.5891 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000947/0.1794, allocations: 0.562 MB / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.028e-05/0.1795, allocations: 0 / 0.5897 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.1795, allocations: 3.938 kB / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.1796, allocations: 0 / 0.5897 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1798, allocations: 39.89 kB / 0.5897 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.1799, allocations: 23.92 kB / 0.5897 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.702e-05/0.18, allocations: 12 kB / 0.5897 GB, free: 0.7227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.656e-05/0.1801, allocations: 7.938 kB / 0.5898 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.879e-05/0.1801, allocations: 15.86 kB / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.1802, allocations: 0 / 0.5898 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.1803, allocations: 63.94 kB / 0.5898 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.1803, allocations: 0 / 0.5898 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.564e-05/0.1803, allocations: 33.58 kB / 0.5899 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1805, allocations: 67.84 kB / 0.5899 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1805, allocations: 0 / 0.5899 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1805, allocations: 4 kB / 0.5899 GB, free: 0.5273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.097e-06/0.1805, allocations: 0 / 0.5899 GB, free: 0.5273 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.00039/0.1809, allocations: 343.7 kB / 0.5903 GB, free: 148 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.181, allocations: 12.03 kB / 0.5903 GB, free: 136 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.087e-05/0.181, allocations: 4.844 kB / 0.5903 GB, free: 132 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.1811, allocations: 168.4 kB / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1812, allocations: 384 / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.1812, allocations: 384 / 0.5904 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001376/0.1813, allocations: 54 kB / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.1813, allocations: 0 / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.1813, allocations: 0 / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.007e-06/0.1814, allocations: 0 / 0.5905 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.1815, allocations: 27.92 kB / 0.5905 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.1818, allocations: 260.8 kB / 0.5908 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.082e-05/0.1819, allocations: 38.5 kB / 0.5908 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.923e-05/0.1819, allocations: 16.92 kB / 0.5908 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008733/0.1828, allocations: 0.4935 MB / 0.5913 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.1828, allocations: 38.56 kB / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1828, allocations: 0 / 0.5913 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002417/0.1831, allocations: 69.61 kB / 0.5914 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.1831, allocations: 51.41 kB / 0.5914 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.901e-05/0.1832, allocations: 113.8 kB / 0.5916 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1833, allocations: 29.83 kB / 0.5916 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.886e-05/0.1833, allocations: 84.14 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.786e-05/0.1833, allocations: 7.906 kB / 0.5917 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.297e-05/0.1833, allocations: 9.719 kB / 0.5917 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.1835, allocations: 322.8 kB / 0.592 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.794e-05/0.1835, allocations: 12 kB / 0.592 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.1836, allocations: 11.98 kB / 0.592 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.683e-05/0.1837, allocations: 40.78 kB / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1837, allocations: 0 / 0.5921 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001224/0.1838, allocations: 53.69 kB / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.1838, allocations: 4 kB / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.1838, allocations: 0 / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.1839, allocations: 32 / 0.5921 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.078e-05/0.1839, allocations: 15.98 kB / 0.5921 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.184, allocations: 0 / 0.5921 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.307e-05/0.184, allocations: 4 kB / 0.5921 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.184, allocations: 4 kB / 0.5921 GB, free: 13.96 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 7.755e-05/0.1841, allocations: 113.8 kB / 0.5922 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.1841, allocations: 7.906 kB / 0.5922 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.1843, allocations: 73.14 kB / 0.5923 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1843, allocations: 3.984 kB / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.1843, allocations: 0 / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.1843, allocations: 0 / 0.5923 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001596/0.1845, allocations: 165.6 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1845, allocations: 0 / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.184e-05/0.1845, allocations: 4 kB / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1846, allocations: 0 / 0.5925 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1846, allocations: 3.984 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.1846, allocations: 4.031 kB / 0.5925 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.1846, allocations: 8 kB / 0.5925 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.1848, allocations: 155.4 kB / 0.5926 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.1848, allocations: 81.02 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.142e-05/0.1848, allocations: 0 / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.185, allocations: 12.02 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.185, allocations: 3.938 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.185, allocations: 4 kB / 0.5927 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.377e-05/0.1851, allocations: 87.27 kB / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1851, allocations: 0 / 0.5928 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002324/0.1853, allocations: 12 kB / 0.5928 GB, free: 13.13 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.0002225/0.1855, allocations: 119.2 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001294/0.1857, allocations: 31.98 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1857, allocations: 4 kB / 0.593 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.733e-05/0.1857, allocations: 11.94 kB / 0.593 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.1859, allocations: 9.812 kB / 0.593 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002639/0.1862, allocations: 144.7 kB / 0.5931 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.1865, allocations: 0.677 MB / 0.5938 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.418e-05/0.1865, allocations: 4 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.714e-05/0.1865, allocations: 7.438 kB / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1865, allocations: 0 / 0.5938 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of Templates: time 0.00283/0.1894, allocations: 0.6221 MB / 0.5944 GB, free: 11.45 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)