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.001506/0.001507, allocations: 103.9 kB / 15.98 MB, free: 6.312 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.001664/0.001664, allocations: 197.8 kB / 16.91 MB, free: 6.16 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.441/1.441, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8075/0.8075, allocations: 135.1 MB / 425.9 MB, free: 4.336 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 63.89 kB / 0.5055 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.397, allocations: 80.91 MB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002346/0.3994, allocations: 1.521 MB / 0.586 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007753/0.4002, allocations: 0.5579 MB / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.537e-05/0.4003, allocations: 0.625 kB / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.4003, allocations: 3.984 kB / 0.5865 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.4004, allocations: 5.938 kB / 0.5866 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002549/0.4006, allocations: 40.03 kB / 0.5866 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.283e-05/0.4007, allocations: 28.36 kB / 0.5866 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.4008, allocations: 11.55 kB / 0.5866 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.521e-05/0.4009, allocations: 15.11 kB / 0.5866 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.401, allocations: 15.95 kB / 0.5867 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.401, allocations: 2.219 kB / 0.5867 GB, free: 23.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.4011, allocations: 51.3 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.28e-05/0.4011, allocations: 5.281 kB / 0.5867 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.212e-05/0.4012, allocations: 15.06 kB / 0.5867 GB, free: 23.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.4013, allocations: 40.5 kB / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.4013, allocations: 1.844 kB / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4013, allocations: 1.469 kB / 0.5868 GB, free: 23.34 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.089e-06/0.4013, allocations: 0 / 0.5868 GB, free: 23.34 MB / 446.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.0003367/0.4016, allocations: 355.2 kB / 0.5871 GB, free: 22.96 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.4017, allocations: 15.33 kB / 0.5871 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.4017, allocations: 2.812 kB / 0.5871 GB, free: 22.96 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.4018, allocations: 171.2 kB / 0.5873 GB, free: 22.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.4018, allocations: 11.58 kB / 0.5873 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.4018, allocations: 1.5 kB / 0.5873 GB, free: 22.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001269/0.402, allocations: 45.78 kB / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.402, allocations: 1.469 kB / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.402, allocations: 0 / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.402, allocations: 0 / 0.5873 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.615e-05/0.4021, allocations: 20.48 kB / 0.5874 GB, free: 22.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.4024, allocations: 256.8 kB / 0.5876 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.126e-05/0.4025, allocations: 29.11 kB / 0.5876 GB, free: 22.38 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.217e-05/0.4025, allocations: 18.91 kB / 0.5877 GB, free: 22.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006864/0.4032, allocations: 476.8 kB / 0.5881 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.659e-05/0.4032, allocations: 31.84 kB / 0.5881 GB, free: 21.82 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4032, allocations: 3.938 kB / 0.5881 GB, free: 21.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002177/0.4035, allocations: 64.62 kB / 0.5882 GB, free: 21.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.4035, allocations: 55.39 kB / 0.5883 GB, free: 21.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.298e-05/0.4036, allocations: 108.4 kB / 0.5884 GB, free: 21.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.524e-06/0.4036, allocations: 27.64 kB / 0.5884 GB, free: 21.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.293e-05/0.4036, allocations: 86.7 kB / 0.5885 GB, free: 21.48 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.471e-05/0.4036, allocations: 3.906 kB / 0.5885 GB, free: 21.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.4037, allocations: 16.5 kB / 0.5885 GB, free: 21.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.95e-05/0.4037, allocations: 321 kB / 0.5888 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.4037, allocations: 10.84 kB / 0.5888 GB, free: 21.14 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.231e-05/0.4038, allocations: 9.953 kB / 0.5888 GB, free: 21.13 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.064e-05/0.4039, allocations: 30.88 kB / 0.5888 GB, free: 21.11 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4039, allocations: 0 / 0.5888 GB, free: 21.11 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001028/0.404, allocations: 63.75 kB / 0.5889 GB, free: 21.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/0.404, allocations: 7.656 kB / 0.5889 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.404, allocations: 0 / 0.5889 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.404, allocations: 0.625 kB / 0.5889 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.54e-05/0.4041, allocations: 6.25 kB / 0.5889 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.4041, allocations: 3.984 kB / 0.5889 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.226e-05/0.4041, allocations: 12.09 kB / 0.5889 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.421e-06/0.4042, allocations: 0 / 0.5889 GB, free: 21.05 MB / 446.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 4.753e-05/0.4042, allocations: 113.3 kB / 0.589 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.396e-05/0.4042, allocations: 2.125 kB / 0.589 GB, free: 20.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001416/0.4044, allocations: 66.55 kB / 0.5891 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.4044, allocations: 1.469 kB / 0.5891 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.4044, allocations: 0 / 0.5891 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.4044, allocations: 0.5625 kB / 0.5891 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.4045, allocations: 163.8 kB / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4045, allocations: 2.25 kB / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.096e-05/0.4046, allocations: 3.969 kB / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.4046, allocations: 1.75 kB / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.4046, allocations: 1.188 kB / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4046, allocations: 0 / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4046, allocations: 5.453 kB / 0.5893 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001239/0.4047, allocations: 154.9 kB / 0.5894 GB, free: 20.53 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.988e-05/0.4048, allocations: 78.55 kB / 0.5895 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.4048, allocations: 1.406 kB / 0.5895 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.062e-05/0.4049, allocations: 5.453 kB / 0.5895 GB, free: 20.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.288e-05/0.4049, allocations: 9.328 kB / 0.5895 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-06/0.4049, allocations: 2.031 kB / 0.5895 GB, free: 20.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.021e-05/0.4049, allocations: 91.36 kB / 0.5896 GB, free: 20.34 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4049, allocations: 0 / 0.5896 GB, free: 20.34 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.4052, allocations: 19.72 kB / 0.5896 GB, free: 20.33 MB / 446.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.0001498/0.4053, allocations: 122.7 kB / 0.5897 GB, free: 20.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001334/0.4055, allocations: 28.95 kB / 0.5898 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4055, allocations: 0 / 0.5898 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.166e-05/0.4055, allocations: 7.875 kB / 0.5898 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.4058, allocations: 5.188 kB / 0.5898 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002725/0.406, allocations: 164.4 kB / 0.5899 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.4062, allocations: 0.6791 MB / 0.5906 GB, free: 19.34 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.045e-05/0.4062, allocations: 9.062 kB / 0.5906 GB, free: 19.34 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4062, allocations: 0.625 kB / 0.5906 GB, free: 19.34 MB / 446.1 MB Notification: Performance of Templates: time 0.001998/0.4082, allocations: 0.8088 MB / 0.5914 GB, free: 18.98 MB / 446.1 MB 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)