Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") translateModel(Annex60.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2936/0.2936, allocations: 54.33 MB / 66.89 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.001121/0.001121, allocations: 182.2 kB / 80.71 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.364/1.364, allocations: 194.2 MB / 288.6 MB, free: 15.06 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.001573/0.001574, allocations: 103.9 kB / 346.9 MB, free: 4.801 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.02e-05, allocations: 4 kB / 412.4 MB, free: 21.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.117, allocations: 57.64 MB / 470 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3828/0.4999, allocations: 85.45 MB / 0.5425 GB, free: 5.02 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002015/0.5001, allocations: 71.95 kB / 0.5425 GB, free: 4.949 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002487/0.5026, allocations: 0.9085 MB / 0.5434 GB, free: 4.047 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5026, allocations: 0 / 0.5434 GB, free: 4.047 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.5027, allocations: 4 kB / 0.5434 GB, free: 4.043 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.0003297/0.503, allocations: 335 kB / 0.5437 GB, free: 3.672 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.503, allocations: 12.03 kB / 0.5437 GB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.749e-05/0.5031, allocations: 4 kB / 0.5438 GB, free: 3.656 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.5032, allocations: 167 kB / 0.5439 GB, free: 3.453 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5032, allocations: 4 kB / 0.5439 GB, free: 3.449 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.337e-05/0.5032, allocations: 4 kB / 0.5439 GB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.412e-05/0.5033, allocations: 37.64 kB / 0.544 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5033, allocations: 0 / 0.544 GB, free: 3.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.5034, allocations: 4 kB / 0.544 GB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.5034, allocations: 0 / 0.544 GB, free: 3.398 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.297e-05/0.5034, allocations: 8 kB / 0.544 GB, free: 3.391 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003983/0.5038, allocations: 269 kB / 0.5442 GB, free: 3.078 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.5039, allocations: 38.41 kB / 0.5443 GB, free: 3.031 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.613e-05/0.5039, allocations: 8.922 kB / 0.5443 GB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.5042, allocations: 202.2 kB / 0.5445 GB, free: 2.785 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.5043, allocations: 38.55 kB / 0.5445 GB, free: 2.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.5043, allocations: 0 / 0.5445 GB, free: 2.738 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001463/0.5044, allocations: 41.61 kB / 0.5445 GB, free: 2.691 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.5045, allocations: 55.44 kB / 0.5446 GB, free: 2.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.515e-05/0.5046, allocations: 101.8 kB / 0.5447 GB, free: 2.52 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.5046, allocations: 25.7 kB / 0.5447 GB, free: 2.488 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.227e-05/0.5046, allocations: 84.12 kB / 0.5448 GB, free: 2.402 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.681e-05/0.5047, allocations: 3.906 kB / 0.5448 GB, free: 2.398 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.726e-06/0.5047, allocations: 0 / 0.5448 GB, free: 2.398 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5048, allocations: 318.8 kB / 0.5451 GB, free: 2.078 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.489e-05/0.5048, allocations: 0 / 0.5451 GB, free: 2.078 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.706e-05/0.5048, allocations: 12 kB / 0.5451 GB, free: 2.066 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.93e-05/0.5048, allocations: 5.969 kB / 0.5451 GB, free: 2.062 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.5048, allocations: 0 / 0.5451 GB, free: 2.062 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.122e-05/0.5049, allocations: 49.64 kB / 0.5452 GB, free: 2.008 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.5049, allocations: 6.031 kB / 0.5452 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.5049, allocations: 0 / 0.5452 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.505, allocations: 0 / 0.5452 GB, free: 2.004 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-05/0.5051, allocations: 10.25 kB / 0.5452 GB, free: 1.996 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.5051, allocations: 8.078 kB / 0.5452 GB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.5051, allocations: 11.94 kB / 0.5452 GB, free: 1.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.5051, allocations: 0 / 0.5452 GB, free: 1.977 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.687e-05/0.5052, allocations: 109 kB / 0.5453 GB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.5052, allocations: 7.953 kB / 0.5453 GB, free: 1.855 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.5053, allocations: 48.77 kB / 0.5454 GB, free: 1.805 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5054, allocations: 4 kB / 0.5454 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.5054, allocations: 0 / 0.5454 GB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5054, allocations: 8.016 kB / 0.5454 GB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001492/0.5055, allocations: 157.7 kB / 0.5455 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.5055, allocations: 0 / 0.5455 GB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.185e-05/0.5056, allocations: 15.92 kB / 0.5455 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.5056, allocations: 0 / 0.5455 GB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.5056, allocations: 11.94 kB / 0.5455 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.5056, allocations: 0 / 0.5455 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5056, allocations: 0 / 0.5455 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001317/0.5058, allocations: 151.4 kB / 0.5457 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.836e-05/0.5058, allocations: 77.11 kB / 0.5458 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.137e-05/0.5058, allocations: 256 / 0.5458 GB, free: 1.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.489e-05/0.5059, allocations: 19.94 kB / 0.5458 GB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.506, allocations: 3.938 kB / 0.5458 GB, free: 1.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.865e-06/0.506, allocations: 0 / 0.5458 GB, free: 1.281 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.506, allocations: 83.28 kB / 0.5459 GB, free: 1.199 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.506, allocations: 4.031 kB / 0.5459 GB, free: 1.195 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002016/0.5062, allocations: 15.94 kB / 0.5459 GB, free: 1.18 MB / 378.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.0001366/0.5064, allocations: 103.2 kB / 0.546 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 7.153e-05/0.5065, allocations: 18.53 kB / 0.546 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5065, allocations: 0 / 0.546 GB, free: 1.055 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 2.112e-05/0.5065, allocations: 8 kB / 0.546 GB, free: 1.047 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001522/0.5067, allocations: 4 kB / 0.546 GB, free: 1.043 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.5069, allocations: 61.11 kB / 0.5461 GB, free: 0.9609 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002096/0.5071, allocations: 0.6809 MB / 0.5467 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 2.147e-05/0.5071, allocations: 0 / 0.5467 GB, free: 260 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.651e-05/0.5071, allocations: 7.438 kB / 0.5467 GB, free: 256 kB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.5071, allocations: 0 / 0.5467 GB, free: 256 kB / 378.7 MB Notification: Performance of Templates: time 0.002249/0.5094, allocations: 0.5188 MB / 0.5473 GB, free: 15.73 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1)