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.007412/0.007412, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001298/0.001298, allocations: 196.7 kB / 16.67 MB, free: 5.461 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.575/1.575, allocations: 205.1 MB / 222.5 MB, free: 4.387 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4298/0.4298, allocations: 54.95 MB / 324.9 MB, free: 100 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.001569/0.001569, allocations: 72.31 kB / 456.3 MB, free: 38.24 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.1499, allocations: 59.58 MB / 0.5037 GB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.00265/0.1526, allocations: 1.423 MB / 0.5051 GB, free: 8.719 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.1537, allocations: 0.5839 MB / 0.5057 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.626e-05/0.1537, allocations: 0 / 0.5057 GB, free: 8.262 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.1538, allocations: 3.938 kB / 0.5057 GB, free: 8.258 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 6.757e-05/0.1538, allocations: 9.297 kB / 0.5057 GB, free: 8.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.1542, allocations: 50.95 kB / 0.5058 GB, free: 8.215 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001035/0.1543, allocations: 34.84 kB / 0.5058 GB, free: 8.191 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.1544, allocations: 8.125 kB / 0.5058 GB, free: 8.188 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.1545, allocations: 17.42 kB / 0.5058 GB, free: 8.176 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.347e-05/0.1546, allocations: 8.125 kB / 0.5058 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.755e-05/0.1546, allocations: 1.375 kB / 0.5058 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000139/0.1548, allocations: 59.38 kB / 0.5059 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.521e-05/0.1548, allocations: 7.922 kB / 0.5059 GB, free: 8.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.739e-05/0.1548, allocations: 12.06 kB / 0.5059 GB, free: 8.125 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001673/0.155, allocations: 61.86 kB / 0.506 GB, free: 8.086 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.842e-06/0.155, allocations: 0 / 0.506 GB, free: 8.086 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.155, allocations: 4 kB / 0.506 GB, free: 8.082 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.745e-06/0.155, allocations: 1.375 kB / 0.506 GB, free: 8.082 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.0004472/0.1555, allocations: 349.1 kB / 0.5063 GB, free: 7.707 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/0.1555, allocations: 13.56 kB / 0.5063 GB, free: 7.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.312e-05/0.1556, allocations: 10.16 kB / 0.5063 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.865e-05/0.1557, allocations: 163.1 kB / 0.5065 GB, free: 7.5 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.1557, allocations: 4.375 kB / 0.5065 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1557, allocations: 5.312 kB / 0.5065 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001421/0.1559, allocations: 41.94 kB / 0.5065 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.1559, allocations: 4 kB / 0.5065 GB, free: 7.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.1559, allocations: 3.984 kB / 0.5065 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.1559, allocations: 1.375 kB / 0.5065 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.453e-05/0.156, allocations: 22.92 kB / 0.5066 GB, free: 7.434 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003416/0.1564, allocations: 255.8 kB / 0.5068 GB, free: 7.145 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.178e-05/0.1564, allocations: 32.19 kB / 0.5068 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.1565, allocations: 22.34 kB / 0.5069 GB, free: 7.094 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007354/0.1572, allocations: 472.8 kB / 0.5073 GB, free: 6.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.1573, allocations: 32.03 kB / 0.5073 GB, free: 6.551 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.1573, allocations: 4 kB / 0.5073 GB, free: 6.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002362/0.1575, allocations: 66.64 kB / 0.5074 GB, free: 6.496 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.1576, allocations: 52.56 kB / 0.5075 GB, free: 6.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.1576, allocations: 106.6 kB / 0.5076 GB, free: 6.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.768e-06/0.1577, allocations: 26.7 kB / 0.5076 GB, free: 6.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.1577, allocations: 85.61 kB / 0.5077 GB, free: 6.211 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.1577, allocations: 12.95 kB / 0.5077 GB, free: 6.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.1578, allocations: 20.59 kB / 0.5077 GB, free: 6.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.303e-05/0.1578, allocations: 316.3 kB / 0.508 GB, free: 5.859 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.143e-05/0.1579, allocations: 13.11 kB / 0.508 GB, free: 5.852 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.997e-05/0.1579, allocations: 5.969 kB / 0.508 GB, free: 5.852 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.118e-05/0.158, allocations: 29.25 kB / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.158, allocations: 0 / 0.508 GB, free: 5.832 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001068/0.1581, allocations: 58.67 kB / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.1581, allocations: 4.906 kB / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1581, allocations: 1.344 kB / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1582, allocations: 0 / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.1582, allocations: 5.156 kB / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.1582, allocations: 0 / 0.5081 GB, free: 5.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.45e-05/0.1583, allocations: 9.156 kB / 0.5081 GB, free: 5.777 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.364e-06/0.1583, allocations: 5.234 kB / 0.5081 GB, free: 5.773 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.323e-05/0.1584, allocations: 116.4 kB / 0.5082 GB, free: 5.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.401e-05/0.1584, allocations: 9.203 kB / 0.5082 GB, free: 5.645 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.1585, allocations: 65.8 kB / 0.5083 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.804e-06/0.1586, allocations: 0 / 0.5083 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1586, allocations: 1.344 kB / 0.5083 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.1586, allocations: 0 / 0.5083 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1587, allocations: 163.9 kB / 0.5085 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1587, allocations: 0 / 0.5085 GB, free: 5.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.1588, allocations: 8.922 kB / 0.5085 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1588, allocations: 32 / 0.5085 GB, free: 5.379 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.1588, allocations: 5.5 kB / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1588, allocations: 0 / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.1588, allocations: 0 / 0.5085 GB, free: 5.375 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1589, allocations: 157.6 kB / 0.5086 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.015e-05/0.159, allocations: 82.55 kB / 0.5087 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.159, allocations: 0 / 0.5087 GB, free: 5.125 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.059e-05/0.159, allocations: 9.531 kB / 0.5087 GB, free: 5.117 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.1591, allocations: 5.547 kB / 0.5087 GB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.1591, allocations: 1.375 kB / 0.5087 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.1591, allocations: 90.11 kB / 0.5088 GB, free: 5.031 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1591, allocations: 0 / 0.5088 GB, free: 5.031 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000247/0.1594, allocations: 20.31 kB / 0.5088 GB, free: 5.023 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.0001577/0.1595, allocations: 109.1 kB / 0.5089 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001377/0.1597, allocations: 30.05 kB / 0.509 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1597, allocations: 0 / 0.509 GB, free: 4.914 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.095e-05/0.1597, allocations: 15.86 kB / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002187/0.16, allocations: 1.969 kB / 0.509 GB, free: 4.906 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002711/0.1602, allocations: 136.8 kB / 0.5091 GB, free: 4.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000109/0.1604, allocations: 0.6792 MB / 0.5098 GB, free: 4.07 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.219e-05/0.1604, allocations: 5.375 kB / 0.5098 GB, free: 4.066 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.837e-05/0.1604, allocations: 9.25 kB / 0.5098 GB, free: 4.059 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1604, allocations: 3.938 kB / 0.5098 GB, free: 4.055 MB / 382.1 MB Notification: Performance of Templates: time 0.002868/0.1633, allocations: 0.6777 MB / 0.5105 GB, free: 3.582 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)