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.001544/0.001544, allocations: 115.6 kB / 16.37 MB, free: 6.004 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.001923/0.001923, allocations: 192.1 kB / 17.31 MB, free: 5.613 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8076/0.8076, allocations: 135.1 MB / 426.3 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 63.91 kB / 0.5068 GB, free: 7.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3617, allocations: 80.91 MB / 0.5858 GB, free: 25.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002183/0.3639, allocations: 1.446 MB / 0.5872 GB, free: 24.5 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007027/0.3646, allocations: 0.5611 MB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.3646, allocations: 0 / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.229e-05/0.3647, allocations: 5.938 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.05e-05/0.3647, allocations: 4.75 kB / 0.5877 GB, free: 24.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.365, allocations: 56.89 kB / 0.5878 GB, free: 24.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.619e-05/0.365, allocations: 34.53 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.914e-05/0.3651, allocations: 8.203 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.125e-05/0.3652, allocations: 11.06 kB / 0.5878 GB, free: 23.98 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.793e-05/0.3653, allocations: 20.36 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.3653, allocations: 1.156 kB / 0.5879 GB, free: 23.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.3654, allocations: 56.3 kB / 0.5879 GB, free: 23.93 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.21e-05/0.3654, allocations: 11.92 kB / 0.5879 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.046e-05/0.3654, allocations: 8.031 kB / 0.5879 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001365/0.3656, allocations: 62.3 kB / 0.588 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3656, allocations: 1.156 kB / 0.588 GB, free: 23.88 MB / 446.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.3656, allocations: 0 / 0.588 GB, free: 23.88 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.3656, allocations: 1.469 kB / 0.588 GB, free: 23.88 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.0003003/0.3659, allocations: 361.4 kB / 0.5883 GB, free: 23.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.3659, allocations: 11.23 kB / 0.5884 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.621e-05/0.366, allocations: 3.875 kB / 0.5884 GB, free: 23.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.615e-05/0.366, allocations: 170.9 kB / 0.5885 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.366, allocations: 1.188 kB / 0.5885 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-06/0.3661, allocations: 1.906 kB / 0.5885 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001094/0.3662, allocations: 50.64 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.281e-06/0.3662, allocations: 0.625 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.3662, allocations: 1.531 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3662, allocations: 1.344 kB / 0.5886 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.811e-05/0.3663, allocations: 27.27 kB / 0.5886 GB, free: 23.23 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000225/0.3665, allocations: 253.1 kB / 0.5888 GB, free: 22.95 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.097e-05/0.3666, allocations: 28.3 kB / 0.5889 GB, free: 22.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.016e-05/0.3667, allocations: 19 kB / 0.5889 GB, free: 22.91 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006502/0.3673, allocations: 474.9 kB / 0.5893 GB, free: 22.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.591e-05/0.3673, allocations: 44.88 kB / 0.5894 GB, free: 22.35 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3673, allocations: 0 / 0.5894 GB, free: 22.35 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002121/0.3676, allocations: 60.45 kB / 0.5894 GB, free: 22.31 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.02e-05/0.3676, allocations: 52.94 kB / 0.5895 GB, free: 22.25 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.628e-05/0.3677, allocations: 116.3 kB / 0.5896 GB, free: 22.13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.975e-06/0.3677, allocations: 27.17 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.301e-05/0.3677, allocations: 82.3 kB / 0.5897 GB, free: 22.02 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.347e-05/0.3677, allocations: 7.906 kB / 0.5897 GB, free: 22.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.3677, allocations: 13.25 kB / 0.5897 GB, free: 22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.628e-05/0.3678, allocations: 317.3 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.929e-05/0.3678, allocations: 9.156 kB / 0.59 GB, free: 21.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.146e-05/0.3679, allocations: 11.17 kB / 0.59 GB, free: 21.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.754e-05/0.3679, allocations: 34.78 kB / 0.5901 GB, free: 21.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3679, allocations: 0 / 0.5901 GB, free: 21.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001026/0.3681, allocations: 63.47 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3681, allocations: 4.875 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.3681, allocations: 2.938 kB / 0.5902 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/0.3681, allocations: 0 / 0.5902 GB, free: 21.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.318e-05/0.3682, allocations: 7.984 kB / 0.5902 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.3682, allocations: 1.5 kB / 0.5902 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.173e-05/0.3682, allocations: 6.125 kB / 0.5902 GB, free: 21.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.3682, allocations: 0.9062 kB / 0.5902 GB, free: 21.59 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.412e-05/0.3683, allocations: 114.8 kB / 0.5903 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.3683, allocations: 1.406 kB / 0.5903 GB, free: 21.47 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000136/0.3684, allocations: 65.67 kB / 0.5903 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.3685, allocations: 3.875 kB / 0.5903 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3685, allocations: 0 / 0.5903 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.3685, allocations: 0 / 0.5903 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3686, allocations: 164 kB / 0.5905 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3686, allocations: 1.125 kB / 0.5905 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.206e-05/0.3686, allocations: 3.688 kB / 0.5905 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3687, allocations: 5.312 kB / 0.5905 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.973e-06/0.3687, allocations: 5.859 kB / 0.5905 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.3687, allocations: 0 / 0.5905 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3687, allocations: 1.281 kB / 0.5905 GB, free: 21.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001209/0.3688, allocations: 158.4 kB / 0.5907 GB, free: 21.06 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.532e-05/0.3688, allocations: 77.67 kB / 0.5907 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.131e-05/0.3688, allocations: 1.156 kB / 0.5907 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.164e-05/0.3689, allocations: 7.359 kB / 0.5907 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.3689, allocations: 2.531 kB / 0.5908 GB, free: 20.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3689, allocations: 5.406 kB / 0.5908 GB, free: 20.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.614e-05/0.369, allocations: 89.36 kB / 0.5908 GB, free: 20.88 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.369, allocations: 0 / 0.5908 GB, free: 20.88 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002376/0.3692, allocations: 11.75 kB / 0.5909 GB, free: 20.88 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.0001251/0.3694, allocations: 117.1 kB / 0.591 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001322/0.3695, allocations: 23.92 kB / 0.591 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3695, allocations: 0 / 0.591 GB, free: 20.77 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.187e-05/0.3696, allocations: 11.44 kB / 0.591 GB, free: 20.76 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/0.3698, allocations: 10.47 kB / 0.591 GB, free: 20.75 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002347/0.37, allocations: 130.7 kB / 0.5911 GB, free: 20.62 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.147e-05/0.3701, allocations: 0.6768 MB / 0.5918 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.032e-05/0.3701, allocations: 4 kB / 0.5918 GB, free: 19.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.54e-05/0.3701, allocations: 9 kB / 0.5918 GB, free: 19.9 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3701, allocations: 0 / 0.5918 GB, free: 19.9 MB / 446.1 MB Notification: Performance of Templates: time 0.002321/0.3725, allocations: 0.6753 MB / 0.5925 GB, free: 19.27 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)