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.001324/0.001325, allocations: 100.8 kB / 16.35 MB, free: 5.828 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.001508/0.001508, allocations: 197.7 kB / 17.3 MB, free: 5.484 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.3/1.3, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8031/0.8031, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001099/0.001099, allocations: 67.89 kB / 0.5067 GB, free: 7.664 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3714, allocations: 80.9 MB / 0.5858 GB, free: 25.57 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.003233/0.3746, allocations: 1.453 MB / 0.5872 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.3758, allocations: 0.5648 MB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.869e-05/0.3758, allocations: 2.062 kB / 0.5877 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.12e-05/0.3759, allocations: 7.922 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.241e-05/0.3759, allocations: 5.75 kB / 0.5877 GB, free: 23.99 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.3762, allocations: 51.39 kB / 0.5878 GB, free: 23.95 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.359e-05/0.3763, allocations: 24.64 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.3764, allocations: 7.188 kB / 0.5878 GB, free: 23.94 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.72e-05/0.3765, allocations: 26.03 kB / 0.5878 GB, free: 23.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.72e-05/0.3766, allocations: 12.52 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.3766, allocations: 2.875 kB / 0.5879 GB, free: 23.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.3767, allocations: 51.03 kB / 0.5879 GB, free: 23.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.3768, allocations: 8.953 kB / 0.5879 GB, free: 23.88 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.788e-05/0.3768, allocations: 14.97 kB / 0.5879 GB, free: 23.87 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001463/0.3769, allocations: 63.23 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.377, allocations: 0 / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.377, allocations: 1.812 kB / 0.588 GB, free: 23.83 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.377, allocations: 0 / 0.588 GB, free: 23.83 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.0003631/0.3773, allocations: 353.8 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.3774, allocations: 10.2 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.4e-05/0.3774, allocations: 4.188 kB / 0.5883 GB, free: 23.45 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.294e-05/0.3775, allocations: 173.2 kB / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.3775, allocations: 0.9062 kB / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.3776, allocations: 1.875 kB / 0.5885 GB, free: 23.25 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.3777, allocations: 54.33 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.3777, allocations: 2.188 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.466e-06/0.3777, allocations: 0 / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3777, allocations: 1.469 kB / 0.5886 GB, free: 23.2 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.965e-05/0.3778, allocations: 20.27 kB / 0.5886 GB, free: 23.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.3781, allocations: 255.6 kB / 0.5888 GB, free: 22.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.581e-05/0.3782, allocations: 29.42 kB / 0.5889 GB, free: 22.88 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.3782, allocations: 23.55 kB / 0.5889 GB, free: 22.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000673/0.3789, allocations: 475.3 kB / 0.5893 GB, free: 22.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.3789, allocations: 35.92 kB / 0.5894 GB, free: 22.31 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3789, allocations: 0 / 0.5894 GB, free: 22.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002217/0.3792, allocations: 60.44 kB / 0.5894 GB, free: 22.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.399e-05/0.3792, allocations: 53.53 kB / 0.5895 GB, free: 22.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.157e-05/0.3793, allocations: 108.8 kB / 0.5896 GB, free: 22.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.225e-06/0.3793, allocations: 29.64 kB / 0.5896 GB, free: 22.06 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.3793, allocations: 94.03 kB / 0.5897 GB, free: 21.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.3793, allocations: 5.375 kB / 0.5897 GB, free: 21.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.582e-05/0.3794, allocations: 13.09 kB / 0.5897 GB, free: 21.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.66e-05/0.3794, allocations: 316.3 kB / 0.59 GB, free: 21.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.042e-05/0.3795, allocations: 14.2 kB / 0.59 GB, free: 21.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.972e-05/0.3795, allocations: 11 kB / 0.59 GB, free: 21.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.3796, allocations: 28.97 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3796, allocations: 1.594 kB / 0.5901 GB, free: 21.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001/0.3797, allocations: 59.48 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.3797, allocations: 4.562 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.3797, allocations: 2.75 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.3797, allocations: 0 / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.647e-05/0.3798, allocations: 7.688 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3798, allocations: 2.188 kB / 0.5901 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.549e-05/0.3799, allocations: 9.672 kB / 0.5902 GB, free: 21.54 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.3799, allocations: 4.875 kB / 0.5902 GB, free: 21.54 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 5.524e-05/0.3799, allocations: 119.3 kB / 0.5903 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.38, allocations: 2.594 kB / 0.5903 GB, free: 21.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001487/0.3801, allocations: 57.08 kB / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3801, allocations: 1.594 kB / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3801, allocations: 1.344 kB / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.3801, allocations: 0 / 0.5903 GB, free: 21.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000115/0.3803, allocations: 167.6 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3803, allocations: 0.5312 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.844e-05/0.3803, allocations: 5.531 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.3803, allocations: 1.562 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.3803, allocations: 1.562 kB / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3803, allocations: 0 / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3803, allocations: 0 / 0.5905 GB, free: 21.17 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001302/0.3805, allocations: 165 kB / 0.5907 GB, free: 21.01 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.3805, allocations: 78.2 kB / 0.5907 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.3805, allocations: 1.094 kB / 0.5907 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.843e-05/0.3806, allocations: 2.156 kB / 0.5907 GB, free: 20.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.045e-05/0.3806, allocations: 5.109 kB / 0.5907 GB, free: 20.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.3806, allocations: 1.062 kB / 0.5907 GB, free: 20.91 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.081e-05/0.3807, allocations: 90.86 kB / 0.5908 GB, free: 20.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3807, allocations: 5.031 kB / 0.5908 GB, free: 20.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.3809, allocations: 15.02 kB / 0.5908 GB, free: 20.82 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.0001449/0.3811, allocations: 111.9 kB / 0.591 GB, free: 20.73 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001339/0.3812, allocations: 31.59 kB / 0.591 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3812, allocations: 0.5625 kB / 0.591 GB, free: 20.71 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.151e-05/0.3813, allocations: 18 kB / 0.591 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002024/0.3815, allocations: 6.703 kB / 0.591 GB, free: 20.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.3817, allocations: 117.8 kB / 0.5911 GB, free: 20.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001075/0.3819, allocations: 0.6805 MB / 0.5918 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.015e-05/0.3819, allocations: 1.188 kB / 0.5918 GB, free: 19.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.3819, allocations: 17.23 kB / 0.5918 GB, free: 19.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3819, allocations: 1.031 kB / 0.5918 GB, free: 19.87 MB / 446.1 MB Notification: Performance of Templates: time 0.002465/0.3844, allocations: 0.6675 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 cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)