Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.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.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008316, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00578/0.00578, allocations: 168.4 kB / 16.26 MB, free: 6.652 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9818/0.9818, allocations: 135.3 MB / 426.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003749, allocations: 8 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1794/0.1798, allocations: 82.32 MB / 0.588 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001118/0.181, allocations: 499.9 kB / 0.5885 GB, free: 2.137 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.183, allocations: 1.48 MB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.505e-05/0.183, allocations: 0 / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.249e-05/0.1831, allocations: 3.938 kB / 0.5899 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.243e-05/0.1831, allocations: 3.938 kB / 0.5899 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005481/0.1837, allocations: 111.7 kB / 0.59 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001045/0.1838, allocations: 47.94 kB / 0.5901 GB, free: 488 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.74e-05/0.1839, allocations: 7.938 kB / 0.5901 GB, free: 480 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.184, allocations: 27.92 kB / 0.5901 GB, free: 452 kB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.612e-05/0.1841, allocations: 31.89 kB / 0.5901 GB, free: 420 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.034e-05/0.1841, allocations: 7.938 kB / 0.5901 GB, free: 412 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.1846, allocations: 315.4 kB / 0.5904 GB, free: 96 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.569e-05/0.1847, allocations: 15.97 kB / 0.5905 GB, free: 80 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.1847, allocations: 49.56 kB / 0.5905 GB, free: 24 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.1851, allocations: 203.6 kB / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1851, allocations: 0 / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.224e-05/0.1851, allocations: 3.984 kB / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1851, allocations: 0 / 0.5907 GB, free: 15.82 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000699/0.1858, allocations: 387.7 kB / 0.5911 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.1859, allocations: 12.03 kB / 0.5911 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005056/0.1864, allocations: 84.75 kB / 0.5912 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.1866, allocations: 168.3 kB / 0.5913 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.1866, allocations: 12.31 kB / 0.5913 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1866, allocations: 12.36 kB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004199/0.1871, allocations: 129.9 kB / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.1871, allocations: 0 / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.94e-05/0.1871, allocations: 0 / 0.5915 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.1871, allocations: 11.92 kB / 0.5915 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005348/0.1877, allocations: 119.9 kB / 0.5916 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006432/0.1883, allocations: 348.5 kB / 0.5919 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006949/0.189, allocations: 186.4 kB / 0.5921 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002524/0.1893, allocations: 56.81 kB / 0.5922 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1893, allocations: 12 kB / 0.5922 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.1894, allocations: 30.56 kB / 0.5922 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.1894, allocations: 0 / 0.5922 GB, free: 14.12 MB / 0.4981 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=11): time 0.01919/0.2086, allocations: 3.186 MB / 0.5953 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.2086, allocations: 59.34 kB / 0.5954 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.719e-05/0.2087, allocations: 93.86 kB / 0.5955 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.405e-05/0.2088, allocations: 33.7 kB / 0.5955 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.691e-05/0.2088, allocations: 91.97 kB / 0.5956 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.463e-05/0.2089, allocations: 35.45 kB / 0.5956 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.484e-05/0.209, allocations: 17.72 kB / 0.5956 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.2091, allocations: 322.8 kB / 0.5959 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.2098, allocations: 215.8 kB / 0.5962 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006803/0.2105, allocations: 219.8 kB / 0.5964 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00137/0.2119, allocations: 439.8 kB / 0.5968 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2119, allocations: 4 kB / 0.5968 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00156/0.2134, allocations: 0.513 MB / 0.5973 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2135, allocations: 8 kB / 0.5973 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2135, allocations: 7.938 kB / 0.5973 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2135, allocations: 0 / 0.5973 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008444/0.2144, allocations: 119.8 kB / 0.5974 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.2144, allocations: 3.938 kB / 0.5974 GB, free: 8.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006429/0.215, allocations: 63.94 kB / 0.5975 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/0.2151, allocations: 19.94 kB / 0.5975 GB, free: 8.555 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 (13): * Single equations (assignments): 13 * 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 0.0001559/0.2152, allocations: 121.8 kB / 0.5976 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.2153, allocations: 7.906 kB / 0.5976 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.059e-05/0.2154, allocations: 11.97 kB / 0.5976 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.2154, allocations: 0 / 0.5976 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.2154, allocations: 11.94 kB / 0.5976 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.564e-06/0.2154, allocations: 0 / 0.5976 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.2176, allocations: 1.098 MB / 0.5987 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.2176, allocations: 3.984 kB / 0.5987 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/0.2185, allocations: 119.7 kB / 0.5988 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.2185, allocations: 8.031 kB / 0.5988 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.083e-05/0.2186, allocations: 31.86 kB / 0.5989 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.2186, allocations: 0 / 0.5989 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.2186, allocations: 0 / 0.5989 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/0.221, allocations: 0.8618 MB / 0.5997 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.2211, allocations: 120.9 kB / 0.5998 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.059e-05/0.2212, allocations: 4 kB / 0.5998 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007051/0.2219, allocations: 63.98 kB / 0.5999 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.222, allocations: 27.86 kB / 0.5999 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.2221, allocations: 32.12 kB / 0.6 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.07e-05/0.2221, allocations: 87.27 kB / 0.6 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2221, allocations: 3.938 kB / 0.6 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003747/0.2225, allocations: 59.98 kB / 0.6001 GB, free: 5.734 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_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 (11): * Single equations (assignments): 11 * 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.000211/0.2227, allocations: 103.2 kB / 0.6002 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00149/0.2242, allocations: 471.5 kB / 0.6006 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2242, allocations: 0 / 0.6006 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007443/0.225, allocations: 251.7 kB / 0.6009 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003296/0.2253, allocations: 11.98 kB / 0.6009 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004385/0.2297, allocations: 0.8656 MB / 0.6017 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000243/0.23, allocations: 0.6926 MB / 0.6024 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006443/0.2306, allocations: 96.66 kB / 0.6025 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.2309, allocations: 55.3 kB / 0.6026 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2309, allocations: 0 / 0.6026 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of Templates: time 0.2664/0.4973, allocations: 3.313 MB / 0.6058 GB, free: 49.8 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)