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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.00105, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6854/0.6854, allocations: 130.6 MB / 143.8 MB, free: 13.57 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 221.3 MB / 396.8 MB, free: 9.164 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008916/0.0008915, allocations: 94.84 kB / 478.9 MB, free: 10.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 2.96e-05/2.971e-05, allocations: 5.625 kB / 0.5551 GB, free: 86.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 81.58 MB / 0.6348 GB, free: 12.04 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5494/0.701, allocations: 110.3 MB / 0.7425 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.7012, allocations: 75.75 kB / 0.7426 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.002356/0.7036, allocations: 0.8172 MB / 0.7434 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.7036, allocations: 0.5312 kB / 0.7434 GB, free: 28.04 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.397e-06/0.7037, allocations: 4 kB / 0.7434 GB, free: 28.04 MB / 0.5105 GB 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.000306/0.704, allocations: 335.8 kB / 0.7437 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.704, allocations: 7.688 kB / 0.7437 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.7041, allocations: 7.781 kB / 0.7437 GB, free: 27.69 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.7042, allocations: 168 kB / 0.7439 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7042, allocations: 3.875 kB / 0.7439 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.7043, allocations: 0 / 0.7439 GB, free: 27.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.7044, allocations: 72.42 kB / 0.7439 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.7044, allocations: 3.984 kB / 0.7439 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.7045, allocations: 4 kB / 0.7439 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.7045, allocations: 3.844 kB / 0.744 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.7046, allocations: 97.56 kB / 0.744 GB, free: 27.44 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.7048, allocations: 172.1 kB / 0.7442 GB, free: 27.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 9.323e-05/0.7049, allocations: 72.88 kB / 0.7443 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.088e-05/0.705, allocations: 33.66 kB / 0.7443 GB, free: 27.21 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003171/0.7053, allocations: 401.7 kB / 0.7447 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.7053, allocations: 46.95 kB / 0.7447 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=11): time 1.473e-06/0.7053, allocations: 0 / 0.7447 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.0001958/0.7055, allocations: 90.03 kB / 0.7448 GB, free: 26.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.7056, allocations: 52.77 kB / 0.7449 GB, free: 26.6 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.846e-05/0.7056, allocations: 93.58 kB / 0.745 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.7056, allocations: 25.7 kB / 0.745 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.642e-05/0.7057, allocations: 80.33 kB / 0.7451 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/0.7057, allocations: 28.2 kB / 0.7451 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-06/0.7057, allocations: 0 / 0.7451 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.7059, allocations: 319.5 kB / 0.7454 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.226e-05/0.7059, allocations: 20.38 kB / 0.7454 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.836e-05/0.7059, allocations: 17 kB / 0.7454 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.232e-05/0.706, allocations: 27.31 kB / 0.7455 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.706, allocations: 7.891 kB / 0.7455 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001329/0.7061, allocations: 91.52 kB / 0.7456 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.189e-05/0.7062, allocations: 4.812 kB / 0.7456 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.7062, allocations: 1.406 kB / 0.7456 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.7062, allocations: 0 / 0.7456 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001039/0.7063, allocations: 18.5 kB / 0.7456 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.7063, allocations: 4 kB / 0.7456 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.359e-05/0.7064, allocations: 10.78 kB / 0.7456 GB, free: 26.01 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.107e-06/0.7064, allocations: 0 / 0.7456 GB, free: 26.01 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.462e-05/0.7065, allocations: 126.2 kB / 0.7457 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.239e-05/0.7065, allocations: 5.172 kB / 0.7457 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.7067, allocations: 130.2 kB / 0.7458 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.7067, allocations: 3.875 kB / 0.7458 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.7067, allocations: 0 / 0.7458 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.7067, allocations: 0 / 0.7458 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001159/0.7068, allocations: 170.5 kB / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.7069, allocations: 1.781 kB / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.787e-05/0.7069, allocations: 24.97 kB / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.7069, allocations: 0 / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.091e-05/0.707, allocations: 5.188 kB / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.707, allocations: 0 / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.707, allocations: 0 / 0.746 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001376/0.7071, allocations: 122 kB / 0.7462 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.536e-05/0.7072, allocations: 82.83 kB / 0.7462 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.283e-05/0.7072, allocations: 7.922 kB / 0.7462 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.606e-05/0.7072, allocations: 3.5 kB / 0.7462 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.7073, allocations: 7.078 kB / 0.7462 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.502e-06/0.7073, allocations: 7.75 kB / 0.7463 GB, free: 25.46 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 2.791e-05/0.7073, allocations: 75.28 kB / 0.7463 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7073, allocations: 4 kB / 0.7463 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0001927/0.7075, allocations: 24.55 kB / 0.7464 GB, free: 25.38 MB / 0.5105 GB 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 () * 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 (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.0001786/0.7077, allocations: 122.3 kB / 0.7465 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001395/0.7078, allocations: 56.09 kB / 0.7465 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7079, allocations: 0 / 0.7465 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.932e-05/0.7079, allocations: 37.8 kB / 0.7466 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.378e-05/0.708, allocations: 3.812 kB / 0.7466 GB, free: 25.27 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002219/0.7082, allocations: 103 kB / 0.7467 GB, free: 25.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002654/0.7085, allocations: 0.6868 MB / 0.7473 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.128e-05/0.7086, allocations: 36.39 kB / 0.7474 GB, free: 24.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.7086, allocations: 12.77 kB / 0.7474 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of SimCode: time 5.21e-07/0.7086, allocations: 0 / 0.7474 GB, free: 24.49 MB / 0.5105 GB Notification: Performance of Templates: time 0.002293/0.7109, allocations: 0.572 MB / 0.7479 GB, free: 24.42 MB / 0.5105 GB 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)