Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") translateModel(Annex60.Utilities.Math.Examples.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001439/0.001439, 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.001731/0.001731, allocations: 195.6 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.58/1.58, allocations: 205.1 MB / 222.1 MB, free: 4.688 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3876/0.3876, allocations: 54.92 MB / 324.4 MB, free: 180 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.001729/0.00173, allocations: 71.91 kB / 394.8 MB, free: 12.15 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1392, allocations: 59.58 MB / 454.4 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.2068/0.346, allocations: 1.504 MB / 455.9 MB, free: 39.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003096/0.3464, allocations: 124.8 kB / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.926e-05/0.3464, allocations: 0 / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.3465, allocations: 2.281 kB / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.041e-05/0.3466, allocations: 1.781 kB / 456 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.3468, allocations: 26.33 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.008e-05/0.3469, allocations: 47.11 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.347, allocations: 25.81 kB / 456.1 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.3471, allocations: 13.7 kB / 456.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.13e-05/0.3471, allocations: 22.39 kB / 456.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3472, allocations: 2.906 kB / 456.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.548e-05/0.3472, allocations: 37.3 kB / 456.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.3473, allocations: 3.625 kB / 456.2 MB, free: 39.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.3473, allocations: 29.56 kB / 456.3 MB, free: 39.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001172/0.3474, allocations: 55.75 kB / 456.3 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3474, allocations: 0 / 456.3 MB, free: 39.08 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.3474, allocations: 6.719 kB / 456.3 MB, free: 39.08 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.586e-06/0.3475, allocations: 0 / 456.3 MB, free: 39.08 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003564/0.3478, allocations: 357.5 kB / 456.7 MB, free: 38.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3479, allocations: 14.28 kB / 456.7 MB, free: 38.73 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.3489, allocations: 214.3 kB / 456.9 MB, free: 38.72 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.096e-05/0.349, allocations: 173.7 kB / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.349, allocations: 4.328 kB / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.349, allocations: 384 / 457.1 MB, free: 38.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004923/0.3495, allocations: 199.3 kB / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.3495, allocations: 0 / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.3495, allocations: 0 / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.3495, allocations: 1.188 kB / 457.3 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006981/0.3503, allocations: 282.4 kB / 457.5 MB, free: 38.49 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.351, allocations: 439.1 kB / 458 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009305/0.3519, allocations: 289.2 kB / 458.2 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002994/0.3523, allocations: 101.4 kB / 458.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3523, allocations: 2.906 kB / 458.3 MB, free: 38.18 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.324e-05/0.3523, allocations: 34.56 kB / 458.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3523, allocations: 1.5 kB / 458.4 MB, free: 38.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009982/0.3533, allocations: 308.8 kB / 458.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.375e-05/0.3534, allocations: 54.22 kB / 458.7 MB, free: 38.05 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.482e-05/0.3534, allocations: 122.9 kB / 458.9 MB, free: 37.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.404e-05/0.3534, allocations: 28.48 kB / 458.9 MB, free: 37.92 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.86e-05/0.3535, allocations: 84.02 kB / 459 MB, free: 37.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.3535, allocations: 14.02 kB / 459 MB, free: 37.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.325e-05/0.3536, allocations: 17.91 kB / 459 MB, free: 37.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.3536, allocations: 325.1 kB / 459.3 MB, free: 37.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003073/0.3539, allocations: 99 kB / 459.4 MB, free: 37.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.3542, allocations: 92.22 kB / 459.5 MB, free: 37.49 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.3548, allocations: 172.7 kB / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3548, allocations: 0 / 459.7 MB, free: 37.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006312/0.3554, allocations: 219.1 kB / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3555, allocations: 6.781 kB / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.3555, allocations: 3.188 kB / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.3555, allocations: 4.906 kB / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.3557, allocations: 30.55 kB / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.3557, allocations: 0 / 459.9 MB, free: 37.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.3559, allocations: 39.69 kB / 460 MB, free: 37.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.256e-05/0.3559, allocations: 4.297 kB / 460 MB, free: 37.44 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 (3): * Single equations (assignments): 3 * 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 6.1e-05/0.356, allocations: 112.7 kB / 460.1 MB, free: 37.33 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.983e-05/0.356, allocations: 10.12 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.069e-05/0.3561, allocations: 10.94 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.3561, allocations: 0 / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.3561, allocations: 1.5 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3561, allocations: 4.969 kB / 460.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.3563, allocations: 209.2 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3563, allocations: 3.875 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002063/0.3565, allocations: 33.94 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-06/0.3565, allocations: 0.5625 kB / 460.3 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.224e-05/0.3565, allocations: 5.5 kB / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.3565, allocations: 3.062 kB / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3565, allocations: 0 / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006439/0.3572, allocations: 318.1 kB / 460.7 MB, free: 36.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.513e-05/0.3572, allocations: 82.45 kB / 460.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3572, allocations: 2.812 kB / 460.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002044/0.3575, allocations: 28.59 kB / 460.8 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.377e-05/0.3575, allocations: 4.062 kB / 460.8 MB, free: 36.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.3575, allocations: 3.938 kB / 460.8 MB, free: 36.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.607e-05/0.3576, allocations: 98.83 kB / 460.9 MB, free: 36.81 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3576, allocations: 0 / 460.9 MB, free: 36.81 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.3578, allocations: 15.12 kB / 460.9 MB, free: 36.8 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 (3): * Single equations (assignments): 3 * 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 9.6e-05/0.3579, allocations: 101 kB / 461 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006625/0.3586, allocations: 195.7 kB / 461.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3586, allocations: 4 kB / 461.2 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.3589, allocations: 97.19 kB / 461.3 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.3592, allocations: 7.844 kB / 461.3 MB, free: 36.71 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008276/0.36, allocations: 272.1 kB / 461.6 MB, free: 36.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000136/0.3601, allocations: 0.69 MB / 462.2 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.768e-05/0.3602, allocations: 22.2 kB / 462.3 MB, free: 35.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.551e-05/0.3603, allocations: 14.28 kB / 462.3 MB, free: 35.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.81e-07/0.3603, allocations: 0 / 462.3 MB, free: 35.88 MB / 382.1 MB Notification: Performance of Templates: time 0.002723/0.363, allocations: 0.8711 MB / 463.2 MB, free: 35.84 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.pipe 2>&1)