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.00498/0.00498, allocations: 100.8 kB / 15.73 MB, free: 5.953 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.001092/0.001092, allocations: 187 kB / 16.67 MB, free: 5.883 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.6/1.6, allocations: 205.1 MB / 222.6 MB, free: 4.352 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4154/0.4154, allocations: 54.95 MB / 324.8 MB, free: 76 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.001515/0.001515, allocations: 68.62 kB / 456.2 MB, free: 38.1 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.143, allocations: 59.6 MB / 0.5037 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothMin): time 0.002572/0.1456, allocations: 1.424 MB / 0.5051 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004725/0.1461, allocations: 126.9 kB / 0.5053 GB, free: 8.391 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.573e-05/0.1462, allocations: 5.188 kB / 0.5053 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 6.089e-05/0.1463, allocations: 7.922 kB / 0.5053 GB, free: 8.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 8.801e-05/0.1464, allocations: 12.67 kB / 0.5053 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002917/0.1467, allocations: 28.88 kB / 0.5053 GB, free: 8.348 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.1468, allocations: 35.98 kB / 0.5053 GB, free: 8.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.1469, allocations: 27.77 kB / 0.5054 GB, free: 8.312 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.278e-05/0.147, allocations: 22.34 kB / 0.5054 GB, free: 8.297 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.165e-05/0.1471, allocations: 18.2 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.1471, allocations: 3.812 kB / 0.5054 GB, free: 8.285 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.1472, allocations: 33.03 kB / 0.5054 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.1472, allocations: 9.219 kB / 0.5055 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.124e-05/0.1473, allocations: 13.03 kB / 0.5055 GB, free: 8.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001493/0.1474, allocations: 67.78 kB / 0.5055 GB, free: 8.207 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.1474, allocations: 8 kB / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1474, allocations: 1.094 kB / 0.5055 GB, free: 8.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.319e-05/0.1474, allocations: 0 / 0.5055 GB, free: 8.199 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.0004773/0.1479, allocations: 355.8 kB / 0.5059 GB, free: 7.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.148, allocations: 9.281 kB / 0.5059 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001081/0.1491, allocations: 215.8 kB / 0.5061 GB, free: 7.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.403e-05/0.1492, allocations: 174.1 kB / 0.5063 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.326e-05/0.1492, allocations: 2.281 kB / 0.5063 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.1492, allocations: 10.03 kB / 0.5063 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005406/0.1497, allocations: 189.7 kB / 0.5065 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1498, allocations: 1.625 kB / 0.5065 GB, free: 7.387 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.776e-05/0.1498, allocations: 8 kB / 0.5065 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.1498, allocations: 1.688 kB / 0.5065 GB, free: 7.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.1506, allocations: 278.4 kB / 0.5067 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.1514, allocations: 447.7 kB / 0.5072 GB, free: 6.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.1525, allocations: 285 kB / 0.5074 GB, free: 6.688 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003478/0.1529, allocations: 106.2 kB / 0.5075 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.1529, allocations: 0 / 0.5075 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.941e-05/0.1529, allocations: 39.88 kB / 0.5076 GB, free: 6.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.71e-07/0.1529, allocations: 0 / 0.5076 GB, free: 6.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.001124/0.1541, allocations: 310.4 kB / 0.5079 GB, free: 6.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1541, allocations: 53.09 kB / 0.5079 GB, free: 6.348 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.298e-05/0.1542, allocations: 119.9 kB / 0.508 GB, free: 6.234 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.1542, allocations: 25.7 kB / 0.5081 GB, free: 6.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.14e-05/0.1542, allocations: 90.78 kB / 0.5081 GB, free: 6.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.1543, allocations: 9.375 kB / 0.5081 GB, free: 6.105 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.1543, allocations: 18.56 kB / 0.5082 GB, free: 6.086 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.79e-05/0.1544, allocations: 316.6 kB / 0.5085 GB, free: 5.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000341/0.1547, allocations: 99.56 kB / 0.5086 GB, free: 5.719 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003257/0.155, allocations: 91.16 kB / 0.5086 GB, free: 5.676 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000626/0.1557, allocations: 175.6 kB / 0.5088 GB, free: 5.562 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.1557, allocations: 0 / 0.5088 GB, free: 5.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006717/0.1564, allocations: 221.4 kB / 0.509 GB, free: 5.34 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.1564, allocations: 4 kB / 0.509 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.1564, allocations: 0 / 0.509 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.1564, allocations: 4.328 kB / 0.509 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002407/0.1567, allocations: 27.95 kB / 0.5091 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1567, allocations: 0 / 0.5091 GB, free: 5.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.1569, allocations: 43.72 kB / 0.5091 GB, free: 5.262 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.1569, allocations: 4 kB / 0.5091 GB, free: 5.258 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 7.629e-05/0.157, allocations: 113.8 kB / 0.5092 GB, free: 5.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.157, allocations: 4 kB / 0.5092 GB, free: 5.133 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.673e-05/0.1571, allocations: 15.88 kB / 0.5092 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.1571, allocations: 0 / 0.5092 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1571, allocations: 0 / 0.5092 GB, free: 5.109 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.1571, allocations: 3.938 kB / 0.5092 GB, free: 5.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.1573, allocations: 213.5 kB / 0.5094 GB, free: 4.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1573, allocations: 4 kB / 0.5094 GB, free: 4.844 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.1575, allocations: 35.95 kB / 0.5095 GB, free: 4.809 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.1575, allocations: 3.938 kB / 0.5095 GB, free: 4.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1575, allocations: 4.359 kB / 0.5095 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.1575, allocations: 0 / 0.5095 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.1575, allocations: 0 / 0.5095 GB, free: 4.801 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006883/0.1582, allocations: 315.2 kB / 0.5098 GB, free: 4.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.1583, allocations: 85.05 kB / 0.5099 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.1583, allocations: 0 / 0.5099 GB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.1585, allocations: 27.95 kB / 0.5099 GB, free: 4.348 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1586, allocations: 15.92 kB / 0.5099 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.073e-06/0.1586, allocations: 0 / 0.5099 GB, free: 4.332 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.779e-05/0.1586, allocations: 99.27 kB / 0.51 GB, free: 4.234 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1586, allocations: 0 / 0.51 GB, free: 4.234 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002294/0.1589, allocations: 12 kB / 0.51 GB, free: 4.223 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 0.0001048/0.159, allocations: 95.19 kB / 0.5101 GB, free: 4.121 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007092/0.1597, allocations: 199.7 kB / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1597, allocations: 0 / 0.5103 GB, free: 3.926 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003196/0.16, allocations: 99.88 kB / 0.5104 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.1603, allocations: 0 / 0.5104 GB, free: 3.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008456/0.1611, allocations: 269.2 kB / 0.5107 GB, free: 3.539 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.1613, allocations: 0.6924 MB / 0.5113 GB, free: 2.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.426e-05/0.1613, allocations: 16 kB / 0.5113 GB, free: 2.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.1614, allocations: 19.36 kB / 0.5114 GB, free: 2.785 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1614, allocations: 0 / 0.5114 GB, free: 2.785 MB / 382.1 MB Notification: Performance of Templates: time 0.002661/0.1641, allocations: 0.939 MB / 0.5123 GB, free: 1.852 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)