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.001527/0.001527, allocations: 112.1 kB / 16.41 MB, free: 6.5 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.001763/0.001763, allocations: 181.6 kB / 17.34 MB, free: 5.762 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8119/0.8119, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 64.88 kB / 0.5863 GB, free: 21.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1615, allocations: 80.92 MB / 0.6653 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002061/0.1636, allocations: 0.7778 MB / 0.6661 GB, free: 4.969 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001916/0.1655, allocations: 1.481 MB / 0.6676 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.094e-05/0.1656, allocations: 4 kB / 0.6676 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.189e-05/0.1656, allocations: 3.938 kB / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.924e-05/0.1657, allocations: 0 / 0.6676 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005636/0.1663, allocations: 143.4 kB / 0.6677 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.1664, allocations: 55.64 kB / 0.6678 GB, free: 3.266 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.1664, allocations: 11.92 kB / 0.6678 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.939e-05/0.1665, allocations: 23.98 kB / 0.6678 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.149e-05/0.1666, allocations: 31.84 kB / 0.6678 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.1666, allocations: 4 kB / 0.6678 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004834/0.1671, allocations: 319.3 kB / 0.6681 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.606e-05/0.1671, allocations: 15.98 kB / 0.6681 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.593e-05/0.1672, allocations: 27.84 kB / 0.6682 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.1675, allocations: 211.5 kB / 0.6684 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1676, allocations: 4 kB / 0.6684 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.1676, allocations: 0 / 0.6684 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.192e-06/0.1676, allocations: 0 / 0.6684 GB, free: 2.629 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.0006889/0.1683, allocations: 391.4 kB / 0.6687 GB, free: 2.199 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.1683, allocations: 13.11 kB / 0.6688 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004796/0.1688, allocations: 76.78 kB / 0.6688 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001361/0.169, allocations: 172.3 kB / 0.669 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.873e-05/0.169, allocations: 8.312 kB / 0.669 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.052e-05/0.169, allocations: 8.375 kB / 0.669 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.1694, allocations: 113.9 kB / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1694, allocations: 0 / 0.6691 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.1695, allocations: 7.984 kB / 0.6691 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1695, allocations: 3.938 kB / 0.6691 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004776/0.17, allocations: 103.8 kB / 0.6692 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005934/0.1706, allocations: 336.6 kB / 0.6696 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/0.1712, allocations: 158.4 kB / 0.6697 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002389/0.1715, allocations: 56.81 kB / 0.6698 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.1715, allocations: 0 / 0.6698 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.1715, allocations: 34.56 kB / 0.6698 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.1715, allocations: 0 / 0.6698 GB, free: 1.016 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.01821/0.1898, allocations: 2.833 MB / 0.6726 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.1898, allocations: 59.33 kB / 0.6726 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.19, allocations: 101.9 kB / 0.6727 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.749e-05/0.19, allocations: 25.7 kB / 0.6727 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.1901, allocations: 92.03 kB / 0.6728 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.1902, allocations: 35.47 kB / 0.6729 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001758/0.1903, allocations: 65.58 kB / 0.6729 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1905, allocations: 322.8 kB / 0.6732 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006784/0.1911, allocations: 191.8 kB / 0.6734 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006754/0.1918, allocations: 195.7 kB / 0.6736 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.1932, allocations: 391.8 kB / 0.674 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1932, allocations: 0 / 0.674 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001535/0.1947, allocations: 477.2 kB / 0.6744 GB, free: 12.12 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.834e-05/0.1948, allocations: 7.984 kB / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1948, allocations: 0 / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.1948, allocations: 4 kB / 0.6744 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008379/0.1957, allocations: 111.7 kB / 0.6745 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.1957, allocations: 3.938 kB / 0.6745 GB, free: 11.99 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/0.1963, allocations: 47.94 kB / 0.6746 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.1964, allocations: 23.94 kB / 0.6746 GB, free: 11.92 MB / 0.5137 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.0001899/0.1966, allocations: 119.2 kB / 0.6747 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.284e-05/0.1966, allocations: 7.906 kB / 0.6747 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.14e-05/0.1967, allocations: 15.95 kB / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1967, allocations: 0 / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.1967, allocations: 3.938 kB / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.1967, allocations: 4 kB / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002217/0.199, allocations: 1.043 MB / 0.6758 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.199, allocations: 7.984 kB / 0.6758 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/0.1998, allocations: 99.8 kB / 0.6759 GB, free: 10.51 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.1998, allocations: 8.031 kB / 0.6759 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.115e-05/0.1999, allocations: 27.88 kB / 0.6759 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1999, allocations: 0 / 0.6759 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1999, allocations: 4 kB / 0.6759 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002367/0.2023, allocations: 0.7995 MB / 0.6767 GB, free: 9.652 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/0.2024, allocations: 117 kB / 0.6768 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.278e-05/0.2025, allocations: 4 kB / 0.6768 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000661/0.2032, allocations: 40.12 kB / 0.6769 GB, free: 9.477 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2033, allocations: 31.92 kB / 0.6769 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.852e-05/0.2033, allocations: 35.91 kB / 0.6769 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.23e-05/0.2034, allocations: 75.28 kB / 0.677 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2034, allocations: 0 / 0.677 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003871/0.2038, allocations: 56 kB / 0.677 GB, free: 9.281 MB / 0.5137 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.0002184/0.204, allocations: 111.2 kB / 0.6771 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001487/0.2055, allocations: 431.4 kB / 0.6776 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2055, allocations: 0 / 0.6776 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007226/0.2062, allocations: 223.7 kB / 0.6778 GB, free: 8.523 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.2066, allocations: 8 kB / 0.6778 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/0.211, allocations: 0.7924 MB / 0.6786 GB, free: 7.688 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003089/0.2113, allocations: 0.6885 MB / 0.6792 GB, free: 6.973 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003865/0.2117, allocations: 79.23 kB / 0.6793 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of SimCode: time 3.21e-07/0.2117, allocations: 0 / 0.6793 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of Templates: time 0.006269/0.218, allocations: 3.781 MB / 0.683 GB, free: 3.102 MB / 0.5137 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)