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.0103/0.0103, allocations: 96.31 kB / 15.73 MB, free: 6.035 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.00254/0.00254, allocations: 195.6 kB / 16.67 MB, free: 5.961 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.555/1.555, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4371/0.4371, allocations: 54.95 MB / 324.9 MB, free: 8 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.001549/0.001549, allocations: 66.64 kB / 456.2 MB, free: 38.41 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1438, allocations: 59.6 MB / 0.5037 GB, free: 9.855 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothLimit): time 0.002287/0.1462, allocations: 1.412 MB / 0.5051 GB, free: 8.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000835/0.147, allocations: 0.5993 MB / 0.5057 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.1471, allocations: 0 / 0.5057 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 3.106e-05/0.1471, allocations: 3.938 kB / 0.5057 GB, free: 8.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.095e-05/0.1472, allocations: 5.562 kB / 0.5057 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003044/0.1475, allocations: 43.52 kB / 0.5057 GB, free: 8.242 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.688e-05/0.1476, allocations: 26.02 kB / 0.5058 GB, free: 8.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.1477, allocations: 12.2 kB / 0.5058 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.1478, allocations: 13.91 kB / 0.5058 GB, free: 8.211 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.1479, allocations: 18.91 kB / 0.5058 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.1479, allocations: 2.75 kB / 0.5058 GB, free: 8.195 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001411/0.1481, allocations: 54.95 kB / 0.5059 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.723e-05/0.1481, allocations: 5 kB / 0.5059 GB, free: 8.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1481, allocations: 10.66 kB / 0.5059 GB, free: 8.156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.1483, allocations: 70.23 kB / 0.5059 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.1483, allocations: 0 / 0.5059 GB, free: 8.109 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1483, allocations: 0 / 0.5059 GB, free: 8.109 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.504e-06/0.1484, allocations: 1.5 kB / 0.5059 GB, free: 8.109 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.000408/0.1488, allocations: 360.7 kB / 0.5063 GB, free: 7.723 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.1488, allocations: 8.594 kB / 0.5063 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.708e-05/0.1489, allocations: 3.562 kB / 0.5063 GB, free: 7.723 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.1489, allocations: 182.8 kB / 0.5065 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.201e-05/0.149, allocations: 384 / 0.5065 GB, free: 7.508 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.149, allocations: 4.812 kB / 0.5065 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001345/0.1491, allocations: 42.38 kB / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.1491, allocations: 0 / 0.5065 GB, free: 7.465 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-06/0.1492, allocations: 4 kB / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.117e-06/0.1492, allocations: 1.219 kB / 0.5065 GB, free: 7.461 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.823e-05/0.1493, allocations: 19.42 kB / 0.5065 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003041/0.1496, allocations: 254.8 kB / 0.5068 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.813e-05/0.1497, allocations: 29.3 kB / 0.5068 GB, free: 7.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.592e-05/0.1497, allocations: 18.38 kB / 0.5068 GB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/0.1504, allocations: 480.6 kB / 0.5073 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.1504, allocations: 36.34 kB / 0.5073 GB, free: 6.566 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.1505, allocations: 0 / 0.5073 GB, free: 6.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002461/0.1507, allocations: 69.75 kB / 0.5074 GB, free: 6.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.268e-05/0.1507, allocations: 52.53 kB / 0.5074 GB, free: 6.449 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.539e-05/0.1508, allocations: 111.3 kB / 0.5075 GB, free: 6.34 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.103e-05/0.1509, allocations: 27.05 kB / 0.5076 GB, free: 6.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.38e-05/0.1509, allocations: 81.33 kB / 0.5076 GB, free: 6.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.1509, allocations: 9.203 kB / 0.5077 GB, free: 6.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1509, allocations: 12.12 kB / 0.5077 GB, free: 6.203 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.673e-05/0.151, allocations: 328 kB / 0.508 GB, free: 5.875 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.254e-05/0.1511, allocations: 9.938 kB / 0.508 GB, free: 5.871 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.288e-05/0.1511, allocations: 9.141 kB / 0.508 GB, free: 5.867 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.251e-05/0.1512, allocations: 25.22 kB / 0.508 GB, free: 5.852 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1512, allocations: 0 / 0.508 GB, free: 5.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001091/0.1513, allocations: 59.19 kB / 0.5081 GB, free: 5.805 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.1513, allocations: 10 kB / 0.5081 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.1513, allocations: 0 / 0.5081 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.1513, allocations: 0 / 0.5081 GB, free: 5.801 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.1514, allocations: 8.953 kB / 0.5081 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.1514, allocations: 0 / 0.5081 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.022e-05/0.1515, allocations: 1.375 kB / 0.5081 GB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.1515, allocations: 1.75 kB / 0.5081 GB, free: 5.797 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.384e-05/0.1515, allocations: 114.9 kB / 0.5082 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.1516, allocations: 6.078 kB / 0.5082 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000166/0.1517, allocations: 70.11 kB / 0.5083 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1518, allocations: 0 / 0.5083 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.1518, allocations: 1.375 kB / 0.5083 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.1518, allocations: 0 / 0.5083 GB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001227/0.1519, allocations: 163.3 kB / 0.5084 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1519, allocations: 0 / 0.5084 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.779e-05/0.152, allocations: 5.531 kB / 0.5084 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.152, allocations: 0 / 0.5084 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.12e-05/0.152, allocations: 11.98 kB / 0.5085 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.152, allocations: 5.75 kB / 0.5085 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.152, allocations: 0 / 0.5085 GB, free: 5.391 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001336/0.1521, allocations: 145.1 kB / 0.5086 GB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.1522, allocations: 82.31 kB / 0.5087 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.3e-05/0.1522, allocations: 0 / 0.5087 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.986e-05/0.1523, allocations: 7.391 kB / 0.5087 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.976e-05/0.1523, allocations: 4 kB / 0.5087 GB, free: 5.145 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.1523, allocations: 5.25 kB / 0.5087 GB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.163e-05/0.1523, allocations: 89.02 kB / 0.5088 GB, free: 5.059 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1523, allocations: 0 / 0.5088 GB, free: 5.059 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002324/0.1526, allocations: 24.38 kB / 0.5088 GB, free: 5.047 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.0001592/0.1528, allocations: 118.3 kB / 0.5089 GB, free: 4.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.1529, allocations: 21.67 kB / 0.5089 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1529, allocations: 0 / 0.5089 GB, free: 4.938 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.153, allocations: 13.03 kB / 0.5089 GB, free: 4.934 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002129/0.1532, allocations: 5.156 kB / 0.5089 GB, free: 4.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.1535, allocations: 130.7 kB / 0.5091 GB, free: 4.797 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.1536, allocations: 0.6794 MB / 0.5097 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.514e-05/0.1537, allocations: 1.5 kB / 0.5097 GB, free: 4.098 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.067e-05/0.1537, allocations: 8.688 kB / 0.5097 GB, free: 4.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1537, allocations: 4.062 kB / 0.5097 GB, free: 4.086 MB / 382.1 MB Notification: Performance of Templates: time 0.003194/0.1569, allocations: 0.6725 MB / 0.5104 GB, free: 3.707 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)