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.009127/0.009127, allocations: 104.9 kB / 15.74 MB, free: 6.012 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.001768/0.001768, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8198/0.8198, allocations: 132.2 MB / 422.7 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00153/0.00153, allocations: 69.23 kB / 0.5814 GB, free: 23.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1926, allocations: 80.21 MB / 0.6597 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.002131/0.1948, allocations: 0.5953 MB / 0.6603 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0005014/0.1953, allocations: 166.4 kB / 0.6605 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.1954, allocations: 0 / 0.6605 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.897e-05/0.1954, allocations: 3.938 kB / 0.6605 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.1955, allocations: 0 / 0.6605 GB, free: 9.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003744/0.1959, allocations: 39.91 kB / 0.6605 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.208e-05/0.1959, allocations: 19.97 kB / 0.6605 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.196, allocations: 0 / 0.6605 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.385e-05/0.196, allocations: 11.98 kB / 0.6605 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.74e-05/0.1961, allocations: 7.938 kB / 0.6605 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.21e-05/0.1961, allocations: 0 / 0.6605 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1962, allocations: 31.97 kB / 0.6606 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.044e-05/0.1963, allocations: 11.97 kB / 0.6606 GB, free: 9.453 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.807e-05/0.1963, allocations: 7.938 kB / 0.6606 GB, free: 9.445 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1964, allocations: 27.89 kB / 0.6606 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1964, allocations: 0 / 0.6606 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.184e-06/0.1964, allocations: 7.938 kB / 0.6606 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.672e-06/0.1964, allocations: 4 kB / 0.6606 GB, free: 9.406 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004159/0.1969, allocations: 330 kB / 0.6609 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1969, allocations: 12.02 kB / 0.661 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.06e-05/0.197, allocations: 4.938 kB / 0.661 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/0.1971, allocations: 164.3 kB / 0.6611 GB, free: 8.82 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.1971, allocations: 4.375 kB / 0.6611 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.98e-05/0.1972, allocations: 4.375 kB / 0.6611 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/0.1973, allocations: 46.25 kB / 0.6612 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.1973, allocations: 192 / 0.6612 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.78e-05/0.1973, allocations: 3.938 kB / 0.6612 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1973, allocations: 0 / 0.6612 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.318e-05/0.1974, allocations: 19.92 kB / 0.6612 GB, free: 8.738 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.1976, allocations: 161.6 kB / 0.6613 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000104/0.1977, allocations: 42.62 kB / 0.6614 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.584e-05/0.1977, allocations: 20.98 kB / 0.6614 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/0.1978, allocations: 89.03 kB / 0.6615 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1979, allocations: 34.56 kB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.1979, allocations: 0 / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001323/0.1992, allocations: 488.2 kB / 0.662 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.1993, allocations: 51.41 kB / 0.662 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.026e-05/0.1993, allocations: 105.8 kB / 0.6621 GB, free: 7.582 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.1994, allocations: 25.7 kB / 0.6622 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.807e-05/0.1994, allocations: 80.14 kB / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.1994, allocations: 23.66 kB / 0.6623 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.009e-05/0.1995, allocations: 21.7 kB / 0.6623 GB, free: 7.418 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.1996, allocations: 314.8 kB / 0.6626 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.986e-05/0.1996, allocations: 8 kB / 0.6626 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.607e-05/0.1997, allocations: 15.98 kB / 0.6626 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.509e-05/0.1997, allocations: 32.98 kB / 0.6626 GB, free: 7.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1997, allocations: 4 kB / 0.6626 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001189/0.1999, allocations: 69.62 kB / 0.6627 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.1999, allocations: 7.938 kB / 0.6627 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.1999, allocations: 7.922 kB / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.1999, allocations: 0 / 0.6627 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.153e-05/0.2, allocations: 16 kB / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2, allocations: 0 / 0.6627 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.53e-05/0.2001, allocations: 4 kB / 0.6627 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.2001, allocations: 0 / 0.6627 GB, free: 6.93 MB / 0.4981 GB 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 9.62e-05/0.2002, allocations: 118.7 kB / 0.6629 GB, free: 6.805 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.2002, allocations: 11.83 kB / 0.6629 GB, free: 6.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001769/0.2004, allocations: 85.56 kB / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.2004, allocations: 0 / 0.6629 GB, free: 6.691 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2004, allocations: 3.984 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.2004, allocations: 0 / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.2005, allocations: 161.7 kB / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2005, allocations: 0 / 0.6631 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.351e-05/0.2006, allocations: 15.98 kB / 0.6631 GB, free: 6.465 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.2006, allocations: 7.938 kB / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.2007, allocations: 192 / 0.6631 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.2007, allocations: 11.94 kB / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2007, allocations: 0 / 0.6631 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.2009, allocations: 121.4 kB / 0.6633 GB, free: 6.309 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.2009, allocations: 84.95 kB / 0.6633 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.2009, allocations: 4.031 kB / 0.6633 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.587e-05/0.201, allocations: 4 kB / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.357e-05/0.201, allocations: 12.05 kB / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.201, allocations: 0 / 0.6634 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.2011, allocations: 79.28 kB / 0.6634 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2011, allocations: 0 / 0.6634 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002313/0.2013, allocations: 32 kB / 0.6635 GB, free: 6.078 MB / 0.4981 GB 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.0002358/0.2016, allocations: 123.2 kB / 0.6636 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.2017, allocations: 43.91 kB / 0.6636 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2017, allocations: 4.094 kB / 0.6636 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.734e-05/0.2018, allocations: 27.92 kB / 0.6636 GB, free: 5.875 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.2019, allocations: 5.406 kB / 0.6637 GB, free: 5.871 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.2023, allocations: 133.5 kB / 0.6638 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.2026, allocations: 0.6845 MB / 0.6645 GB, free: 5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.422e-05/0.2027, allocations: 11.94 kB / 0.6645 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.2027, allocations: 11.44 kB / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of SimCode: time 4.91e-07/0.2027, allocations: 0 / 0.6645 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.003421/0.2062, allocations: 0.8723 MB / 0.6653 GB, free: 4.121 MB / 0.4981 GB 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)