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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001315/0.001315, allocations: 190.3 kB / 16.25 MB, free: 6.637 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.582/1.582, allocations: 205.1 MB / 222.1 MB, free: 4.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.404/0.404, allocations: 54.94 MB / 324.4 MB, free: 92 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.001445/0.001445, allocations: 67.91 kB / 394.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1476, allocations: 59.6 MB / 454.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.2426/0.3903, allocations: 1.483 MB / 455.9 MB, free: 38.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008395/0.3912, allocations: 0.5786 MB / 456.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.643e-05/0.3912, allocations: 3.609 kB / 456.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.3914, allocations: 5.281 kB / 456.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.191e-05/0.3914, allocations: 6.953 kB / 456.5 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002853/0.3917, allocations: 40.11 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.026e-05/0.3918, allocations: 30.66 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3919, allocations: 4.75 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.193e-05/0.392, allocations: 16.39 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.801e-05/0.3921, allocations: 8.797 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.3921, allocations: 7.031 kB / 456.6 MB, free: 38.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.3922, allocations: 56.59 kB / 456.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.3922, allocations: 7.406 kB / 456.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.3923, allocations: 13.97 kB / 456.7 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001585/0.3924, allocations: 62.03 kB / 456.8 MB, free: 38.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.3924, allocations: 0.8125 kB / 456.8 MB, free: 38.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.093e-06/0.3924, allocations: 0 / 456.8 MB, free: 38.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.3925, allocations: 1.219 kB / 456.8 MB, free: 38.67 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.0003597/0.3928, allocations: 351.6 kB / 457.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3929, allocations: 10.72 kB / 457.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.737e-05/0.3929, allocations: 5.875 kB / 457.1 MB, free: 38.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.329e-05/0.393, allocations: 167.4 kB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.393, allocations: 5.312 kB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.919e-06/0.393, allocations: 6.969 kB / 457.3 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001101/0.3931, allocations: 40.59 kB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.3931, allocations: 2.969 kB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.3931, allocations: 4.172 kB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.887e-06/0.3932, allocations: 0.8125 kB / 457.3 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.3932, allocations: 19.66 kB / 457.4 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002677/0.3935, allocations: 256.4 kB / 457.6 MB, free: 37.81 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.238e-05/0.3936, allocations: 33.52 kB / 457.6 MB, free: 37.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.3936, allocations: 18.47 kB / 457.7 MB, free: 37.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.3943, allocations: 477.8 kB / 458.1 MB, free: 37.3 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.464e-05/0.3943, allocations: 31.06 kB / 458.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.3943, allocations: 2.719 kB / 458.2 MB, free: 37.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002066/0.3945, allocations: 70.36 kB / 458.2 MB, free: 37.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.523e-05/0.3946, allocations: 52.22 kB / 458.3 MB, free: 37.17 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.625e-05/0.3946, allocations: 108.5 kB / 458.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.155e-06/0.3946, allocations: 28.61 kB / 458.4 MB, free: 37.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.718e-05/0.3947, allocations: 87.34 kB / 458.5 MB, free: 36.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-05/0.3947, allocations: 8.406 kB / 458.5 MB, free: 36.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.52e-05/0.3947, allocations: 16.31 kB / 458.5 MB, free: 36.93 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.01e-05/0.3948, allocations: 322.7 kB / 458.8 MB, free: 36.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.67e-05/0.3948, allocations: 10.47 kB / 458.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.632e-05/0.3949, allocations: 6.938 kB / 458.9 MB, free: 36.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.358e-05/0.3949, allocations: 29.5 kB / 458.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3949, allocations: 0.6562 kB / 458.9 MB, free: 36.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.285e-05/0.395, allocations: 59.34 kB / 458.9 MB, free: 36.58 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.3951, allocations: 2.938 kB / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3951, allocations: 4.219 kB / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3951, allocations: 0 / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.365e-05/0.3952, allocations: 2.875 kB / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3952, allocations: 3.469 kB / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.88e-05/0.3952, allocations: 7.188 kB / 459 MB, free: 36.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.608e-06/0.3952, allocations: 0 / 459 MB, free: 36.58 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 5.026e-05/0.3953, allocations: 115.7 kB / 459.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.3953, allocations: 3.891 kB / 459.1 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001374/0.3954, allocations: 64.03 kB / 459.1 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.3954, allocations: 6.781 kB / 459.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3955, allocations: 0.8438 kB / 459.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.3955, allocations: 2.578 kB / 459.2 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000111/0.3956, allocations: 167.3 kB / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.3956, allocations: 0 / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.721e-05/0.3956, allocations: 6.344 kB / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.3956, allocations: 1.312 kB / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.843e-06/0.3957, allocations: 1.844 kB / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.3957, allocations: 0 / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3957, allocations: 4.844 kB / 459.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001179/0.3958, allocations: 157.2 kB / 459.5 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.098e-05/0.3958, allocations: 80.2 kB / 459.6 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.234e-05/0.3958, allocations: 0 / 459.6 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.532e-05/0.3959, allocations: 3.188 kB / 459.6 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.3959, allocations: 0.9062 kB / 459.6 MB, free: 36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.3959, allocations: 4.438 kB / 459.6 MB, free: 36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.486e-05/0.396, allocations: 89.36 kB / 459.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.396, allocations: 0 / 459.7 MB, free: 35.93 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002147/0.3962, allocations: 11.56 kB / 459.7 MB, free: 35.93 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.000148/0.3963, allocations: 120.5 kB / 459.8 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001198/0.3965, allocations: 29.16 kB / 459.8 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3965, allocations: 0 / 459.8 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.3965, allocations: 11.89 kB / 459.8 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.3967, allocations: 5.812 kB / 459.8 MB, free: 35.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.397, allocations: 132.7 kB / 460 MB, free: 35.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.3971, allocations: 0.686 MB / 460.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.06e-05/0.3971, allocations: 2.625 kB / 460.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.3972, allocations: 10.38 kB / 460.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3972, allocations: 0 / 460.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of Templates: time 0.002403/0.3996, allocations: 0.6475 MB / 461.3 MB, free: 34.97 MB / 382.1 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)