Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.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.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") translateModel(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00994/0.00994, allocations: 169 kB / 16.26 MB, free: 6.652 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.425/1.425, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7759/0.7759, allocations: 132.3 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005933/0.0005935, allocations: 12.23 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4674/0.468, allocations: 81.57 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.FallingFactorial): time 0.0008947/0.4689, allocations: 321.7 kB / 0.584 GB, free: 3.855 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003583/0.4693, allocations: 54.8 kB / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.319e-05/0.4693, allocations: 0 / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.4694, allocations: 1.062 kB / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.761e-06/0.4694, allocations: 1.156 kB / 0.584 GB, free: 3.82 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000276/0.4697, allocations: 19.39 kB / 0.5841 GB, free: 3.809 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 9.91e-05/0.4698, allocations: 25.8 kB / 0.5841 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.883e-05/0.4698, allocations: 3.25 kB / 0.5841 GB, free: 3.805 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.55e-05/0.4699, allocations: 10.47 kB / 0.5841 GB, free: 3.801 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.421e-05/0.4699, allocations: 12.86 kB / 0.5841 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.4699, allocations: 0.6875 kB / 0.5841 GB, free: 3.797 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.8e-05/0.47, allocations: 18.05 kB / 0.5841 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.383e-05/0.4701, allocations: 18.61 kB / 0.5841 GB, free: 3.781 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.231e-05/0.4701, allocations: 35.33 kB / 0.5842 GB, free: 3.746 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.4702, allocations: 40.25 kB / 0.5842 GB, free: 3.727 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.4702, allocations: 0.5938 kB / 0.5842 GB, free: 3.727 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4702, allocations: 1.062 kB / 0.5842 GB, free: 3.727 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.587e-06/0.4702, allocations: 1.125 kB / 0.5842 GB, free: 3.727 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0002568/0.4705, allocations: 329.4 kB / 0.5845 GB, free: 3.367 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4706, allocations: 9.438 kB / 0.5845 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.4706, allocations: 3 kB / 0.5845 GB, free: 3.367 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.991e-05/0.4707, allocations: 164.7 kB / 0.5847 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.356e-05/0.4707, allocations: 7.094 kB / 0.5847 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.4707, allocations: 3.031 kB / 0.5847 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.4709, allocations: 70.12 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.4709, allocations: 1.25 kB / 0.5848 GB, free: 3.121 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/0.4709, allocations: 7.938 kB / 0.5848 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.4709, allocations: 1.656 kB / 0.5848 GB, free: 3.113 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.4711, allocations: 101.2 kB / 0.5849 GB, free: 3.102 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001491/0.4712, allocations: 172.3 kB / 0.585 GB, free: 2.902 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.4714, allocations: 72 kB / 0.5851 GB, free: 2.867 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.431e-05/0.4714, allocations: 34.88 kB / 0.5852 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.4717, allocations: 399.8 kB / 0.5855 GB, free: 2.379 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.768e-05/0.4717, allocations: 40.45 kB / 0.5856 GB, free: 2.332 MB / 430.1 MB Notification: Performance of pre-optimization done (n=11): time 1.273e-06/0.4717, allocations: 0 / 0.5856 GB, free: 2.332 MB / 430.1 MB Notification: Performance of matching and sorting (n=11): time 0.0002464/0.472, allocations: 118.9 kB / 0.5857 GB, free: 2.273 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.472, allocations: 53.38 kB / 0.5857 GB, free: 2.211 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.967e-05/0.472, allocations: 96.22 kB / 0.5858 GB, free: 2.109 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.908e-06/0.472, allocations: 27.05 kB / 0.5859 GB, free: 2.078 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.124e-05/0.4721, allocations: 84.83 kB / 0.5859 GB, free: 1.992 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.4721, allocations: 20.48 kB / 0.586 GB, free: 1.977 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.785e-05/0.4721, allocations: 20.3 kB / 0.586 GB, free: 1.957 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.05e-05/0.4722, allocations: 322.6 kB / 0.5863 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.106e-05/0.4722, allocations: 20.22 kB / 0.5863 GB, free: 1.633 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.4723, allocations: 28.38 kB / 0.5863 GB, free: 1.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.691e-05/0.4724, allocations: 59.38 kB / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.4724, allocations: 0 / 0.5864 GB, free: 1.602 MB / 430.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001273/0.4725, allocations: 89.39 kB / 0.5865 GB, free: 1.555 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.4725, allocations: 5.312 kB / 0.5865 GB, free: 1.555 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.4725, allocations: 3.938 kB / 0.5865 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.4726, allocations: 1.891 kB / 0.5865 GB, free: 1.551 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.4727, allocations: 26.42 kB / 0.5865 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.4727, allocations: 0 / 0.5865 GB, free: 1.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.086e-05/0.4727, allocations: 13.22 kB / 0.5865 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.708e-06/0.4727, allocations: 3.953 kB / 0.5865 GB, free: 1.531 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: 11 (n,falFac[10],falFac[9],falFac[8],falFac[7],falFac[6],falFac[5],falFac[4],falFac[3],falFac[2],falFac[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 0.0001155/0.4728, allocations: 121.9 kB / 0.5866 GB, free: 1.414 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.4729, allocations: 6.562 kB / 0.5866 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002454/0.4731, allocations: 134.8 kB / 0.5868 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.4731, allocations: 5.344 kB / 0.5868 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/0.4731, allocations: 1.219 kB / 0.5868 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.4731, allocations: 1.438 kB / 0.5868 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.4733, allocations: 172.8 kB / 0.5869 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.4733, allocations: 0.9375 kB / 0.5869 GB, free: 1.129 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.4734, allocations: 21.33 kB / 0.587 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.4734, allocations: 5.25 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.4734, allocations: 2.109 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.4734, allocations: 1.375 kB / 0.587 GB, free: 1.121 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.4734, allocations: 5.031 kB / 0.587 GB, free: 1.117 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.4736, allocations: 121.1 kB / 0.5871 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.312e-05/0.4736, allocations: 87.28 kB / 0.5872 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.4736, allocations: 4.812 kB / 0.5872 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.545e-05/0.4736, allocations: 1.375 kB / 0.5872 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.047e-05/0.4737, allocations: 8.047 kB / 0.5872 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-06/0.4737, allocations: 3.5 kB / 0.5872 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.814e-05/0.4737, allocations: 83.28 kB / 0.5873 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4737, allocations: 0.9688 kB / 0.5873 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001985/0.4739, allocations: 10.75 kB / 0.5873 GB, free: 0.8438 MB / 430.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: 11 (falFac[1],falFac[2],falFac[3],falFac[4],falFac[5],falFac[6],falFac[7],falFac[8],falFac[9],falFac[10],n) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.000204/0.4741, allocations: 117.5 kB / 0.5874 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000174/0.4743, allocations: 67.14 kB / 0.5875 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.4743, allocations: 0 / 0.5875 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.398e-05/0.4744, allocations: 36.95 kB / 0.5875 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001378/0.4745, allocations: 9.938 kB / 0.5875 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002644/0.4748, allocations: 155.7 kB / 0.5877 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.475, allocations: 0.6866 MB / 0.5883 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.25e-05/0.4751, allocations: 34.86 kB / 0.5884 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.695e-05/0.4751, allocations: 17.8 kB / 0.5884 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4751, allocations: 0 / 0.5884 GB, free: 15.87 MB / 446.1 MB Notification: Performance of Templates: time 0.003396/0.4785, allocations: 0.5697 MB / 0.5889 GB, free: 15.79 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.FallingFactorial.pipe 2>&1)