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.001209/0.001209, allocations: 101.5 kB / 16.27 MB, free: 5.938 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.001272/0.001272, allocations: 192.4 kB / 17.2 MB, free: 5.578 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8254/0.8254, allocations: 135.2 MB / 426.2 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 67.89 kB / 0.506 GB, free: 8.297 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3366, allocations: 80.91 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002951/0.3396, allocations: 1.459 MB / 0.5865 GB, free: 24.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.3406, allocations: 0.5578 MB / 0.587 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.3406, allocations: 1.375 kB / 0.587 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.3407, allocations: 3.938 kB / 0.587 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-05/0.3407, allocations: 9.047 kB / 0.587 GB, free: 23.66 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002932/0.341, allocations: 50.34 kB / 0.5871 GB, free: 23.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.824e-05/0.3411, allocations: 28.23 kB / 0.5871 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.505e-05/0.3412, allocations: 3.031 kB / 0.5871 GB, free: 23.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.451e-05/0.3413, allocations: 17.75 kB / 0.5871 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.079e-05/0.3414, allocations: 15.39 kB / 0.5871 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3414, allocations: 3.562 kB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.3415, allocations: 57.88 kB / 0.5872 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.346e-05/0.3415, allocations: 5.938 kB / 0.5872 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.451e-05/0.3416, allocations: 15.61 kB / 0.5872 GB, free: 23.54 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.3417, allocations: 62.67 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3417, allocations: 4 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3417, allocations: 1.125 kB / 0.5873 GB, free: 23.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.382e-06/0.3417, allocations: 0 / 0.5873 GB, free: 23.5 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.000383/0.3421, allocations: 352.9 kB / 0.5876 GB, free: 23.12 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3422, allocations: 9.953 kB / 0.5876 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.3422, allocations: 3.031 kB / 0.5876 GB, free: 23.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.3423, allocations: 172.9 kB / 0.5878 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.3424, allocations: 384 / 0.5878 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3424, allocations: 5.844 kB / 0.5878 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001327/0.3425, allocations: 47.97 kB / 0.5879 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3425, allocations: 7.938 kB / 0.5879 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3425, allocations: 0 / 0.5879 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3426, allocations: 1 kB / 0.5879 GB, free: 22.87 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.8e-05/0.3426, allocations: 20.67 kB / 0.5879 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000281/0.3429, allocations: 256.8 kB / 0.5881 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.343, allocations: 28.81 kB / 0.5882 GB, free: 22.54 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.507e-05/0.3431, allocations: 15.39 kB / 0.5882 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006956/0.3438, allocations: 480.5 kB / 0.5886 GB, free: 22.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.3438, allocations: 42.48 kB / 0.5887 GB, free: 21.97 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.3438, allocations: 0.6562 kB / 0.5887 GB, free: 21.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002338/0.344, allocations: 60.83 kB / 0.5887 GB, free: 21.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.919e-05/0.3441, allocations: 53.06 kB / 0.5888 GB, free: 21.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.412e-05/0.3441, allocations: 111.4 kB / 0.5889 GB, free: 21.76 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.864e-06/0.3442, allocations: 26.83 kB / 0.5889 GB, free: 21.73 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.3442, allocations: 82.42 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.658e-05/0.3442, allocations: 9.312 kB / 0.589 GB, free: 21.64 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.3442, allocations: 15.89 kB / 0.589 GB, free: 21.62 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.3443, allocations: 313.5 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.357e-05/0.3443, allocations: 10.56 kB / 0.5893 GB, free: 21.3 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.511e-05/0.3444, allocations: 17.48 kB / 0.5893 GB, free: 21.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.318e-05/0.3445, allocations: 34.53 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3445, allocations: 1.594 kB / 0.5894 GB, free: 21.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000105/0.3446, allocations: 55.12 kB / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.3446, allocations: 5.375 kB / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3446, allocations: 0 / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3446, allocations: 1.094 kB / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.769e-05/0.3447, allocations: 8.172 kB / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3447, allocations: 2.406 kB / 0.5894 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.966e-05/0.3448, allocations: 5.531 kB / 0.5894 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.3448, allocations: 2.406 kB / 0.5895 GB, free: 21.21 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.84e-05/0.3448, allocations: 115.6 kB / 0.5896 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3448, allocations: 1.094 kB / 0.5896 GB, free: 21.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001503/0.345, allocations: 63.55 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.345, allocations: 1.125 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.345, allocations: 0.5 kB / 0.5896 GB, free: 21.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.345, allocations: 3.984 kB / 0.5896 GB, free: 21.04 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.3451, allocations: 162.4 kB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.3452, allocations: 0 / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.166e-05/0.3452, allocations: 8.328 kB / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.412e-06/0.3452, allocations: 0 / 0.5898 GB, free: 20.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.3452, allocations: 10.5 kB / 0.5898 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3452, allocations: 0 / 0.5898 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3452, allocations: 1.406 kB / 0.5898 GB, free: 20.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.3454, allocations: 156 kB / 0.59 GB, free: 20.68 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.951e-05/0.3454, allocations: 85.09 kB / 0.59 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.258e-05/0.3454, allocations: 1.562 kB / 0.59 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.81e-05/0.3455, allocations: 1.375 kB / 0.59 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.3455, allocations: 7.844 kB / 0.59 GB, free: 20.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-06/0.3455, allocations: 1.75 kB / 0.59 GB, free: 20.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.739e-05/0.3456, allocations: 85.36 kB / 0.5901 GB, free: 20.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3456, allocations: 0 / 0.5901 GB, free: 20.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.3458, allocations: 15.75 kB / 0.5901 GB, free: 20.5 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.0001462/0.346, allocations: 115.1 kB / 0.5903 GB, free: 20.39 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000138/0.3461, allocations: 28.8 kB / 0.5903 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3461, allocations: 2.375 kB / 0.5903 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.33e-05/0.3462, allocations: 11.8 kB / 0.5903 GB, free: 20.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3464, allocations: 11.72 kB / 0.5903 GB, free: 20.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.3467, allocations: 156.6 kB / 0.5905 GB, free: 20.21 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.558e-05/0.3468, allocations: 0.6799 MB / 0.5911 GB, free: 19.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.3468, allocations: 10.09 kB / 0.5911 GB, free: 19.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3468, allocations: 0 / 0.5911 GB, free: 19.5 MB / 446.1 MB Notification: Performance of Templates: time 0.002286/0.3491, allocations: 0.814 MB / 0.5919 GB, free: 19.07 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)