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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004913/0.004914, allocations: 179.3 kB / 7.453 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7464/0.7464, allocations: 130.6 MB / 138.5 MB, free: 2.172 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.538/1.538, allocations: 221.3 MB / 391.4 MB, free: 13.06 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.0008864/0.0008864, allocations: 105.3 kB / 473.4 MB, free: 14.41 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 8.746e-06/8.866e-06, allocations: 3.938 kB / 0.5479 GB, free: 89 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1336/0.1336, allocations: 81.59 MB / 0.6276 GB, free: 18.2 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5696, allocations: 111 MB / 0.736 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002022/0.5699, allocations: 69.72 kB / 0.736 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003878/0.5738, allocations: 1.116 MB / 0.7371 GB, free: 11.36 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.732e-06/0.5738, allocations: 0 / 0.7371 GB, free: 11.36 MB / 0.4948 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.0003343/0.5741, allocations: 355.4 kB / 0.7375 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.392e-05/0.5742, allocations: 7.688 kB / 0.7375 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.142e-05/0.5742, allocations: 3.844 kB / 0.7375 GB, free: 26.99 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.5744, allocations: 167.2 kB / 0.7376 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.5744, allocations: 3.812 kB / 0.7377 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.5744, allocations: 0 / 0.7377 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.773e-05/0.5745, allocations: 11.88 kB / 0.7377 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.268e-05/0.5745, allocations: 36.88 kB / 0.7377 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.5746, allocations: 0 / 0.7377 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.5746, allocations: 0 / 0.7377 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.5746, allocations: 4 kB / 0.7377 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003065/0.5749, allocations: 238.2 kB / 0.7379 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.575, allocations: 25.89 kB / 0.738 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.622e-05/0.575, allocations: 8.641 kB / 0.738 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007105/0.5757, allocations: 479.4 kB / 0.7384 GB, free: 26 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.103e-05/0.5758, allocations: 35.08 kB / 0.7385 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.5758, allocations: 0 / 0.7385 GB, free: 25.96 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003466/0.5761, allocations: 85.66 kB / 0.7385 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.5762, allocations: 51.41 kB / 0.7386 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.519e-05/0.5762, allocations: 102.2 kB / 0.7387 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.5762, allocations: 29.55 kB / 0.7387 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.826e-05/0.5763, allocations: 85.73 kB / 0.7388 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.5763, allocations: 3.938 kB / 0.7388 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-06/0.5763, allocations: 7.938 kB / 0.7388 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.713e-05/0.5764, allocations: 312.3 kB / 0.7391 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.5764, allocations: 6.812 kB / 0.7391 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.222e-05/0.5765, allocations: 7.5 kB / 0.7391 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.5767, allocations: 47.8 kB / 0.7392 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-06/0.5767, allocations: 0 / 0.7392 GB, free: 25.33 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002389/0.5769, allocations: 87.02 kB / 0.7392 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.5769, allocations: 11.66 kB / 0.7393 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5769, allocations: 0.9375 kB / 0.7393 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.577, allocations: 0 / 0.7393 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.614e-05/0.577, allocations: 7.312 kB / 0.7393 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5771, allocations: 0 / 0.7393 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.707e-05/0.5771, allocations: 5.516 kB / 0.7393 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.5771, allocations: 0 / 0.7393 GB, free: 25.29 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 8.996e-05/0.5772, allocations: 116.6 kB / 0.7394 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.584e-05/0.5772, allocations: 1.641 kB / 0.7394 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002847/0.5775, allocations: 88.39 kB / 0.7395 GB, free: 25.14 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5775, allocations: 5.156 kB / 0.7395 GB, free: 25.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.5776, allocations: 7.844 kB / 0.7395 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.5776, allocations: 3.875 kB / 0.7395 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.5777, allocations: 138.6 kB / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.5777, allocations: 0 / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.934e-05/0.5777, allocations: 12.98 kB / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5778, allocations: 0 / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.5778, allocations: 0 / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5778, allocations: 0 / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.5778, allocations: 0 / 0.7396 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002685/0.5781, allocations: 187.9 kB / 0.7398 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.244e-05/0.5781, allocations: 88.84 kB / 0.7399 GB, free: 24.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.521e-05/0.5781, allocations: 5.719 kB / 0.7399 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.678e-05/0.5782, allocations: 3.844 kB / 0.7399 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.432e-05/0.5782, allocations: 1.5 kB / 0.7399 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.5782, allocations: 0 / 0.7399 GB, free: 24.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.745e-05/0.5783, allocations: 87.69 kB / 0.74 GB, free: 24.65 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00023/0.5785, allocations: 24.67 kB / 0.74 GB, free: 24.64 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.0001452/0.5787, allocations: 112.7 kB / 0.7401 GB, free: 24.54 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.343e-05/0.5787, allocations: 19.44 kB / 0.7401 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5787, allocations: 3.875 kB / 0.7401 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.5788, allocations: 12.42 kB / 0.7401 GB, free: 24.53 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.5789, allocations: 4.688 kB / 0.7402 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002147/0.5792, allocations: 65.34 kB / 0.7402 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/0.5794, allocations: 0.69 MB / 0.7409 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.5794, allocations: 0 / 0.7409 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of Templates: time 0.002175/0.5816, allocations: 0.6581 MB / 0.7415 GB, free: 23.68 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)