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.001116/0.001116, allocations: 103.9 kB / 15.98 MB, free: 6.348 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.001193/0.001194, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.272/1.272, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7637/0.7637, allocations: 132.2 MB / 422.9 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001058/0.001058, allocations: 67.89 kB / 0.5019 GB, free: 12.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3623/0.3634, allocations: 80.18 MB / 0.5802 GB, free: 27.23 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002622/0.3661, allocations: 1.822 MB / 0.582 GB, free: 25.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008617/0.3669, allocations: 0.6637 MB / 0.5826 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.556e-05/0.367, allocations: 2.375 kB / 0.5826 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.862e-05/0.3671, allocations: 3.938 kB / 0.5826 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.3672, allocations: 15.55 kB / 0.5827 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004985/0.3677, allocations: 156.3 kB / 0.5828 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3678, allocations: 125 kB / 0.5829 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001368/0.3679, allocations: 46.41 kB / 0.583 GB, free: 25.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3681, allocations: 61.98 kB / 0.583 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.394e-05/0.3681, allocations: 55.62 kB / 0.5831 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.3682, allocations: 10.97 kB / 0.5831 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.3683, allocations: 48.72 kB / 0.5831 GB, free: 24.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.3683, allocations: 29.25 kB / 0.5832 GB, free: 24.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.424e-05/0.3684, allocations: 58.17 kB / 0.5832 GB, free: 24.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.3685, allocations: 93.36 kB / 0.5833 GB, free: 24.86 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3685, allocations: 0 / 0.5833 GB, free: 24.86 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3686, allocations: 1.312 kB / 0.5833 GB, free: 24.86 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.3686, allocations: 0 / 0.5833 GB, free: 24.86 MB / 446.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.0005475/0.3691, allocations: 446.2 kB / 0.5837 GB, free: 24.43 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3692, allocations: 9.219 kB / 0.5838 GB, free: 24.43 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008324/0.37, allocations: 112.2 kB / 0.5839 GB, free: 24.38 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.3701, allocations: 188.5 kB / 0.584 GB, free: 24.16 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.652e-05/0.3702, allocations: 63.78 kB / 0.5841 GB, free: 24.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.485e-05/0.3702, allocations: 9.438 kB / 0.5841 GB, free: 24.09 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.3707, allocations: 172.7 kB / 0.5843 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.3707, allocations: 3.938 kB / 0.5843 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.375e-05/0.3708, allocations: 6.781 kB / 0.5843 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.3708, allocations: 1.312 kB / 0.5843 GB, free: 23.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005633/0.3714, allocations: 158.2 kB / 0.5844 GB, free: 23.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001015/0.3724, allocations: 488.4 kB / 0.5849 GB, free: 23.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009401/0.3733, allocations: 218.7 kB / 0.5851 GB, free: 23.35 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002715/0.3736, allocations: 80.38 kB / 0.5852 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.741e-05/0.3736, allocations: 1.531 kB / 0.5852 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.3737, allocations: 33.03 kB / 0.5852 GB, free: 23.27 MB / 446.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.3737, allocations: 0 / 0.5852 GB, free: 23.27 MB / 446.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009407/0.3746, allocations: 267.6 kB / 0.5855 GB, free: 23.12 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.509e-05/0.3747, allocations: 56.59 kB / 0.5855 GB, free: 23.05 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.266e-05/0.3748, allocations: 139 kB / 0.5857 GB, free: 22.93 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.3748, allocations: 29.64 kB / 0.5857 GB, free: 22.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.081e-05/0.3748, allocations: 111.2 kB / 0.5858 GB, free: 22.79 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.3749, allocations: 18.17 kB / 0.5858 GB, free: 22.77 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3749, allocations: 24.36 kB / 0.5858 GB, free: 22.75 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.892e-05/0.375, allocations: 318.4 kB / 0.5861 GB, free: 22.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002816/0.3753, allocations: 79.94 kB / 0.5862 GB, free: 22.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.3755, allocations: 91.78 kB / 0.5863 GB, free: 22.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005331/0.3761, allocations: 164.8 kB / 0.5865 GB, free: 22.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.3761, allocations: 0 / 0.5865 GB, free: 22.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006057/0.3767, allocations: 199.8 kB / 0.5867 GB, free: 22.13 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.3767, allocations: 6.406 kB / 0.5867 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.3767, allocations: 0 / 0.5867 GB, free: 22.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3768, allocations: 6.344 kB / 0.5867 GB, free: 22.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.377, allocations: 39.34 kB / 0.5867 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.377, allocations: 5.141 kB / 0.5867 GB, free: 22.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002077/0.3773, allocations: 30.75 kB / 0.5867 GB, free: 22.09 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.3773, allocations: 2.75 kB / 0.5867 GB, free: 22.09 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 7.904e-05/0.3774, allocations: 123.5 kB / 0.5869 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.3774, allocations: 9.312 kB / 0.5869 GB, free: 21.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000654/0.3781, allocations: 218 kB / 0.5871 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.3781, allocations: 0 / 0.5871 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3781, allocations: 1.25 kB / 0.5871 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3781, allocations: 1.656 kB / 0.5871 GB, free: 21.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/0.3783, allocations: 231 kB / 0.5873 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3783, allocations: 3.984 kB / 0.5873 GB, free: 21.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/0.3785, allocations: 36.44 kB / 0.5873 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.3786, allocations: 0 / 0.5873 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3786, allocations: 5.719 kB / 0.5873 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.3786, allocations: 1.125 kB / 0.5873 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.3786, allocations: 0.9688 kB / 0.5873 GB, free: 21.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005966/0.3792, allocations: 289.3 kB / 0.5876 GB, free: 21.34 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.383e-05/0.3792, allocations: 85.52 kB / 0.5877 GB, free: 21.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.3792, allocations: 5.375 kB / 0.5877 GB, free: 21.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.3796, allocations: 28.14 kB / 0.5877 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.3796, allocations: 6.891 kB / 0.5877 GB, free: 21.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.3797, allocations: 15.08 kB / 0.5878 GB, free: 21.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.421e-05/0.3797, allocations: 100.7 kB / 0.5878 GB, free: 21.13 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3797, allocations: 0 / 0.5878 GB, free: 21.13 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004741/0.3802, allocations: 27.5 kB / 0.5879 GB, free: 21.12 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.0001373/0.3804, allocations: 99.34 kB / 0.588 GB, free: 21.03 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006443/0.381, allocations: 167.1 kB / 0.5881 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.381, allocations: 1.375 kB / 0.5881 GB, free: 20.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002959/0.3813, allocations: 82.97 kB / 0.5882 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3817, allocations: 13.59 kB / 0.5882 GB, free: 20.91 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006225/0.3823, allocations: 320.3 kB / 0.5885 GB, free: 20.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.3825, allocations: 0.7013 MB / 0.5892 GB, free: 19.94 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.642e-05/0.3825, allocations: 21.73 kB / 0.5892 GB, free: 19.92 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3825, allocations: 0 / 0.5892 GB, free: 19.92 MB / 446.1 MB Notification: Performance of Templates: time 0.002936/0.3855, allocations: 1.594 MB / 0.5908 GB, free: 19.14 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)