Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008373/0.0008373, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005848/0.005848, allocations: 169.6 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.765/0.765, allocations: 132.4 MB / 423.8 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003641/0.0003642, allocations: 8 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5142/0.5146, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002239/0.5169, allocations: 1.482 MB / 0.5851 GB, free: 2.988 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.5182, allocations: 0.6541 MB / 0.5858 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.593e-05/0.5183, allocations: 1.125 kB / 0.5858 GB, free: 2.527 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.5184, allocations: 8.219 kB / 0.5858 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.5185, allocations: 15.78 kB / 0.5858 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.5191, allocations: 155 kB / 0.5859 GB, free: 2.438 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002185/0.5194, allocations: 115.9 kB / 0.586 GB, free: 2.391 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.5195, allocations: 46.58 kB / 0.5861 GB, free: 2.363 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.5197, allocations: 53.69 kB / 0.5861 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001041/0.5198, allocations: 38.72 kB / 0.5862 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.5199, allocations: 4.219 kB / 0.5862 GB, free: 2.32 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.52, allocations: 38.56 kB / 0.5862 GB, free: 2.312 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.5201, allocations: 27.12 kB / 0.5862 GB, free: 2.297 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 7.688e-05/0.5202, allocations: 67.69 kB / 0.5863 GB, free: 2.242 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.5205, allocations: 137.3 kB / 0.5864 GB, free: 2.195 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.5205, allocations: 0 / 0.5864 GB, free: 2.195 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.5205, allocations: 4 kB / 0.5864 GB, free: 2.191 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.014e-06/0.5205, allocations: 0 / 0.5864 GB, free: 2.191 MB / 430.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.0006279/0.5211, allocations: 412.5 kB / 0.5868 GB, free: 1.801 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.445e-05/0.5212, allocations: 12.59 kB / 0.5868 GB, free: 1.797 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.5222, allocations: 149.2 kB / 0.587 GB, free: 1.777 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.5223, allocations: 176 kB / 0.5872 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.5224, allocations: 71.28 kB / 0.5872 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/0.5225, allocations: 5.25 kB / 0.5872 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006472/0.5231, allocations: 198 kB / 0.5874 GB, free: 1.43 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.5232, allocations: 3.938 kB / 0.5874 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.736e-05/0.5232, allocations: 0.9688 kB / 0.5874 GB, free: 1.426 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.5232, allocations: 10.19 kB / 0.5874 GB, free: 1.418 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007237/0.5239, allocations: 195.9 kB / 0.5876 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001242/0.5252, allocations: 0.4955 MB / 0.5881 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001164/0.5264, allocations: 266 kB / 0.5884 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.5267, allocations: 100.1 kB / 0.5884 GB, free: 0.9336 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.5268, allocations: 6.219 kB / 0.5885 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/0.5268, allocations: 36.53 kB / 0.5885 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.5268, allocations: 0 / 0.5885 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.001194/0.528, allocations: 317.3 kB / 0.5888 GB, free: 0.793 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.371e-05/0.528, allocations: 52.78 kB / 0.5888 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.5282, allocations: 143.8 kB / 0.589 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.5282, allocations: 25.7 kB / 0.589 GB, free: 0.5859 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.029e-05/0.5283, allocations: 117.8 kB / 0.5891 GB, free: 488 kB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.432e-05/0.5283, allocations: 16.25 kB / 0.5891 GB, free: 476 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.5283, allocations: 13.02 kB / 0.5891 GB, free: 460 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.858e-05/0.5284, allocations: 320 kB / 0.5894 GB, free: 136 kB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003633/0.5288, allocations: 94.36 kB / 0.5895 GB, free: 116 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.5291, allocations: 116.5 kB / 0.5897 GB, free: 68 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006516/0.5298, allocations: 199.8 kB / 0.5898 GB, free: 0 / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5298, allocations: 1.641 kB / 0.5898 GB, free: 0 / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008357/0.5306, allocations: 236.6 kB / 0.5901 GB, free: 15.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.5307, allocations: 5.625 kB / 0.5901 GB, free: 15.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.5307, allocations: 5.406 kB / 0.5901 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.5307, allocations: 5.984 kB / 0.5901 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/0.531, allocations: 42.86 kB / 0.5901 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.531, allocations: 4.609 kB / 0.5901 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.5313, allocations: 45.48 kB / 0.5902 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.5313, allocations: 8.125 kB / 0.5902 GB, free: 15.89 MB / 446.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.0001192/0.5314, allocations: 115.9 kB / 0.5903 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.437e-05/0.5315, allocations: 7.062 kB / 0.5903 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008669/0.5324, allocations: 243.5 kB / 0.5905 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5324, allocations: 1.281 kB / 0.5905 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.5324, allocations: 0 / 0.5905 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5324, allocations: 2.094 kB / 0.5905 GB, free: 15.68 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/0.5327, allocations: 232.7 kB / 0.5908 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.5327, allocations: 0 / 0.5908 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.533, allocations: 47.69 kB / 0.5908 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.533, allocations: 1.375 kB / 0.5908 GB, free: 15.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/0.533, allocations: 6.312 kB / 0.5908 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.533, allocations: 1.188 kB / 0.5908 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5331, allocations: 3.938 kB / 0.5908 GB, free: 15.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008459/0.5339, allocations: 317 kB / 0.5911 GB, free: 15.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.727e-05/0.534, allocations: 84.52 kB / 0.5912 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.258e-05/0.534, allocations: 9.672 kB / 0.5912 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.5344, allocations: 44.67 kB / 0.5912 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.321e-05/0.5344, allocations: 4.484 kB / 0.5913 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.803e-05/0.5345, allocations: 11.14 kB / 0.5913 GB, free: 15.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.638e-05/0.5346, allocations: 104.4 kB / 0.5914 GB, free: 15.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5346, allocations: 0 / 0.5914 GB, free: 15.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003005/0.5349, allocations: 35.78 kB / 0.5914 GB, free: 15.07 MB / 446.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.0001733/0.5351, allocations: 99.19 kB / 0.5915 GB, free: 14.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008115/0.5359, allocations: 195.7 kB / 0.5917 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.5359, allocations: 5.5 kB / 0.5917 GB, free: 14.94 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003557/0.5363, allocations: 99.95 kB / 0.5918 GB, free: 14.92 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.5366, allocations: 17.73 kB / 0.5918 GB, free: 14.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007432/0.5373, allocations: 307.4 kB / 0.5921 GB, free: 14.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.5376, allocations: 0.6991 MB / 0.5928 GB, free: 14.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001107/0.5377, allocations: 20.06 kB / 0.5928 GB, free: 14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.5378, allocations: 12.44 kB / 0.5928 GB, free: 13.99 MB / 446.1 MB Notification: Performance of SimCode: time 4.7e-07/0.5378, allocations: 1.375 kB / 0.5928 GB, free: 13.99 MB / 446.1 MB Notification: Performance of Templates: time 0.004967/0.5428, allocations: 1.356 MB / 0.5941 GB, free: 13.89 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)