Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007042/0.007042, allocations: 101.1 kB / 15.73 MB, free: 6.047 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.001682/0.001682, allocations: 190.4 kB / 16.67 MB, free: 5.98 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.498/1.498, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8021/0.8021, allocations: 132.2 MB / 422.7 MB, free: 1.617 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 65.95 kB / 0.5814 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1876, allocations: 80.21 MB / 0.6597 GB, free: 13.42 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001727/0.1894, allocations: 0.5914 MB / 0.6603 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001248/0.1907, allocations: 1.111 MB / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.1907, allocations: 0 / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.618e-05/0.1907, allocations: 0 / 0.6614 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.191, allocations: 23.92 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.366e-06/0.191, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.156e-05/0.1911, allocations: 3.938 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.1911, allocations: 4 kB / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.1911, allocations: 0 / 0.6614 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.419e-05/0.1912, allocations: 7.984 kB / 0.6614 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.634e-06/0.1912, allocations: 3.938 kB / 0.6614 GB, free: 11.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001085/0.1913, allocations: 19.97 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.961e-06/0.1913, allocations: 0 / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.708e-05/0.1913, allocations: 11.94 kB / 0.6615 GB, free: 11.63 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.59e-05/0.1914, allocations: 11.97 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1914, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.714e-06/0.1914, allocations: 3.938 kB / 0.6615 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.1914, allocations: 0 / 0.6615 GB, free: 11.62 MB / 0.4981 GB 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.0002742/0.1917, allocations: 319.6 kB / 0.6618 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1918, allocations: 12.03 kB / 0.6618 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.1918, allocations: 4.922 kB / 0.6618 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.306e-05/0.1919, allocations: 160.4 kB / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.1919, allocations: 384 / 0.6619 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.1919, allocations: 4.375 kB / 0.6619 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.789e-05/0.192, allocations: 42 kB / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.1921, allocations: 0 / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1921, allocations: 0 / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1921, allocations: 0 / 0.662 GB, free: 11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.407e-05/0.1921, allocations: 4 kB / 0.662 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1923, allocations: 161.6 kB / 0.6621 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.1925, allocations: 30.72 kB / 0.6622 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.978e-05/0.1925, allocations: 8.844 kB / 0.6622 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001568/0.1926, allocations: 81.11 kB / 0.6623 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/0.1927, allocations: 38.44 kB / 0.6623 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.373e-06/0.1927, allocations: 4 kB / 0.6623 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.003948/0.1966, allocations: 0.5833 MB / 0.6629 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1967, allocations: 51.41 kB / 0.6629 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.314e-05/0.1967, allocations: 89.86 kB / 0.663 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.965e-05/0.1968, allocations: 25.7 kB / 0.663 GB, free: 9.805 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.342e-05/0.1968, allocations: 84.12 kB / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.777e-05/0.1968, allocations: 15.81 kB / 0.6631 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.876e-05/0.1969, allocations: 21.72 kB / 0.6631 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.197, allocations: 314.8 kB / 0.6634 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005716/0.1976, allocations: 83.89 kB / 0.6635 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.1982, allocations: 102.5 kB / 0.6636 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/0.1993, allocations: 194.5 kB / 0.6638 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1993, allocations: 4 kB / 0.6638 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001177/0.2005, allocations: 213.5 kB / 0.664 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.2005, allocations: 8.062 kB / 0.664 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2005, allocations: 0 / 0.664 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.2005, allocations: 7.938 kB / 0.664 GB, free: 8.734 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.2009, allocations: 47.97 kB / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2009, allocations: 0 / 0.6641 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003365/0.2013, allocations: 39.98 kB / 0.6641 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.493e-05/0.2013, allocations: 8 kB / 0.6641 GB, free: 8.641 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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 8.361e-05/0.2014, allocations: 110.5 kB / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.917e-05/0.2014, allocations: 3.938 kB / 0.6642 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001268/0.2027, allocations: 245.2 kB / 0.6645 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.2027, allocations: 4 kB / 0.6645 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.2027, allocations: 0 / 0.6645 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.2027, allocations: 0 / 0.6645 GB, free: 8.262 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001412/0.2041, allocations: 458.3 kB / 0.6649 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.2041, allocations: 0 / 0.6649 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/0.2045, allocations: 55.91 kB / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.2045, allocations: 0 / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2045, allocations: 0 / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2045, allocations: 0 / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2045, allocations: 0 / 0.665 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001207/0.2058, allocations: 307.4 kB / 0.6653 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.973e-05/0.2058, allocations: 81.05 kB / 0.6653 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.2058, allocations: 7.984 kB / 0.6653 GB, free: 7.281 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003501/0.2062, allocations: 39.98 kB / 0.6654 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.562e-05/0.2062, allocations: 4 kB / 0.6654 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.258e-06/0.2062, allocations: 0 / 0.6654 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.818e-05/0.2062, allocations: 75.28 kB / 0.6655 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2063, allocations: 4 kB / 0.6655 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002367/0.2065, allocations: 11.98 kB / 0.6655 GB, free: 7.148 MB / 0.4981 GB 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 (5): * Single equations (assignments): 5 * 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.0001755/0.2067, allocations: 115.1 kB / 0.6656 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00119/0.2079, allocations: 179.9 kB / 0.6657 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.2079, allocations: 0 / 0.6657 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005748/0.2085, allocations: 96 kB / 0.6658 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002068/0.2087, allocations: 2.5 kB / 0.6658 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001099/0.2098, allocations: 221.2 kB / 0.6661 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.21, allocations: 0.6768 MB / 0.6667 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001651/0.2102, allocations: 32 kB / 0.6667 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/0.2103, allocations: 11.44 kB / 0.6668 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.2103, allocations: 0 / 0.6668 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.002723/0.213, allocations: 0.8109 MB / 0.6675 GB, free: 4.973 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1)