Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") translateModel(Annex60.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009492/0.009493, allocations: 101.9 kB / 15.73 MB, free: 5.516 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.00224/0.00224, allocations: 203.4 kB / 16.68 MB, free: 5.445 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.626/1.626, allocations: 205.1 MB / 222.6 MB, free: 4.332 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4158/0.4158, allocations: 54.94 MB / 324.8 MB, free: 80 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.001544/0.001544, allocations: 69.52 kB / 456.3 MB, free: 38.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1716, allocations: 59.59 MB / 0.5038 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothExponential): time 0.002773/0.1745, allocations: 1.407 MB / 0.5052 GB, free: 8.684 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004473/0.1749, allocations: 171.5 kB / 0.5053 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.175, allocations: 0 / 0.5053 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.175, allocations: 3.938 kB / 0.5053 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.1751, allocations: 9.25 kB / 0.5053 GB, free: 8.543 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.1754, allocations: 41.64 kB / 0.5054 GB, free: 8.516 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.121e-05/0.1755, allocations: 24.17 kB / 0.5054 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.1756, allocations: 8.125 kB / 0.5054 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.1757, allocations: 6.75 kB / 0.5054 GB, free: 8.492 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.1757, allocations: 12.05 kB / 0.5054 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.1757, allocations: 1.375 kB / 0.5054 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.1758, allocations: 32.47 kB / 0.5054 GB, free: 8.469 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.1759, allocations: 13.34 kB / 0.5055 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.1759, allocations: 10.69 kB / 0.5055 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001408/0.176, allocations: 34.89 kB / 0.5055 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1761, allocations: 0 / 0.5055 GB, free: 8.426 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.1761, allocations: 0 / 0.5055 GB, free: 8.426 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.1761, allocations: 0 / 0.5055 GB, free: 8.426 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.0004418/0.1765, allocations: 350.4 kB / 0.5058 GB, free: 8.051 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.1766, allocations: 9.625 kB / 0.5058 GB, free: 8.051 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1766, allocations: 6.266 kB / 0.5059 GB, free: 8.047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.1767, allocations: 167.1 kB / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.1767, allocations: 384 / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.1768, allocations: 1.75 kB / 0.506 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1769, allocations: 52.61 kB / 0.5061 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.177, allocations: 5.375 kB / 0.5061 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.177, allocations: 3.938 kB / 0.5061 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.177, allocations: 0 / 0.5061 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001617/0.1772, allocations: 31.22 kB / 0.5061 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003942/0.1776, allocations: 261.1 kB / 0.5064 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.1777, allocations: 40.31 kB / 0.5064 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.18e-05/0.1778, allocations: 26.39 kB / 0.5064 GB, free: 7.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.753e-05/0.1779, allocations: 83.86 kB / 0.5065 GB, free: 7.332 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.535e-05/0.1779, allocations: 34.5 kB / 0.5065 GB, free: 7.289 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.1779, allocations: 1.375 kB / 0.5065 GB, free: 7.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003405/0.1783, allocations: 83.84 kB / 0.5066 GB, free: 7.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.486e-05/0.1783, allocations: 56.78 kB / 0.5067 GB, free: 7.164 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.197e-05/0.1784, allocations: 99.34 kB / 0.5068 GB, free: 7.062 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.406e-06/0.1784, allocations: 31.02 kB / 0.5068 GB, free: 7.027 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.1784, allocations: 85.52 kB / 0.5069 GB, free: 6.941 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.1784, allocations: 7.891 kB / 0.5069 GB, free: 6.934 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/0.1785, allocations: 16.47 kB / 0.5069 GB, free: 6.914 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.73e-05/0.1785, allocations: 320.3 kB / 0.5072 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.1786, allocations: 17.59 kB / 0.5072 GB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.765e-05/0.1787, allocations: 17.61 kB / 0.5072 GB, free: 6.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1788, allocations: 38.64 kB / 0.5073 GB, free: 6.555 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1788, allocations: 1.375 kB / 0.5073 GB, free: 6.555 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001732/0.179, allocations: 73.08 kB / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.179, allocations: 4.125 kB / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.179, allocations: 1.375 kB / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/0.1791, allocations: 0 / 0.5073 GB, free: 6.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.589e-05/0.1791, allocations: 10.64 kB / 0.5074 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.1792, allocations: 0 / 0.5074 GB, free: 6.496 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1792, allocations: 12.02 kB / 0.5074 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.1792, allocations: 0 / 0.5074 GB, free: 6.488 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.759e-05/0.1793, allocations: 117 kB / 0.5075 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.323e-05/0.1793, allocations: 0 / 0.5075 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002143/0.1795, allocations: 79.83 kB / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.1795, allocations: 0 / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.1795, allocations: 1.156 kB / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1795, allocations: 0 / 0.5076 GB, free: 6.305 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.1797, allocations: 166.1 kB / 0.5077 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.1797, allocations: 4.031 kB / 0.5077 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.181e-05/0.1797, allocations: 6.375 kB / 0.5077 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.1797, allocations: 5.266 kB / 0.5077 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.1798, allocations: 0 / 0.5077 GB, free: 6.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1798, allocations: 3.938 kB / 0.5077 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1798, allocations: 1.375 kB / 0.5077 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001995/0.18, allocations: 171 kB / 0.5079 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.088e-05/0.18, allocations: 78.02 kB / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.18, allocations: 5.031 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.956e-05/0.1801, allocations: 3.625 kB / 0.508 GB, free: 5.828 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.1801, allocations: 5.297 kB / 0.508 GB, free: 5.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.678e-06/0.1802, allocations: 1.312 kB / 0.508 GB, free: 5.824 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.807e-05/0.1802, allocations: 83.03 kB / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1802, allocations: 0 / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002201/0.1804, allocations: 9.344 kB / 0.5081 GB, free: 5.746 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.0001457/0.1806, allocations: 111.5 kB / 0.5082 GB, free: 5.645 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002105/0.1808, allocations: 37.66 kB / 0.5082 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1808, allocations: 0 / 0.5082 GB, free: 5.629 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.623e-05/0.1809, allocations: 31.75 kB / 0.5082 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002971/0.1812, allocations: 2.469 kB / 0.5082 GB, free: 5.609 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002682/0.1815, allocations: 105.9 kB / 0.5084 GB, free: 5.492 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.1816, allocations: 0.674 MB / 0.509 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.35e-05/0.1816, allocations: 3.984 kB / 0.509 GB, free: 4.793 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.768e-05/0.1816, allocations: 9 kB / 0.509 GB, free: 4.785 MB / 382.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1816, allocations: 0 / 0.509 GB, free: 4.785 MB / 382.1 MB Notification: Performance of Templates: time 0.002902/0.1846, allocations: 0.58 MB / 0.5096 GB, free: 4.484 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)