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.001115/0.001115, allocations: 86.09 kB / 15.06 MB, free: 1.09 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.001289/0.001289, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.685/1.685, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4233/0.4233, allocations: 55.02 MB / 325.4 MB, free: 0.707 MB / 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.0005657/0.0005662, allocations: 12 kB / 396.7 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4652/0.4657, allocations: 60.72 MB / 457.4 MB, free: 38.16 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.001638/0.4674, allocations: 1.139 MB / 458.5 MB, free: 38.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000393/0.4678, allocations: 116.4 kB / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.4679, allocations: 4.219 kB / 458.6 MB, free: 38.12 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.985e-05/0.4679, allocations: 6.312 kB / 458.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.453e-05/0.468, allocations: 2.984 kB / 458.6 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.4683, allocations: 25.67 kB / 458.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000107/0.4684, allocations: 32.41 kB / 458.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.4685, allocations: 19.91 kB / 458.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.4686, allocations: 15.27 kB / 458.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.306e-05/0.4686, allocations: 14.09 kB / 458.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.4686, allocations: 5.875 kB / 458.7 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.524e-05/0.4687, allocations: 29.23 kB / 458.8 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.219e-05/0.4688, allocations: 12.78 kB / 458.8 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.4688, allocations: 32.11 kB / 458.8 MB, free: 38.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.4689, allocations: 37.22 kB / 458.9 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.4689, allocations: 2.75 kB / 458.9 MB, free: 38.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.4689, allocations: 0.5625 kB / 458.9 MB, free: 38.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.849e-06/0.4689, allocations: 0 / 458.9 MB, free: 38.06 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.0004227/0.4694, allocations: 360.8 kB / 459.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.4694, allocations: 9.219 kB / 459.2 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009465/0.4704, allocations: 244.2 kB / 459.5 MB, free: 37.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001241/0.4705, allocations: 169.8 kB / 459.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4705, allocations: 3.062 kB / 459.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.4706, allocations: 10.38 kB / 459.6 MB, free: 37.51 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005374/0.4711, allocations: 213.7 kB / 459.8 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.4711, allocations: 3.469 kB / 459.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.504e-05/0.4711, allocations: 0 / 459.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/0.4712, allocations: 0 / 459.9 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000712/0.4719, allocations: 321 kB / 460.2 MB, free: 37.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008118/0.4727, allocations: 461.2 kB / 460.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.4736, allocations: 343.6 kB / 461 MB, free: 37.18 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003016/0.4739, allocations: 120.3 kB / 461.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.137e-05/0.474, allocations: 1.078 kB / 461.1 MB, free: 37.16 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.474, allocations: 34.56 kB / 461.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.474, allocations: 0 / 461.1 MB, free: 37.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001005/0.475, allocations: 364.5 kB / 461.5 MB, free: 37.08 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.4751, allocations: 56.47 kB / 461.5 MB, free: 37.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.4751, allocations: 120.2 kB / 461.6 MB, free: 36.92 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.4752, allocations: 31.52 kB / 461.7 MB, free: 36.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.902e-05/0.4752, allocations: 86.95 kB / 461.7 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/0.4752, allocations: 7.812 kB / 461.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.105e-06/0.4753, allocations: 0 / 461.8 MB, free: 36.8 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.818e-05/0.4753, allocations: 324.6 kB / 462.1 MB, free: 36.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002959/0.4756, allocations: 110.9 kB / 462.2 MB, free: 36.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002794/0.4759, allocations: 117.9 kB / 462.3 MB, free: 36.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002868/0.4762, allocations: 102.4 kB / 462.4 MB, free: 36.47 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.4762, allocations: 0 / 462.4 MB, free: 36.47 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006222/0.4768, allocations: 255.4 kB / 462.6 MB, free: 36.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.4769, allocations: 5.906 kB / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4769, allocations: 0 / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.4769, allocations: 0 / 462.7 MB, free: 36.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.4772, allocations: 50.22 kB / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.4772, allocations: 0 / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.4773, allocations: 44.2 kB / 462.7 MB, free: 36.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.417e-05/0.4774, allocations: 2.781 kB / 462.7 MB, free: 36.42 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.008e-05/0.4775, allocations: 116.3 kB / 462.9 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.4775, allocations: 14.73 kB / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.4776, allocations: 6.906 kB / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.4776, allocations: 0 / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4776, allocations: 0 / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.4776, allocations: 4.375 kB / 462.9 MB, free: 36.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.4778, allocations: 214.5 kB / 463.1 MB, free: 36.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.4778, allocations: 3.953 kB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.478, allocations: 44.36 kB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.478, allocations: 3.859 kB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.497e-05/0.478, allocations: 3.328 kB / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.478, allocations: 0 / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.478, allocations: 0 / 463.1 MB, free: 36.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006566/0.4787, allocations: 357.9 kB / 463.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.93e-05/0.4787, allocations: 84.34 kB / 463.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.4788, allocations: 0 / 463.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.479, allocations: 39.14 kB / 463.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.226e-05/0.479, allocations: 3.281 kB / 463.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.615e-06/0.479, allocations: 6.547 kB / 463.6 MB, free: 35.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.264e-05/0.4791, allocations: 94.84 kB / 463.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4791, allocations: 0 / 463.7 MB, free: 35.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002259/0.4793, allocations: 12.72 kB / 463.7 MB, free: 35.77 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 (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.0001066/0.4794, allocations: 102.5 kB / 463.8 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000667/0.4801, allocations: 228.9 kB / 464.1 MB, free: 35.67 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4801, allocations: 5.125 kB / 464.1 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.4804, allocations: 120 kB / 464.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002644/0.4807, allocations: 4 kB / 464.2 MB, free: 35.66 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008354/0.4816, allocations: 300.5 kB / 464.5 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.4817, allocations: 0.6869 MB / 465.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.15e-05/0.4818, allocations: 19.59 kB / 465.2 MB, free: 34.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.4819, allocations: 13.66 kB / 465.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4819, allocations: 0 / 465.2 MB, free: 34.83 MB / 382.1 MB Notification: Performance of Templates: time 0.003237/0.4851, allocations: 0.8139 MB / 466 MB, free: 34.79 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothMin.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: