Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") translateModel(Annex60.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005922/0.005922, allocations: 95.61 kB / 15.73 MB, free: 6.055 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.001199/0.0012, allocations: 197.8 kB / 16.67 MB, free: 5.977 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.522/1.522, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4133/0.4133, allocations: 54.95 MB / 324.9 MB, free: 48 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.001478/0.001479, allocations: 66.03 kB / 456.2 MB, free: 38.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1785, allocations: 59.59 MB / 0.5037 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Examples.SmoothBlocks): time 0.00456/0.1832, allocations: 1.741 MB / 0.5054 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001745/0.185, allocations: 0.6882 MB / 0.5061 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.043e-05/0.1851, allocations: 1.438 kB / 0.5061 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 5.3e-05/0.1851, allocations: 11.86 kB / 0.5061 GB, free: 7.965 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.1852, allocations: 17.2 kB / 0.5061 GB, free: 7.949 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008002/0.1861, allocations: 176.8 kB / 0.5063 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.1863, allocations: 120.1 kB / 0.5064 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002466/0.1866, allocations: 51.41 kB / 0.5065 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001816/0.1868, allocations: 65.91 kB / 0.5065 GB, free: 7.695 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.1869, allocations: 48.62 kB / 0.5066 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.731e-05/0.187, allocations: 9.812 kB / 0.5066 GB, free: 7.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.1872, allocations: 44.19 kB / 0.5066 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.29e-05/0.1872, allocations: 37.39 kB / 0.5067 GB, free: 7.613 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.442e-05/0.1873, allocations: 61.45 kB / 0.5067 GB, free: 7.566 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.1876, allocations: 136.6 kB / 0.5069 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1877, allocations: 0 / 0.5069 GB, free: 7.473 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1877, allocations: 0 / 0.5069 GB, free: 7.473 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.1877, allocations: 5.359 kB / 0.5069 GB, free: 7.469 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007356/0.1884, allocations: 441.4 kB / 0.5073 GB, free: 7.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.1885, allocations: 9.625 kB / 0.5073 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/0.1895, allocations: 113.1 kB / 0.5074 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1897, allocations: 189.1 kB / 0.5076 GB, free: 6.766 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.1898, allocations: 66.59 kB / 0.5076 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.318e-05/0.1899, allocations: 5.5 kB / 0.5077 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007294/0.1906, allocations: 171.3 kB / 0.5078 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.1907, allocations: 0 / 0.5078 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.39e-05/0.1907, allocations: 1.25 kB / 0.5078 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.1907, allocations: 1.344 kB / 0.5078 GB, free: 6.586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008303/0.1916, allocations: 169.2 kB / 0.508 GB, free: 6.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001424/0.193, allocations: 493.2 kB / 0.5085 GB, free: 6 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.1942, allocations: 222.3 kB / 0.5087 GB, free: 5.773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.1946, allocations: 84.84 kB / 0.5087 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.42e-05/0.1946, allocations: 4 kB / 0.5087 GB, free: 5.684 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.1947, allocations: 34.5 kB / 0.5088 GB, free: 5.641 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.764e-06/0.1947, allocations: 0 / 0.5088 GB, free: 5.641 MB / 382.1 MB Notification: Performance of matching and sorting (n=6): time 0.00132/0.196, allocations: 261.3 kB / 0.509 GB, free: 5.379 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1961, allocations: 55.41 kB / 0.5091 GB, free: 5.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.1962, allocations: 133.8 kB / 0.5092 GB, free: 5.172 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.151e-05/0.1962, allocations: 29.7 kB / 0.5092 GB, free: 5.137 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.369e-05/0.1963, allocations: 112.2 kB / 0.5093 GB, free: 5.023 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.66e-05/0.1963, allocations: 23.84 kB / 0.5094 GB, free: 5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.341e-05/0.1964, allocations: 25.7 kB / 0.5094 GB, free: 4.969 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.322e-05/0.1965, allocations: 314.8 kB / 0.5097 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000374/0.1968, allocations: 75.91 kB / 0.5098 GB, free: 4.578 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/0.1972, allocations: 94.5 kB / 0.5099 GB, free: 4.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000728/0.198, allocations: 166.4 kB / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.198, allocations: 0 / 0.51 GB, free: 4.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008712/0.1989, allocations: 205.6 kB / 0.5102 GB, free: 4.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.1989, allocations: 8 kB / 0.5102 GB, free: 4.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.177e-06/0.1989, allocations: 12.05 kB / 0.5102 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.25e-05/0.199, allocations: 0 / 0.5102 GB, free: 4.078 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003341/0.1993, allocations: 35.95 kB / 0.5103 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.1993, allocations: 0 / 0.5103 GB, free: 4.043 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002429/0.1996, allocations: 27.91 kB / 0.5103 GB, free: 4.016 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.1996, allocations: 4 kB / 0.5103 GB, free: 4.012 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 0.0001292/0.1998, allocations: 125.8 kB / 0.5104 GB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.331e-05/0.1998, allocations: 15.84 kB / 0.5104 GB, free: 3.863 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009418/0.2008, allocations: 202.2 kB / 0.5106 GB, free: 3.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.2008, allocations: 4 kB / 0.5106 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.2008, allocations: 0 / 0.5106 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.2008, allocations: 0 / 0.5106 GB, free: 3.652 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2011, allocations: 238.3 kB / 0.5109 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.2011, allocations: 0 / 0.5109 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.2014, allocations: 43.83 kB / 0.5109 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.2015, allocations: 0 / 0.5109 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.2015, allocations: 0 / 0.5109 GB, free: 3.324 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2015, allocations: 4.156 kB / 0.5109 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.2015, allocations: 0 / 0.5109 GB, free: 3.32 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/0.2024, allocations: 279.3 kB / 0.5112 GB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.92e-05/0.2024, allocations: 93 kB / 0.5113 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.061e-05/0.2025, allocations: 0 / 0.5113 GB, free: 2.922 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003921/0.2029, allocations: 31.95 kB / 0.5113 GB, free: 2.891 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.764e-05/0.2029, allocations: 7.984 kB / 0.5113 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.544e-05/0.203, allocations: 11.92 kB / 0.5113 GB, free: 2.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.203, allocations: 106.2 kB / 0.5114 GB, free: 2.77 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2031, allocations: 0 / 0.5114 GB, free: 2.77 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003852/0.2034, allocations: 31.89 kB / 0.5114 GB, free: 2.738 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 (6): * Single equations (assignments): 6 * 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.0001418/0.2036, allocations: 103.2 kB / 0.5115 GB, free: 2.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007886/0.2044, allocations: 160 kB / 0.5117 GB, free: 2.473 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2044, allocations: 4.125 kB / 0.5117 GB, free: 2.469 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.2048, allocations: 87.84 kB / 0.5118 GB, free: 2.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004971/0.2053, allocations: 11.92 kB / 0.5118 GB, free: 2.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007978/0.2061, allocations: 251.3 kB / 0.512 GB, free: 2.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001585/0.2063, allocations: 0.7078 MB / 0.5127 GB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.00013/0.2064, allocations: 15.98 kB / 0.5127 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.2065, allocations: 15.42 kB / 0.5127 GB, free: 1.336 MB / 382.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2065, allocations: 4 kB / 0.5128 GB, free: 1.332 MB / 382.1 MB Notification: Performance of Templates: time 0.004877/0.2114, allocations: 1.476 MB / 0.5142 GB, free: 15.86 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)