Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.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.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009904, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.006729/0.006729, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.419/1.419, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7787/0.7787, allocations: 132.4 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003577/0.0003578, allocations: 16.73 kB / 0.504 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4862, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.0008768/0.4871, allocations: 332 kB / 0.584 GB, free: 3.824 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004857/0.4876, allocations: 161.9 kB / 0.5842 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.4876, allocations: 0.75 kB / 0.5842 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.175e-05/0.4876, allocations: 0 / 0.5842 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.648e-05/0.4877, allocations: 0 / 0.5842 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002635/0.488, allocations: 32.56 kB / 0.5842 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.785e-05/0.488, allocations: 17.3 kB / 0.5842 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.416e-05/0.4881, allocations: 4.234 kB / 0.5842 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.4881, allocations: 4.469 kB / 0.5842 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.968e-05/0.4882, allocations: 16.83 kB / 0.5842 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.4882, allocations: 1.25 kB / 0.5842 GB, free: 3.684 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.887e-05/0.4883, allocations: 31.92 kB / 0.5843 GB, free: 3.676 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.425e-05/0.4883, allocations: 5.547 kB / 0.5843 GB, free: 3.672 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.4883, allocations: 38 kB / 0.5843 GB, free: 3.633 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.4884, allocations: 25.5 kB / 0.5843 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.369e-06/0.4885, allocations: 1.781 kB / 0.5843 GB, free: 3.625 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4885, allocations: 0 / 0.5843 GB, free: 3.625 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.4885, allocations: 0 / 0.5843 GB, free: 3.625 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002524/0.4887, allocations: 326.4 kB / 0.5846 GB, free: 3.266 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.4888, allocations: 9.344 kB / 0.5846 GB, free: 3.266 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.353e-05/0.4888, allocations: 7.516 kB / 0.5847 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.832e-05/0.4889, allocations: 166.5 kB / 0.5848 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.4889, allocations: 1.094 kB / 0.5848 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.186e-05/0.4889, allocations: 2.875 kB / 0.5848 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.739e-05/0.489, allocations: 49.94 kB / 0.5849 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.489, allocations: 0.8438 kB / 0.5849 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.4891, allocations: 5.062 kB / 0.5849 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4891, allocations: 1.031 kB / 0.5849 GB, free: 3.016 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.454e-05/0.4891, allocations: 14.59 kB / 0.5849 GB, free: 3.012 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001241/0.4893, allocations: 170 kB / 0.585 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.4893, allocations: 38.89 kB / 0.5851 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.839e-05/0.4894, allocations: 31.14 kB / 0.5851 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001042/0.4895, allocations: 80.98 kB / 0.5852 GB, free: 2.664 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.4895, allocations: 32.41 kB / 0.5852 GB, free: 2.625 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.4895, allocations: 1.031 kB / 0.5852 GB, free: 2.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.001264/0.4908, allocations: 498.3 kB / 0.5857 GB, free: 2.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.4908, allocations: 53.25 kB / 0.5857 GB, free: 2.148 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.233e-05/0.4909, allocations: 91.64 kB / 0.5858 GB, free: 2.051 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.4909, allocations: 26.39 kB / 0.5859 GB, free: 2.02 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.89e-05/0.4909, allocations: 80.75 kB / 0.5859 GB, free: 1.938 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.491, allocations: 27.23 kB / 0.586 GB, free: 1.918 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.595e-05/0.491, allocations: 17.16 kB / 0.586 GB, free: 1.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.339e-05/0.4911, allocations: 317.5 kB / 0.5863 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.432e-05/0.4911, allocations: 12.89 kB / 0.5863 GB, free: 1.578 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.537e-05/0.4911, allocations: 17 kB / 0.5863 GB, free: 1.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.222e-05/0.4912, allocations: 32.05 kB / 0.5863 GB, free: 1.555 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.4912, allocations: 1.406 kB / 0.5863 GB, free: 1.555 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 9.926e-05/0.4913, allocations: 70.38 kB / 0.5864 GB, free: 1.508 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.4913, allocations: 11.05 kB / 0.5864 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.4913, allocations: 80 / 0.5864 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.4914, allocations: 0 / 0.5864 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.909e-05/0.4914, allocations: 14.61 kB / 0.5864 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.4915, allocations: 11.92 kB / 0.5864 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.18e-05/0.4915, allocations: 0 / 0.5864 GB, free: 1.492 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4915, allocations: 7.703 kB / 0.5865 GB, free: 1.488 MB / 430.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 (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 5.315e-05/0.4916, allocations: 110.4 kB / 0.5866 GB, free: 1.375 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.204e-05/0.4916, allocations: 6.328 kB / 0.5866 GB, free: 1.371 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.4917, allocations: 83.38 kB / 0.5866 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4917, allocations: 5.125 kB / 0.5866 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4918, allocations: 0.7812 kB / 0.5867 GB, free: 1.312 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.4918, allocations: 4.562 kB / 0.5867 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.125e-05/0.4918, allocations: 167.1 kB / 0.5868 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4919, allocations: 0.5938 kB / 0.5868 GB, free: 1.109 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.456e-05/0.4919, allocations: 20.72 kB / 0.5868 GB, free: 1.102 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.4919, allocations: 5.359 kB / 0.5868 GB, free: 1.098 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.492, allocations: 5.375 kB / 0.5868 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.492, allocations: 1.625 kB / 0.5868 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.492, allocations: 0 / 0.5868 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001598/0.4921, allocations: 117.6 kB / 0.587 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.765e-05/0.4922, allocations: 83.7 kB / 0.587 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.4922, allocations: 1.688 kB / 0.587 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.424e-05/0.4922, allocations: 2.219 kB / 0.587 GB, free: 0.9062 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.743e-05/0.4923, allocations: 8.141 kB / 0.587 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4923, allocations: 6.25 kB / 0.5871 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.687e-05/0.4923, allocations: 78.22 kB / 0.5871 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4923, allocations: 0 / 0.5871 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002235/0.4925, allocations: 28.95 kB / 0.5872 GB, free: 0.8203 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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 Backend phase and start with SimCode phase: time 0.0001973/0.4927, allocations: 134.8 kB / 0.5873 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.4928, allocations: 37.62 kB / 0.5873 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4929, allocations: 0 / 0.5873 GB, free: 0.707 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.346e-05/0.4929, allocations: 25.14 kB / 0.5873 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001414/0.493, allocations: 2.5 kB / 0.5873 GB, free: 0.6992 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.4933, allocations: 155.1 kB / 0.5875 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001661/0.4935, allocations: 0.6798 MB / 0.5882 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.576e-05/0.4935, allocations: 6.062 kB / 0.5882 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.4936, allocations: 19.48 kB / 0.5882 GB, free: 15.85 MB / 446.1 MB Notification: Performance of SimCode: time 3.3e-07/0.4936, allocations: 0 / 0.5882 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Templates: time 0.003048/0.4966, allocations: 0.845 MB / 0.589 GB, free: 15.76 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck.pipe 2>&1)