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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001924/0.001924, allocations: 191 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4035/0.4035, allocations: 54.93 MB / 324.4 MB, free: 100 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 67.91 kB / 394.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1458, allocations: 59.59 MB / 454.4 MB, free: 452 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothHeaviside): time 0.2408/0.3866, allocations: 1.474 MB / 455.9 MB, free: 39.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003141/0.387, allocations: 114.9 kB / 456 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.185e-05/0.3871, allocations: 2.625 kB / 456 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.109e-05/0.3871, allocations: 0 / 456 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.685e-05/0.3872, allocations: 2.156 kB / 456 MB, free: 39.05 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002226/0.3874, allocations: 26.61 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.336e-05/0.3875, allocations: 23.91 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.771e-05/0.3876, allocations: 7.812 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.383e-05/0.3876, allocations: 9.484 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.662e-05/0.3877, allocations: 12.61 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.266e-05/0.3877, allocations: 4.344 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.212e-05/0.3878, allocations: 29.55 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.205e-05/0.3878, allocations: 7.172 kB / 456.1 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.171e-05/0.3878, allocations: 12.61 kB / 456.2 MB, free: 39.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001107/0.388, allocations: 37.56 kB / 456.2 MB, free: 39.04 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.388, allocations: 0.625 kB / 456.2 MB, free: 39.04 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.388, allocations: 0 / 456.2 MB, free: 39.04 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.388, allocations: 1.469 kB / 456.2 MB, free: 39.04 MB / 382.1 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.0003609/0.3883, allocations: 342.4 kB / 456.5 MB, free: 38.69 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3884, allocations: 8.594 kB / 456.5 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3884, allocations: 3.812 kB / 456.5 MB, free: 38.69 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.198e-05/0.3885, allocations: 170.6 kB / 456.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.09e-05/0.3885, allocations: 3.062 kB / 456.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.3886, allocations: 384 / 456.7 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.3887, allocations: 58.75 kB / 456.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.3887, allocations: 2.625 kB / 456.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.3887, allocations: 1.188 kB / 456.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.3888, allocations: 0 / 456.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000145/0.3889, allocations: 35.66 kB / 456.8 MB, free: 38.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002584/0.3892, allocations: 249.1 kB / 457.1 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001097/0.3893, allocations: 44.03 kB / 457.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.3894, allocations: 24.38 kB / 457.1 MB, free: 38.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003508/0.3897, allocations: 197 kB / 457.3 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.3898, allocations: 37.06 kB / 457.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3898, allocations: 0.5625 kB / 457.4 MB, free: 37.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.00031/0.3901, allocations: 86.48 kB / 457.4 MB, free: 37.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.3901, allocations: 51.41 kB / 457.5 MB, free: 37.83 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.417e-05/0.3902, allocations: 106.3 kB / 457.6 MB, free: 37.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-06/0.3902, allocations: 26.2 kB / 457.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.551e-05/0.3902, allocations: 84.98 kB / 457.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.473e-05/0.3902, allocations: 7.156 kB / 457.7 MB, free: 37.62 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.3903, allocations: 14.28 kB / 457.7 MB, free: 37.6 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.645e-05/0.3903, allocations: 324 kB / 458 MB, free: 37.29 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.337e-05/0.3904, allocations: 15.5 kB / 458.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.185e-05/0.3905, allocations: 19.2 kB / 458.1 MB, free: 37.29 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001321/0.3906, allocations: 37.91 kB / 458.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3906, allocations: 1.969 kB / 458.1 MB, free: 37.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001571/0.3908, allocations: 76.64 kB / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.3908, allocations: 5.781 kB / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.3908, allocations: 0.8125 kB / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.3908, allocations: 0 / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.79e-05/0.3909, allocations: 9.219 kB / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.429e-06/0.3909, allocations: 1 kB / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.984e-05/0.391, allocations: 6.047 kB / 458.2 MB, free: 37.24 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.511e-06/0.391, allocations: 4.219 kB / 458.2 MB, free: 37.24 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.391, allocations: 109.8 kB / 458.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.214e-05/0.3911, allocations: 6.438 kB / 458.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001951/0.3913, allocations: 71.98 kB / 458.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.3913, allocations: 5.812 kB / 458.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3913, allocations: 0 / 458.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.3913, allocations: 1.125 kB / 458.4 MB, free: 37.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.3914, allocations: 163.8 kB / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3914, allocations: 1.781 kB / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.053e-05/0.3915, allocations: 11.25 kB / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3915, allocations: 0 / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.033e-06/0.3915, allocations: 0.8125 kB / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3915, allocations: 1.125 kB / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.3915, allocations: 0.6562 kB / 458.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001837/0.3917, allocations: 172.9 kB / 458.7 MB, free: 36.76 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.166e-05/0.3917, allocations: 81.59 kB / 458.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.3918, allocations: 0.7969 kB / 458.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.082e-05/0.3918, allocations: 6.484 kB / 458.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.472e-05/0.3919, allocations: 5.734 kB / 458.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.035e-06/0.3919, allocations: 0 / 458.8 MB, free: 36.67 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.931e-05/0.3919, allocations: 87.62 kB / 458.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3919, allocations: 0 / 458.9 MB, free: 36.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002213/0.3922, allocations: 15.83 kB / 458.9 MB, free: 36.59 MB / 382.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001259/0.3923, allocations: 102.2 kB / 459 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002055/0.3925, allocations: 42.12 kB / 459.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.3925, allocations: 0 / 459.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.84e-05/0.3926, allocations: 21.28 kB / 459.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.3929, allocations: 14.69 kB / 459.1 MB, free: 36.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.3932, allocations: 112.6 kB / 459.2 MB, free: 36.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3933, allocations: 0.6776 MB / 459.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.31e-05/0.3933, allocations: 3.984 kB / 459.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.815e-05/0.3933, allocations: 10.31 kB / 459.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3933, allocations: 0 / 459.9 MB, free: 35.7 MB / 382.1 MB Notification: Performance of Templates: time 0.00285/0.3962, allocations: 0.5661 MB / 460.5 MB, free: 35.66 MB / 382.1 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)