Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.002118/0.002118, allocations: 198.8 kB / 16.26 MB, free: 6.629 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.484/1.484, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9797/0.9797, allocations: 135.1 MB / 425.2 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 72.81 kB / 0.5049 GB, free: 5.637 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1597/0.161, allocations: 80.92 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001656/0.1627, allocations: 0.6539 MB / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001634/0.1643, allocations: 1.448 MB / 0.586 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.951e-05/0.1644, allocations: 4 kB / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.43e-05/0.1644, allocations: 0 / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.419e-05/0.1644, allocations: 0 / 0.586 GB, free: 2.738 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004262/0.1649, allocations: 123.6 kB / 0.5861 GB, free: 2.617 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.246e-05/0.1649, allocations: 23.98 kB / 0.5861 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.165, allocations: 7.984 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.507e-05/0.165, allocations: 15.94 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.628e-05/0.1651, allocations: 31.94 kB / 0.5861 GB, free: 2.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.1651, allocations: 4 kB / 0.5862 GB, free: 2.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004318/0.1655, allocations: 307.4 kB / 0.5864 GB, free: 2.234 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.598e-05/0.1656, allocations: 11.97 kB / 0.5865 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.1656, allocations: 11.92 kB / 0.5865 GB, free: 2.211 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002638/0.1659, allocations: 187.6 kB / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1659, allocations: 0 / 0.5866 GB, free: 2.027 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1659, allocations: 3.938 kB / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.1659, allocations: 0 / 0.5867 GB, free: 2.023 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005163/0.1664, allocations: 375.7 kB / 0.587 GB, free: 1.609 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.1664, allocations: 8.031 kB / 0.587 GB, free: 1.602 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004836/0.1669, allocations: 68.84 kB / 0.5871 GB, free: 1.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.1671, allocations: 160.4 kB / 0.5872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.764e-05/0.1671, allocations: 384 / 0.5872 GB, free: 1.34 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1671, allocations: 8.375 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.1674, allocations: 85.92 kB / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.1674, allocations: 0 / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.1674, allocations: 0 / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1674, allocations: 0 / 0.5873 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002898/0.1677, allocations: 63.94 kB / 0.5874 GB, free: 1.18 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001804/0.1679, allocations: 169.6 kB / 0.5875 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005962/0.1685, allocations: 122.6 kB / 0.5877 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001683/0.1687, allocations: 44.92 kB / 0.5877 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004553/0.1691, allocations: 149 kB / 0.5879 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.1692, allocations: 38.48 kB / 0.5879 GB, free: 0.5781 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1692, allocations: 3.938 kB / 0.5879 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.001173/0.1704, allocations: 406.2 kB / 0.5883 GB, free: 128 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.744e-05/0.1704, allocations: 55.41 kB / 0.5883 GB, free: 60 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.07e-05/0.1705, allocations: 93.86 kB / 0.5884 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1705, allocations: 25.7 kB / 0.5884 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.432e-05/0.1706, allocations: 88.08 kB / 0.5885 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.1706, allocations: 23.64 kB / 0.5886 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/0.1707, allocations: 21.72 kB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.1708, allocations: 311 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001654/0.171, allocations: 39.95 kB / 0.5889 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001527/0.1712, allocations: 35.97 kB / 0.5889 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003109/0.1715, allocations: 76.98 kB / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1715, allocations: 0 / 0.589 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003715/0.1719, allocations: 121.5 kB / 0.5891 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.1719, allocations: 8 kB / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.1719, allocations: 0 / 0.5891 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.1719, allocations: 4 kB / 0.5891 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001573/0.1721, allocations: 23.92 kB / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.1721, allocations: 0 / 0.5892 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.1722, allocations: 11.98 kB / 0.5892 GB, free: 15.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.22e-05/0.1722, allocations: 3.984 kB / 0.5892 GB, free: 15.14 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 (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 prepare postOptimizeDAE: time 8.201e-05/0.1723, allocations: 117.8 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.706e-05/0.1723, allocations: 3.938 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004483/0.1728, allocations: 129.2 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1728, allocations: 4 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.1728, allocations: 0 / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.1728, allocations: 4 kB / 0.5894 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.173, allocations: 169.6 kB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.173, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.1731, allocations: 23.92 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.1732, allocations: 4 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.1732, allocations: 0 / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1732, allocations: 3.984 kB / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1732, allocations: 0 / 0.5896 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005733/0.1738, allocations: 193.1 kB / 0.5898 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.934e-05/0.1739, allocations: 93.39 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1739, allocations: 0 / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.174, allocations: 11.98 kB / 0.5899 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.296e-05/0.174, allocations: 7.969 kB / 0.5899 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.1741, allocations: 12.06 kB / 0.5899 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.1741, allocations: 83.22 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1741, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002443/0.1744, allocations: 27.98 kB / 0.59 GB, free: 14.17 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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.0002476/0.1746, allocations: 135.2 kB / 0.5902 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.175, allocations: 80.03 kB / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.175, allocations: 0 / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/0.1752, allocations: 51.89 kB / 0.5903 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1754, allocations: 6.5 kB / 0.5903 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006131/0.176, allocations: 197.3 kB / 0.5905 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.1762, allocations: 0.6845 MB / 0.5911 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001136/0.1763, allocations: 15.94 kB / 0.5912 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/0.1764, allocations: 11.44 kB / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1764, allocations: 0 / 0.5912 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of Templates: time 0.003386/0.1798, allocations: 1.147 MB / 0.5923 GB, free: 11.8 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)