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.001455/0.001455, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001731/0.001731, allocations: 190.5 kB / 16.13 MB, free: 6.645 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.429/1.429, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.06/1.06, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 76.28 kB / 0.5047 GB, free: 5.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1649/0.167, allocations: 80.92 MB / 0.5837 GB, free: 5.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002152/0.1692, allocations: 0.831 MB / 0.5845 GB, free: 4.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001923/0.1711, allocations: 1.499 MB / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.134e-05/0.1712, allocations: 0 / 0.586 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.524e-05/0.1713, allocations: 7.875 kB / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.359e-05/0.1713, allocations: 0 / 0.586 GB, free: 2.664 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004697/0.1718, allocations: 114.7 kB / 0.5861 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.458e-05/0.1719, allocations: 43.97 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.1719, allocations: 7.969 kB / 0.5862 GB, free: 2.504 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.336e-05/0.172, allocations: 31.91 kB / 0.5862 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.1721, allocations: 35.78 kB / 0.5862 GB, free: 2.438 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1721, allocations: 4 kB / 0.5862 GB, free: 2.434 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004535/0.1725, allocations: 323.3 kB / 0.5865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.1726, allocations: 11.98 kB / 0.5865 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1726, allocations: 23.86 kB / 0.5866 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003374/0.173, allocations: 207.5 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.173, allocations: 0 / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.173, allocations: 0 / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.273e-06/0.173, allocations: 0 / 0.5868 GB, free: 1.879 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006829/0.1737, allocations: 399.7 kB / 0.5872 GB, free: 1.441 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.1737, allocations: 12.03 kB / 0.5872 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004808/0.1742, allocations: 72.75 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.1743, allocations: 168.3 kB / 0.5874 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.1744, allocations: 8.375 kB / 0.5874 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.889e-05/0.1744, allocations: 12.28 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.1748, allocations: 113.8 kB / 0.5875 GB, free: 1.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1748, allocations: 4 kB / 0.5875 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1749, allocations: 4 kB / 0.5875 GB, free: 1.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1749, allocations: 4 kB / 0.5875 GB, free: 1.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.1754, allocations: 99.89 kB / 0.5876 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006073/0.176, allocations: 328.6 kB / 0.5879 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006457/0.1766, allocations: 154.4 kB / 0.5881 GB, free: 388 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.1769, allocations: 56.97 kB / 0.5881 GB, free: 328 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.802e-05/0.1769, allocations: 3.984 kB / 0.5881 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.1769, allocations: 34.56 kB / 0.5882 GB, free: 280 kB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.1769, allocations: 0 / 0.5882 GB, free: 280 kB / 494.1 MB 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.01986/0.1968, allocations: 2.834 MB / 0.5909 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.1e-05/0.1969, allocations: 59.44 kB / 0.591 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.197, allocations: 105.8 kB / 0.5911 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.786e-05/0.1971, allocations: 29.7 kB / 0.5911 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.317e-05/0.1972, allocations: 95.98 kB / 0.5912 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.897e-05/0.1973, allocations: 35.45 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1975, allocations: 69.58 kB / 0.5913 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.1976, allocations: 318.8 kB / 0.5916 GB, free: 12.6 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000655/0.1983, allocations: 191.8 kB / 0.5918 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006387/0.1989, allocations: 191.8 kB / 0.592 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001351/0.2003, allocations: 388.5 kB / 0.5924 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2003, allocations: 4 kB / 0.5924 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001625/0.2019, allocations: 488.8 kB / 0.5928 GB, free: 11.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.202, allocations: 7.938 kB / 0.5928 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.202, allocations: 4 kB / 0.5928 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.202, allocations: 0 / 0.5928 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009067/0.2029, allocations: 107.8 kB / 0.5929 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2029, allocations: 3.938 kB / 0.593 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006668/0.2036, allocations: 47.94 kB / 0.593 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.135e-05/0.2037, allocations: 23.94 kB / 0.593 GB, free: 11.17 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.0001734/0.2039, allocations: 117.8 kB / 0.5931 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.289e-05/0.204, allocations: 4 kB / 0.5931 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.192e-05/0.204, allocations: 12.14 kB / 0.5931 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.204, allocations: 4 kB / 0.5932 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2041, allocations: 7.922 kB / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.2041, allocations: 0 / 0.5932 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00234/0.2064, allocations: 1.047 MB / 0.5942 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.2064, allocations: 0 / 0.5942 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009129/0.2074, allocations: 115.7 kB / 0.5943 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.2074, allocations: 7.922 kB / 0.5943 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-05/0.2074, allocations: 19.94 kB / 0.5943 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.2074, allocations: 0 / 0.5943 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.2074, allocations: 0 / 0.5943 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/0.2099, allocations: 0.7879 MB / 0.5951 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.2101, allocations: 124.9 kB / 0.5952 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.182e-05/0.2102, allocations: 0 / 0.5952 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007736/0.2109, allocations: 48 kB / 0.5953 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.2111, allocations: 31.86 kB / 0.5953 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.494e-05/0.2111, allocations: 23.94 kB / 0.5953 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.505e-05/0.2112, allocations: 83.27 kB / 0.5954 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.2112, allocations: 0 / 0.5954 GB, free: 8.582 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000454/0.2117, allocations: 56 kB / 0.5954 GB, free: 8.527 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.0003081/0.212, allocations: 115.2 kB / 0.5956 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00157/0.2136, allocations: 419.5 kB / 0.596 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2136, allocations: 3.938 kB / 0.596 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007434/0.2143, allocations: 223.7 kB / 0.5962 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004219/0.2148, allocations: 9.406 kB / 0.5962 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/0.2195, allocations: 0.7884 MB / 0.5969 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2197, allocations: 0.6965 MB / 0.5976 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006856/0.2204, allocations: 85.69 kB / 0.5977 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.2207, allocations: 55.3 kB / 0.5978 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.2207, allocations: 0 / 0.5978 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of Templates: time 0.007567/0.2283, allocations: 3.327 MB / 0.601 GB, free: 2.773 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)