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.007272/0.00728, allocations: 101.4 kB / 15.73 MB, free: 6.004 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.001291/0.001291, allocations: 193.3 kB / 16.67 MB, free: 5.922 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.364/1.364, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8134/0.8134, allocations: 132.2 MB / 422.7 MB, free: 6.535 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 61.41 kB / 0.5814 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1608, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothExponentialDerivativeCheck): time 0.001749/0.1626, allocations: 0.6087 MB / 0.6603 GB, free: 9.625 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000445/0.1631, allocations: 166.3 kB / 0.6605 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.1631, allocations: 0 / 0.6605 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.027e-05/0.1632, allocations: 0 / 0.6605 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 2.086e-05/0.1632, allocations: 4 kB / 0.6605 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.1636, allocations: 31.91 kB / 0.6605 GB, free: 9.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.1636, allocations: 23.91 kB / 0.6605 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.381e-05/0.1637, allocations: 0 / 0.6605 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.1637, allocations: 4 kB / 0.6605 GB, free: 9.402 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.051e-05/0.1638, allocations: 15.92 kB / 0.6605 GB, free: 9.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.1638, allocations: 4 kB / 0.6605 GB, free: 9.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.77e-05/0.1639, allocations: 35.95 kB / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.1639, allocations: 0 / 0.6606 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.1639, allocations: 11.94 kB / 0.6606 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.1641, allocations: 31.88 kB / 0.6606 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1641, allocations: 0 / 0.6606 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.456e-06/0.1641, allocations: 4 kB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.1641, allocations: 0 / 0.6606 GB, free: 9.301 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.0004709/0.1646, allocations: 323.5 kB / 0.6609 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.1646, allocations: 15.97 kB / 0.6609 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.184e-05/0.1647, allocations: 8.891 kB / 0.661 GB, free: 8.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1649, allocations: 164.3 kB / 0.6611 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.215e-05/0.1649, allocations: 384 / 0.6611 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.983e-05/0.1649, allocations: 8.375 kB / 0.6611 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001129/0.165, allocations: 42.25 kB / 0.6612 GB, free: 8.656 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1651, allocations: 4.125 kB / 0.6612 GB, free: 8.652 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1651, allocations: 3.938 kB / 0.6612 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.1651, allocations: 3.984 kB / 0.6612 GB, free: 8.645 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.743e-05/0.1651, allocations: 12 kB / 0.6612 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002997/0.1654, allocations: 161.7 kB / 0.6613 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.704e-05/0.1655, allocations: 42.62 kB / 0.6614 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.72e-05/0.1656, allocations: 20.97 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.829e-05/0.1657, allocations: 81.11 kB / 0.6615 GB, free: 8.254 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1659, allocations: 38.44 kB / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.1659, allocations: 0 / 0.6615 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7): time 0.001217/0.1671, allocations: 0.4924 MB / 0.662 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.198e-05/0.1671, allocations: 51.41 kB / 0.662 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.825e-05/0.1672, allocations: 93.86 kB / 0.6621 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.1672, allocations: 29.7 kB / 0.6622 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.1673, allocations: 80.14 kB / 0.6622 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1673, allocations: 31.73 kB / 0.6623 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.969e-05/0.1673, allocations: 17.84 kB / 0.6623 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.264e-05/0.1674, allocations: 314.8 kB / 0.6626 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.835e-05/0.1675, allocations: 15.98 kB / 0.6626 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.275e-05/0.1675, allocations: 12 kB / 0.6626 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.624e-05/0.1676, allocations: 36.78 kB / 0.6626 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1676, allocations: 4 kB / 0.6627 GB, free: 6.918 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001012/0.1677, allocations: 65.69 kB / 0.6627 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1677, allocations: 7.938 kB / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1677, allocations: 0 / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.1677, allocations: 0 / 0.6627 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.718e-05/0.1678, allocations: 16 kB / 0.6627 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1678, allocations: 0 / 0.6627 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/0.1679, allocations: 11.92 kB / 0.6627 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1679, allocations: 4 kB / 0.6628 GB, free: 6.809 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 8.878e-05/0.168, allocations: 114.7 kB / 0.6629 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.181e-05/0.168, allocations: 3.938 kB / 0.6629 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002271/0.1682, allocations: 89.58 kB / 0.6629 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.1682, allocations: 4 kB / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.1682, allocations: 0 / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.1683, allocations: 0 / 0.663 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1684, allocations: 165.7 kB / 0.6631 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1684, allocations: 0 / 0.6631 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.1685, allocations: 15.94 kB / 0.6631 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1685, allocations: 3.938 kB / 0.6631 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.388e-06/0.1685, allocations: 0 / 0.6631 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.1685, allocations: 4.188 kB / 0.6631 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1685, allocations: 7.938 kB / 0.6631 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001951/0.1687, allocations: 117.5 kB / 0.6633 GB, free: 6.199 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.427e-05/0.1688, allocations: 88.98 kB / 0.6633 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.844e-05/0.1688, allocations: 4.031 kB / 0.6633 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.1e-05/0.1689, allocations: 0 / 0.6633 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.171e-05/0.1689, allocations: 4 kB / 0.6633 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.1689, allocations: 0 / 0.6633 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.169, allocations: 87.27 kB / 0.6634 GB, free: 6 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.169, allocations: 160 / 0.6634 GB, free: 6 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002205/0.1692, allocations: 31.94 kB / 0.6635 GB, free: 5.969 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.0002962/0.1695, allocations: 134.2 kB / 0.6636 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000153/0.1697, allocations: 44.03 kB / 0.6636 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1697, allocations: 0 / 0.6636 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.895e-05/0.1697, allocations: 23.94 kB / 0.6637 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.1699, allocations: 5.547 kB / 0.6637 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003453/0.1702, allocations: 137.4 kB / 0.6638 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.1705, allocations: 0.6768 MB / 0.6645 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.615e-05/0.1706, allocations: 15.92 kB / 0.6645 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.1706, allocations: 11.44 kB / 0.6645 GB, free: 4.871 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1706, allocations: 7.938 kB / 0.6645 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of Templates: time 0.003396/0.174, allocations: 0.8648 MB / 0.6653 GB, free: 4.012 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)