Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") translateModel(Annex60.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2653/0.2653, allocations: 54.32 MB / 66.88 MB, free: 6.109 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 180 kB / 80.7 MB, free: 15.41 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.356/1.356, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001598/0.001598, allocations: 112.2 kB / 346.9 MB, free: 4.723 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.32e-05, allocations: 4 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1169, allocations: 57.64 MB / 470 MB, free: 11.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3853/0.5023, allocations: 86.11 MB / 0.5431 GB, free: 4.352 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.5026, allocations: 71.97 kB / 0.5432 GB, free: 4.281 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003804/0.5064, allocations: 1.338 MB / 0.5445 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5064, allocations: 0 / 0.5445 GB, free: 2.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.553e-06/0.5064, allocations: 0 / 0.5445 GB, free: 2.945 MB / 378.7 MB 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.0002923/0.5067, allocations: 343 kB / 0.5448 GB, free: 2.566 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.5068, allocations: 12.03 kB / 0.5448 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.119e-05/0.5068, allocations: 0 / 0.5448 GB, free: 2.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.507, allocations: 167.1 kB / 0.545 GB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.507, allocations: 0 / 0.545 GB, free: 2.352 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.507, allocations: 4 kB / 0.545 GB, free: 2.348 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.5071, allocations: 37.66 kB / 0.545 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.841e-06/0.5071, allocations: 0 / 0.545 GB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.5071, allocations: 7.984 kB / 0.545 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5071, allocations: 0 / 0.545 GB, free: 2.297 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.5072, allocations: 15.94 kB / 0.545 GB, free: 2.281 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003104/0.5075, allocations: 248.9 kB / 0.5453 GB, free: 1.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.799e-05/0.5076, allocations: 34.52 kB / 0.5453 GB, free: 1.945 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.639e-05/0.5076, allocations: 12.92 kB / 0.5453 GB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006006/0.5082, allocations: 469.5 kB / 0.5458 GB, free: 1.379 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.5082, allocations: 30.56 kB / 0.5458 GB, free: 1.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.355e-06/0.5083, allocations: 0.875 kB / 0.5458 GB, free: 1.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001515/0.5084, allocations: 49.62 kB / 0.5458 GB, free: 1.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.374e-05/0.5085, allocations: 55.41 kB / 0.5459 GB, free: 1.219 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.28e-05/0.5085, allocations: 101 kB / 0.546 GB, free: 1.113 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.5086, allocations: 25.7 kB / 0.546 GB, free: 1.082 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.78e-05/0.5086, allocations: 88.12 kB / 0.5461 GB, free: 0.9922 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.001e-05/0.5086, allocations: 15.83 kB / 0.5461 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-06/0.5086, allocations: 0 / 0.5461 GB, free: 0.9766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.5088, allocations: 323.3 kB / 0.5464 GB, free: 0.6562 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.5088, allocations: 8.031 kB / 0.5464 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.375e-05/0.5088, allocations: 8 kB / 0.5464 GB, free: 0.6406 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.024e-05/0.5088, allocations: 4 kB / 0.5464 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5088, allocations: 0 / 0.5464 GB, free: 0.6367 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.506e-05/0.5089, allocations: 57.48 kB / 0.5465 GB, free: 0.5742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.5089, allocations: 5.875 kB / 0.5465 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.509, allocations: 0 / 0.5465 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.083e-05/0.509, allocations: 0 / 0.5465 GB, free: 0.5703 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.5091, allocations: 12.08 kB / 0.5465 GB, free: 0.5586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.315e-06/0.5091, allocations: 7.984 kB / 0.5465 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.912e-05/0.5091, allocations: 0 / 0.5465 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.5091, allocations: 4 kB / 0.5465 GB, free: 0.5469 MB / 378.7 MB 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 5.364e-05/0.5092, allocations: 109 kB / 0.5466 GB, free: 444 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.5092, allocations: 3.953 kB / 0.5466 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001229/0.5093, allocations: 57.23 kB / 0.5467 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.5093, allocations: 0 / 0.5467 GB, free: 376 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5094, allocations: 4.031 kB / 0.5467 GB, free: 372 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.5094, allocations: 7.938 kB / 0.5467 GB, free: 364 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.5095, allocations: 161.7 kB / 0.5469 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.5095, allocations: 0 / 0.5469 GB, free: 152 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.36e-05/0.5096, allocations: 8 kB / 0.5469 GB, free: 144 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.5096, allocations: 7.984 kB / 0.5469 GB, free: 136 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-06/0.5096, allocations: 3.953 kB / 0.5469 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.5096, allocations: 0 / 0.5469 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.5096, allocations: 0 / 0.5469 GB, free: 132 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.5098, allocations: 143.5 kB / 0.547 GB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.5098, allocations: 77.11 kB / 0.5471 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.5098, allocations: 4 kB / 0.5471 GB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.142e-05/0.5099, allocations: 7.953 kB / 0.5471 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.7e-05/0.51, allocations: 7.938 kB / 0.5471 GB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.51, allocations: 0 / 0.5471 GB, free: 15.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.564e-05/0.51, allocations: 87.27 kB / 0.5472 GB, free: 15.77 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.51, allocations: 0 / 0.5472 GB, free: 15.77 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002132/0.5102, allocations: 31.97 kB / 0.5472 GB, free: 15.74 MB / 394.7 MB 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.0001498/0.5104, allocations: 111.2 kB / 0.5473 GB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 7.27e-05/0.5105, allocations: 12 kB / 0.5473 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.5105, allocations: 0 / 0.5473 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.916e-05/0.5105, allocations: 4 kB / 0.5473 GB, free: 15.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.5106, allocations: 8 kB / 0.5473 GB, free: 15.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001964/0.5108, allocations: 72.92 kB / 0.5474 GB, free: 15.51 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.5111, allocations: 0.6848 MB / 0.5481 GB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 2.567e-05/0.5111, allocations: 7.938 kB / 0.5481 GB, free: 14.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.624e-05/0.5111, allocations: 7.438 kB / 0.5481 GB, free: 14.79 MB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5112, allocations: 0 / 0.5481 GB, free: 14.79 MB / 394.7 MB Notification: Performance of Templates: time 0.002411/0.5136, allocations: 0.599 MB / 0.5487 GB, free: 14.19 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothLimit.pipe 2>&1)