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.001428/0.001427, 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.001506/0.001506, allocations: 192.2 kB / 16.25 MB, free: 6.641 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.37/1.37, 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.9653/0.9653, allocations: 135.6 MB / 425.6 MB, free: 11.92 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001875, allocations: 66.67 kB / 0.5054 GB, free: 5.191 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1759, allocations: 81.02 MB / 0.5845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003349/0.1793, allocations: 1.508 MB / 0.586 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009515/0.1803, allocations: 0.5619 MB / 0.5865 GB, free: 2.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.1804, allocations: 4 kB / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3e-05/0.1804, allocations: 0 / 0.5865 GB, free: 2.203 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.1805, allocations: 3.938 kB / 0.5865 GB, free: 2.199 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.1807, allocations: 43.89 kB / 0.5866 GB, free: 2.156 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.363e-05/0.1808, allocations: 23.94 kB / 0.5866 GB, free: 2.133 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.074e-05/0.1809, allocations: 7.984 kB / 0.5866 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.886e-05/0.181, allocations: 19.92 kB / 0.5866 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.223e-05/0.181, allocations: 15.92 kB / 0.5866 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1811, allocations: 3.938 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1812, allocations: 51.95 kB / 0.5867 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.47e-05/0.1812, allocations: 4 kB / 0.5867 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.011e-05/0.1812, allocations: 15.86 kB / 0.5867 GB, free: 2.016 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001372/0.1814, allocations: 63.86 kB / 0.5868 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1814, allocations: 0 / 0.5868 GB, free: 1.953 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1814, allocations: 4 kB / 0.5868 GB, free: 1.949 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.1814, allocations: 0 / 0.5868 GB, free: 1.949 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.0004647/0.1819, allocations: 355.6 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1819, allocations: 12.03 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.182, allocations: 0.9375 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.1821, allocations: 172.2 kB / 0.5873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.1821, allocations: 4.359 kB / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.1821, allocations: 384 / 0.5873 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001352/0.1823, allocations: 46 kB / 0.5873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.395e-06/0.1823, allocations: 4 kB / 0.5873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.388e-06/0.1823, allocations: 0 / 0.5873 GB, free: 1.277 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1823, allocations: 4 kB / 0.5873 GB, free: 1.273 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.118e-05/0.1824, allocations: 15.98 kB / 0.5874 GB, free: 1.258 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.1828, allocations: 256.8 kB / 0.5876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.1829, allocations: 34.52 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.88e-05/0.1829, allocations: 20.91 kB / 0.5877 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007992/0.1837, allocations: 473.4 kB / 0.5881 GB, free: 344 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.1837, allocations: 34.56 kB / 0.5881 GB, free: 300 kB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1838, allocations: 4 kB / 0.5881 GB, free: 296 kB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000229/0.184, allocations: 57.67 kB / 0.5882 GB, free: 232 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.184, allocations: 59.34 kB / 0.5883 GB, free: 160 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.565e-05/0.1841, allocations: 109.8 kB / 0.5884 GB, free: 40 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1842, allocations: 25.7 kB / 0.5884 GB, free: 8 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.202e-05/0.1842, allocations: 80.14 kB / 0.5885 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.1843, allocations: 11.91 kB / 0.5885 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.1843, allocations: 13.84 kB / 0.5885 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.1844, allocations: 322.8 kB / 0.5888 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.912e-05/0.1845, allocations: 11.94 kB / 0.5888 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.819e-05/0.1845, allocations: 11.98 kB / 0.5888 GB, free: 15.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.355e-05/0.1846, allocations: 28.78 kB / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1846, allocations: 0 / 0.5888 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001268/0.1848, allocations: 65.59 kB / 0.5889 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1848, allocations: 6.031 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.1848, allocations: 0 / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1848, allocations: 4 kB / 0.5889 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.1849, allocations: 4 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1849, allocations: 7.922 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.842e-05/0.1849, allocations: 0 / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.1849, allocations: 0 / 0.5889 GB, free: 15.43 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.329e-05/0.185, allocations: 117.8 kB / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.155e-05/0.185, allocations: 0 / 0.589 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.1852, allocations: 61.2 kB / 0.5891 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1852, allocations: 7.984 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.1852, allocations: 4 kB / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1853, allocations: 0 / 0.5891 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.1854, allocations: 169.5 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1854, allocations: 0 / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.908e-05/0.1855, allocations: 8 kB / 0.5893 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.1855, allocations: 4.031 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.1855, allocations: 4 kB / 0.5893 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1855, allocations: 3.984 kB / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1855, allocations: 0 / 0.5893 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1857, allocations: 151.4 kB / 0.5894 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.082e-05/0.1858, allocations: 77.11 kB / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.208e-05/0.1858, allocations: 0 / 0.5895 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.1858, allocations: 8.016 kB / 0.5895 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.133e-05/0.1859, allocations: 8 kB / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.1859, allocations: 0 / 0.5895 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.931e-05/0.1859, allocations: 87.27 kB / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.186, allocations: 0 / 0.5896 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002272/0.1862, allocations: 20 kB / 0.5896 GB, free: 14.61 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.0001904/0.1864, allocations: 119.1 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1865, allocations: 23.98 kB / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1865, allocations: 0 / 0.5898 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.294e-05/0.1866, allocations: 8 kB / 0.5898 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001977/0.1868, allocations: 11.94 kB / 0.5898 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000293/0.1871, allocations: 138.4 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/0.1874, allocations: 0.6808 MB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.39e-05/0.1874, allocations: 4 kB / 0.5906 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.1875, allocations: 7.438 kB / 0.5906 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1875, allocations: 0 / 0.5906 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.002824/0.1903, allocations: 0.6479 MB / 0.5912 GB, free: 12.91 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)