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.0009828/0.0009827, allocations: 98.77 kB / 15.05 MB, free: 1.105 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.001006/0.001006, allocations: 177.3 kB / 15.94 MB, free: 228 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.213/1.213, allocations: 223.2 MB / 239.9 MB, free: 5.207 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.84/0.84, allocations: 135.2 MB / 426.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002825/0.0002825, allocations: 12 kB / 0.5068 GB, free: 5.105 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1472, allocations: 82.3 MB / 0.5872 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.001389/0.1487, allocations: 1.16 MB / 0.5883 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000689/0.1494, allocations: 0.5156 MB / 0.5888 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.285e-05/0.1494, allocations: 0 / 0.5888 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.351e-05/0.1494, allocations: 0 / 0.5888 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.658e-05/0.1495, allocations: 3.984 kB / 0.5888 GB, free: 1.285 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001869/0.1497, allocations: 47.83 kB / 0.5889 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.1497, allocations: 15.98 kB / 0.5889 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.379e-05/0.1498, allocations: 3.984 kB / 0.5889 GB, free: 1.219 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.603e-05/0.1499, allocations: 15.92 kB / 0.5889 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.1499, allocations: 15.92 kB / 0.5889 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.1499, allocations: 0 / 0.5889 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.458e-05/0.15, allocations: 39.97 kB / 0.589 GB, free: 1.148 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1501, allocations: 11.92 kB / 0.589 GB, free: 1.137 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.016e-05/0.1501, allocations: 29.64 kB / 0.589 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.495e-05/0.1502, allocations: 43.94 kB / 0.589 GB, free: 1.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1502, allocations: 0 / 0.589 GB, free: 1.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1502, allocations: 0 / 0.589 GB, free: 1.059 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.317e-06/0.1502, allocations: 4 kB / 0.5891 GB, free: 1.055 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.0003572/0.1506, allocations: 347.5 kB / 0.5894 GB, free: 0.668 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.771e-05/0.1506, allocations: 8.031 kB / 0.5894 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.631e-05/0.1506, allocations: 7.906 kB / 0.5894 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1507, allocations: 167 kB / 0.5896 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.038e-05/0.1507, allocations: 4 kB / 0.5896 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.288e-06/0.1508, allocations: 4 kB / 0.5896 GB, free: 452 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1509, allocations: 49.67 kB / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.1509, allocations: 0 / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.1509, allocations: 0 / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.636e-06/0.1509, allocations: 0 / 0.5896 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.151, allocations: 23.98 kB / 0.5896 GB, free: 372 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002701/0.1513, allocations: 260.9 kB / 0.5899 GB, free: 60 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.249e-05/0.1514, allocations: 38.5 kB / 0.5899 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007478/0.1521, allocations: 0.4897 MB / 0.5904 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1522, allocations: 34.56 kB / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1522, allocations: 0 / 0.5904 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0002279/0.1524, allocations: 73.58 kB / 0.5905 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.1524, allocations: 55.34 kB / 0.5906 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.497e-05/0.1525, allocations: 110.1 kB / 0.5907 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/0.1525, allocations: 29.83 kB / 0.5907 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.988e-05/0.1526, allocations: 84.14 kB / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.1526, allocations: 3.906 kB / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.1526, allocations: 0 / 0.5908 GB, free: 15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.189e-05/0.1527, allocations: 330.7 kB / 0.5911 GB, free: 14.67 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.941e-05/0.1527, allocations: 8 kB / 0.5911 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.451e-05/0.1528, allocations: 15.98 kB / 0.5911 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.862e-05/0.1528, allocations: 12.06 kB / 0.5911 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.1528, allocations: 0 / 0.5911 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000114/0.153, allocations: 53.69 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.06e-05/0.153, allocations: 6.188 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.153, allocations: 3.984 kB / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.247e-06/0.153, allocations: 0 / 0.5912 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.737e-05/0.1531, allocations: 19.95 kB / 0.5912 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.1531, allocations: 4.062 kB / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.904e-05/0.1531, allocations: 0 / 0.5912 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.173e-06/0.1531, allocations: 4 kB / 0.5912 GB, free: 14.54 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 5.774e-05/0.1532, allocations: 117.7 kB / 0.5913 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.1532, allocations: 11.89 kB / 0.5913 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.1534, allocations: 65.22 kB / 0.5914 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.1534, allocations: 3.984 kB / 0.5914 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.1534, allocations: 0 / 0.5914 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.1534, allocations: 0 / 0.5914 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001427/0.1536, allocations: 157.6 kB / 0.5915 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1536, allocations: 4 kB / 0.5916 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.1536, allocations: 7.984 kB / 0.5916 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.1536, allocations: 0 / 0.5916 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.1536, allocations: 3.938 kB / 0.5916 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1536, allocations: 0 / 0.5916 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.42e-07/0.1536, allocations: 4.031 kB / 0.5916 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.1538, allocations: 159.5 kB / 0.5917 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.886e-05/0.1539, allocations: 81.02 kB / 0.5918 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.163e-05/0.1539, allocations: 0 / 0.5918 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.013e-05/0.1539, allocations: 4 kB / 0.5918 GB, free: 13.83 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.404e-05/0.154, allocations: 4.031 kB / 0.5918 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.809e-06/0.154, allocations: 4 kB / 0.5918 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.546e-05/0.154, allocations: 91.27 kB / 0.5919 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of sort global known variables: time 8.1e-08/0.154, allocations: 0 / 0.5919 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002164/0.1542, allocations: 16 kB / 0.5919 GB, free: 13.71 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.0001558/0.1544, allocations: 111.2 kB / 0.592 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000118/0.1545, allocations: 31.92 kB / 0.592 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-06/0.1545, allocations: 0 / 0.592 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.521e-05/0.1546, allocations: 19.98 kB / 0.5921 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.1547, allocations: 3.953 kB / 0.5921 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002394/0.155, allocations: 132.9 kB / 0.5922 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002232/0.1552, allocations: 0.6887 MB / 0.5929 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.1552, allocations: 0 / 0.5929 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.1552, allocations: 11.44 kB / 0.5929 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.1553, allocations: 0 / 0.5929 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.002243/0.1575, allocations: 0.6264 MB / 0.5935 GB, free: 12.04 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: