Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.002317/0.002317, allocations: 183 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6052/0.6052, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.137/1.137, allocations: 221.3 MB / 395 MB, free: 10.2 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.000851/0.000851, allocations: 106.3 kB / 477.8 MB, free: 10.86 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.793e-06/6.823e-06, allocations: 6.875 kB / 0.5528 GB, free: 88.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1183, allocations: 82.3 MB / 0.6332 GB, free: 14.12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3373/0.4556, allocations: 111.3 MB / 0.7419 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.4558, allocations: 73.06 kB / 0.7419 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.003502/0.4593, allocations: 1.111 MB / 0.743 GB, free: 10.71 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.4594, allocations: 4 kB / 0.743 GB, free: 10.71 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.000308/0.4597, allocations: 348.8 kB / 0.7434 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.4597, allocations: 11.53 kB / 0.7434 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.4598, allocations: 0 / 0.7434 GB, free: 26.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.4599, allocations: 167.8 kB / 0.7435 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4599, allocations: 0 / 0.7435 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.4599, allocations: 0 / 0.7435 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.104e-05/0.46, allocations: 20.83 kB / 0.7435 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.176e-05/0.46, allocations: 37.72 kB / 0.7436 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.672e-06/0.4601, allocations: 0 / 0.7436 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.4601, allocations: 0 / 0.7436 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.4601, allocations: 0 / 0.7436 GB, free: 26.11 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002588/0.4603, allocations: 234.2 kB / 0.7438 GB, free: 25.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.588e-05/0.4604, allocations: 25.67 kB / 0.7438 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.235e-05/0.4604, allocations: 17.67 kB / 0.7438 GB, free: 25.83 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006404/0.4611, allocations: 471.8 kB / 0.7443 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.099e-05/0.4611, allocations: 36.06 kB / 0.7443 GB, free: 25.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4611, allocations: 5.094 kB / 0.7443 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2): time 0.0003053/0.4614, allocations: 83.03 kB / 0.7444 GB, free: 25.28 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.726e-05/0.4615, allocations: 55.28 kB / 0.7445 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.544e-05/0.4615, allocations: 102.1 kB / 0.7446 GB, free: 25.12 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.192e-05/0.4615, allocations: 25.7 kB / 0.7446 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.616e-05/0.4616, allocations: 85.53 kB / 0.7447 GB, free: 25.01 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.166e-05/0.4616, allocations: 5.078 kB / 0.7447 GB, free: 25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.4616, allocations: 0 / 0.7447 GB, free: 25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.4617, allocations: 316.2 kB / 0.745 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.4617, allocations: 7.562 kB / 0.745 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.023e-05/0.4617, allocations: 3.938 kB / 0.745 GB, free: 24.69 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001899/0.4619, allocations: 51.8 kB / 0.745 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.4619, allocations: 0 / 0.745 GB, free: 24.68 MB / 0.5105 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000227/0.4622, allocations: 100.2 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.4622, allocations: 5.594 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.4622, allocations: 0.75 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.4622, allocations: 0 / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.582e-05/0.4623, allocations: 4.859 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.4623, allocations: 3.875 kB / 0.7451 GB, free: 24.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.197e-05/0.4623, allocations: 5.766 kB / 0.7451 GB, free: 24.63 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-06/0.4623, allocations: 3.938 kB / 0.7452 GB, free: 24.63 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.132e-05/0.4624, allocations: 104.9 kB / 0.7453 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.4624, allocations: 0 / 0.7453 GB, free: 24.52 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000262/0.4627, allocations: 99.56 kB / 0.7453 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.4627, allocations: 3.812 kB / 0.7454 GB, free: 24.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4627, allocations: 5.547 kB / 0.7454 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4627, allocations: 3.938 kB / 0.7454 GB, free: 24.47 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001228/0.4629, allocations: 138.6 kB / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.4629, allocations: 0 / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.349e-05/0.4629, allocations: 9.672 kB / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.4629, allocations: 4.031 kB / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.4629, allocations: 0 / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.4629, allocations: 0 / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.4629, allocations: 0 / 0.7455 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000245/0.4632, allocations: 186.3 kB / 0.7457 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.4632, allocations: 83.72 kB / 0.7458 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.4633, allocations: 0 / 0.7458 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.352e-05/0.4633, allocations: 4.953 kB / 0.7458 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.4634, allocations: 1.219 kB / 0.7458 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.4634, allocations: 0 / 0.7458 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 3.38e-05/0.4634, allocations: 87.73 kB / 0.7459 GB, free: 24 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000209/0.4636, allocations: 28.66 kB / 0.7459 GB, free: 23.98 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.0001317/0.4638, allocations: 120 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.053e-05/0.4638, allocations: 15.62 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.4638, allocations: 0 / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.647e-05/0.4639, allocations: 5.094 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001136/0.464, allocations: 8.5 kB / 0.746 GB, free: 23.88 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001722/0.4642, allocations: 66.84 kB / 0.7461 GB, free: 23.81 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/0.4644, allocations: 0.7014 MB / 0.7468 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.4644, allocations: 3.938 kB / 0.7468 GB, free: 23.09 MB / 0.5105 GB Notification: Performance of Templates: time 0.002027/0.4665, allocations: 0.6528 MB / 0.7474 GB, free: 23.02 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)