Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.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.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001459/0.001459, allocations: 174.8 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.97/0.97, allocations: 130.5 MB / 143.8 MB, free: 13.59 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.774/1.774, allocations: 221.3 MB / 396.8 MB, free: 9.16 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.001103/0.001103, allocations: 90.56 kB / 479 MB, free: 10.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.379e-05, allocations: 3.625 kB / 0.5551 GB, free: 86.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1511, allocations: 81.58 MB / 0.6347 GB, free: 12.06 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5483/0.6995, allocations: 111.7 MB / 0.7439 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/0.6997, allocations: 76.44 kB / 0.7439 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004063/0.7038, allocations: 1.427 MB / 0.7453 GB, free: 28 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7038, allocations: 3.875 kB / 0.7453 GB, free: 28 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.7038, allocations: 0 / 0.7453 GB, free: 28 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002899/0.7041, allocations: 349.6 kB / 0.7457 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.7042, allocations: 11.66 kB / 0.7457 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.779e-05/0.7042, allocations: 4 kB / 0.7457 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.7044, allocations: 170.7 kB / 0.7459 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.7044, allocations: 2.531 kB / 0.7459 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.7044, allocations: 0 / 0.7459 GB, free: 27.43 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.538e-05/0.7045, allocations: 40.03 kB / 0.7459 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.7045, allocations: 0 / 0.7459 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.7045, allocations: 0 / 0.7459 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.7045, allocations: 0 / 0.7459 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.14e-05/0.7046, allocations: 11.06 kB / 0.7459 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00033/0.7049, allocations: 272.4 kB / 0.7462 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 5.099e-05/0.705, allocations: 25.61 kB / 0.7462 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.322e-05/0.705, allocations: 11.89 kB / 0.7462 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006192/0.7056, allocations: 464.3 kB / 0.7466 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.7057, allocations: 36.88 kB / 0.7467 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.133e-06/0.7057, allocations: 0 / 0.7467 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0001455/0.7058, allocations: 43.73 kB / 0.7467 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/0.7059, allocations: 62.03 kB / 0.7468 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.048e-05/0.7059, allocations: 101.3 kB / 0.7469 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.324e-05/0.706, allocations: 25.7 kB / 0.7469 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.152e-05/0.706, allocations: 94.52 kB / 0.747 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.504e-05/0.706, allocations: 3.906 kB / 0.747 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.7061, allocations: 0 / 0.747 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.7062, allocations: 314.7 kB / 0.7473 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.554e-05/0.7062, allocations: 3.875 kB / 0.7473 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.7062, allocations: 11.62 kB / 0.7473 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.95e-05/0.7062, allocations: 6.875 kB / 0.7473 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.7062, allocations: 0 / 0.7473 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.747e-05/0.7063, allocations: 48.12 kB / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.7063, allocations: 4.969 kB / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.7063, allocations: 0 / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.7063, allocations: 3.812 kB / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.816e-05/0.7064, allocations: 3.844 kB / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.7064, allocations: 320 / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.7065, allocations: 10.23 kB / 0.7474 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.7065, allocations: 3.953 kB / 0.7474 GB, free: 25.9 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: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.371e-05/0.7066, allocations: 112.3 kB / 0.7475 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.293e-05/0.7066, allocations: 7.75 kB / 0.7475 GB, free: 25.79 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.7067, allocations: 49.5 kB / 0.7476 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.7067, allocations: 0 / 0.7476 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.7067, allocations: 0 / 0.7476 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7067, allocations: 0 / 0.7476 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.7069, allocations: 176.7 kB / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.7069, allocations: 0.8125 kB / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.7069, allocations: 6.094 kB / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.7069, allocations: 0 / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.7069, allocations: 3.844 kB / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.707, allocations: 3.984 kB / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.707, allocations: 0.6875 kB / 0.7477 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.7071, allocations: 149.7 kB / 0.7479 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.7071, allocations: 81.02 kB / 0.748 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.364e-05/0.7071, allocations: 6.172 kB / 0.748 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.702e-05/0.7072, allocations: 0 / 0.748 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.7073, allocations: 6.797 kB / 0.748 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.7073, allocations: 4 kB / 0.748 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.535e-05/0.7073, allocations: 86.84 kB / 0.7481 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7073, allocations: 3.938 kB / 0.7481 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002043/0.7075, allocations: 23.41 kB / 0.7481 GB, free: 25.21 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: 0 () * Number of discrete 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 (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.0001627/0.7077, allocations: 126.5 kB / 0.7482 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.682e-05/0.7078, allocations: 14.88 kB / 0.7482 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.7078, allocations: 0 / 0.7482 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.797e-05/0.7078, allocations: 7.625 kB / 0.7482 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.7079, allocations: 7.641 kB / 0.7482 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001863/0.7081, allocations: 65.67 kB / 0.7483 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.7084, allocations: 0.6862 MB / 0.749 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.726e-05/0.7084, allocations: 3.938 kB / 0.749 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.866e-05/0.7085, allocations: 7.438 kB / 0.749 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.7085, allocations: 0 / 0.749 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.002223/0.7107, allocations: 0.5927 MB / 0.7496 GB, free: 24.27 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)