Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008227/0.0008227, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009205/0.0009206, allocations: 172.7 kB / 15.95 MB, free: 208 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.174/1.174, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6714/0.6714, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000266/0.0002661, allocations: 9.719 kB / 0.5034 GB, free: 4.273 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3258/0.3261, allocations: 81.58 MB / 0.5831 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.FallingFactorial): time 0.001208/0.3273, allocations: 1.242 MB / 0.5843 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002605/0.3276, allocations: 129.4 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.733e-05/0.3276, allocations: 1.031 kB / 0.5844 GB, free: 2.996 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.183e-05/0.3276, allocations: 4.734 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.99e-05/0.3277, allocations: 0.7812 kB / 0.5844 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.3279, allocations: 26.38 kB / 0.5844 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.409e-05/0.3279, allocations: 32.19 kB / 0.5845 GB, free: 2.965 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.765e-05/0.328, allocations: 11.73 kB / 0.5845 GB, free: 2.961 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.364e-05/0.328, allocations: 11.03 kB / 0.5845 GB, free: 2.957 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.416e-05/0.3281, allocations: 13.73 kB / 0.5845 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.3281, allocations: 1.156 kB / 0.5845 GB, free: 2.953 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.43e-05/0.3282, allocations: 16.08 kB / 0.5845 GB, free: 2.949 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.058e-05/0.3282, allocations: 10.88 kB / 0.5845 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.487e-05/0.3282, allocations: 33.92 kB / 0.5846 GB, free: 2.906 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.104e-05/0.3283, allocations: 29.97 kB / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.3283, allocations: 0 / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3283, allocations: 0 / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.716e-06/0.3283, allocations: 0 / 0.5846 GB, free: 2.898 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003245/0.3286, allocations: 352.2 kB / 0.5849 GB, free: 2.539 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.935e-05/0.3287, allocations: 9.844 kB / 0.5849 GB, free: 2.539 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.705e-05/0.3287, allocations: 6.156 kB / 0.585 GB, free: 2.535 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.3288, allocations: 175.1 kB / 0.5851 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.3288, allocations: 1.031 kB / 0.5851 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.035e-05/0.3288, allocations: 6.188 kB / 0.5851 GB, free: 2.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.329, allocations: 70.91 kB / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.329, allocations: 0 / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.329, allocations: 0 / 0.5852 GB, free: 2.281 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.329, allocations: 6 kB / 0.5852 GB, free: 2.277 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001701/0.3292, allocations: 53.59 kB / 0.5852 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.3295, allocations: 284.5 kB / 0.5855 GB, free: 1.977 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002529/0.3297, allocations: 65.31 kB / 0.5856 GB, free: 1.941 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.666e-05/0.3298, allocations: 39.2 kB / 0.5856 GB, free: 1.922 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.33, allocations: 398 kB / 0.586 GB, free: 1.453 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.477e-05/0.33, allocations: 32.53 kB / 0.586 GB, free: 1.414 MB / 430.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.33, allocations: 0 / 0.586 GB, free: 1.414 MB / 430.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003287/0.3303, allocations: 123 kB / 0.5861 GB, free: 1.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.818e-05/0.3304, allocations: 53.08 kB / 0.5862 GB, free: 1.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.817e-05/0.3304, allocations: 106.4 kB / 0.5863 GB, free: 1.191 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/0.3304, allocations: 26.64 kB / 0.5863 GB, free: 1.16 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.296e-05/0.3305, allocations: 87.38 kB / 0.5864 GB, free: 1.074 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.093e-05/0.3305, allocations: 9.344 kB / 0.5864 GB, free: 1.066 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.198e-06/0.3305, allocations: 1.219 kB / 0.5864 GB, free: 1.066 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.922e-05/0.3305, allocations: 316.3 kB / 0.5867 GB, free: 0.75 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.592e-05/0.3306, allocations: 22.14 kB / 0.5867 GB, free: 0.75 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.156e-05/0.3307, allocations: 28.5 kB / 0.5868 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.909e-05/0.3308, allocations: 29.48 kB / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3308, allocations: 1.125 kB / 0.5868 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001846/0.331, allocations: 95.61 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.739e-06/0.331, allocations: 5.5 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-06/0.331, allocations: 0 / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.003e-05/0.331, allocations: 0.5625 kB / 0.5869 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.006e-05/0.3311, allocations: 16.98 kB / 0.5869 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.3311, allocations: 2 kB / 0.5869 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.01e-05/0.3312, allocations: 12.33 kB / 0.5869 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.3312, allocations: 1.453 kB / 0.5869 GB, free: 0.6758 MB / 430.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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 4.43e-05/0.3312, allocations: 121.7 kB / 0.587 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.3312, allocations: 1.062 kB / 0.587 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002201/0.3315, allocations: 93.44 kB / 0.5871 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3315, allocations: 1.797 kB / 0.5871 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3315, allocations: 7.953 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3315, allocations: 0.9688 kB / 0.5871 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001078/0.3316, allocations: 166 kB / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3316, allocations: 0 / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.3317, allocations: 13.48 kB / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.3317, allocations: 1.438 kB / 0.5873 GB, free: 300 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.3317, allocations: 4.688 kB / 0.5873 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.3317, allocations: 1.031 kB / 0.5873 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.3317, allocations: 0 / 0.5873 GB, free: 296 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002033/0.3319, allocations: 187.6 kB / 0.5875 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.663e-05/0.332, allocations: 78.98 kB / 0.5876 GB, free: 48 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/0.332, allocations: 5.906 kB / 0.5876 GB, free: 44 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.514e-05/0.3321, allocations: 12.53 kB / 0.5876 GB, free: 40 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3321, allocations: 9.172 kB / 0.5876 GB, free: 36 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.788e-06/0.3321, allocations: 1.656 kB / 0.5876 GB, free: 36 kB / 430.1 MB Notification: Performance of sorting global known variables: time 4.816e-05/0.3322, allocations: 88 kB / 0.5877 GB, free: 15.96 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3322, allocations: 0 / 0.5877 GB, free: 15.96 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002088/0.3324, allocations: 12.23 kB / 0.5877 GB, free: 15.95 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001262/0.3325, allocations: 103.8 kB / 0.5878 GB, free: 15.86 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002059/0.3327, allocations: 59.88 kB / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.3327, allocations: 0 / 0.5879 GB, free: 15.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.838e-05/0.3328, allocations: 30.34 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002263/0.3331, allocations: 6.078 kB / 0.5879 GB, free: 15.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000245/0.3333, allocations: 134.5 kB / 0.588 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.3335, allocations: 0.68 MB / 0.5887 GB, free: 15.02 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.34e-05/0.3335, allocations: 11.92 kB / 0.5887 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.3336, allocations: 11.39 kB / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3336, allocations: 0 / 0.5887 GB, free: 15 MB / 446.1 MB Notification: Performance of Templates: time 0.002456/0.336, allocations: 0.6318 MB / 0.5893 GB, free: 14.93 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)