Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.004678/0.004678, allocations: 100.9 kB / 15.73 MB, free: 6.055 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.00111/0.00111, allocations: 195.2 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.397/1.397, allocations: 205.1 MB / 222.5 MB, free: 4.508 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.413/0.413, allocations: 54.95 MB / 324.9 MB, free: 15.96 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 74.94 kB / 456.2 MB, free: 38.25 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1514, allocations: 59.59 MB / 0.5037 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001977/0.1534, allocations: 0.5783 MB / 0.5043 GB, free: 9.172 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001983/0.1554, allocations: 1.478 MB / 0.5058 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.32e-05/0.1555, allocations: 0 / 0.5058 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.01e-05/0.1555, allocations: 3.938 kB / 0.5058 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.768e-05/0.1556, allocations: 0 / 0.5058 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006052/0.1562, allocations: 146 kB / 0.5059 GB, free: 7.871 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.839e-05/0.1562, allocations: 23.11 kB / 0.5059 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.1563, allocations: 2.75 kB / 0.5059 GB, free: 7.863 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.937e-05/0.1564, allocations: 18.8 kB / 0.5059 GB, free: 7.852 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.748e-05/0.1564, allocations: 26.77 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.7e-05/0.1565, allocations: 2.75 kB / 0.506 GB, free: 7.832 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000431/0.1569, allocations: 320.1 kB / 0.5063 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/0.1569, allocations: 6.609 kB / 0.5063 GB, free: 7.641 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.705e-05/0.157, allocations: 14.7 kB / 0.5063 GB, free: 7.629 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003081/0.1573, allocations: 191.6 kB / 0.5065 GB, free: 7.527 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.1573, allocations: 0 / 0.5065 GB, free: 7.527 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1573, allocations: 1.125 kB / 0.5065 GB, free: 7.527 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.1573, allocations: 0 / 0.5065 GB, free: 7.527 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004571/0.1578, allocations: 374.5 kB / 0.5068 GB, free: 7.133 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.1578, allocations: 9.188 kB / 0.5068 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004537/0.1583, allocations: 72.58 kB / 0.5069 GB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.08e-05/0.1584, allocations: 165.8 kB / 0.5071 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.232e-05/0.1584, allocations: 1.812 kB / 0.5071 GB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.422e-05/0.1584, allocations: 15.06 kB / 0.5071 GB, free: 6.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002551/0.1587, allocations: 75.34 kB / 0.5072 GB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1587, allocations: 9.438 kB / 0.5072 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1587, allocations: 0 / 0.5072 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.1588, allocations: 1.406 kB / 0.5072 GB, free: 6.828 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003014/0.1591, allocations: 73.2 kB / 0.5072 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000162/0.1592, allocations: 167.6 kB / 0.5074 GB, free: 6.594 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004827/0.1597, allocations: 144.5 kB / 0.5075 GB, free: 6.512 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001765/0.1599, allocations: 48.27 kB / 0.5076 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.16, allocations: 1.938 kB / 0.5076 GB, free: 6.488 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.16, allocations: 39.73 kB / 0.5076 GB, free: 6.441 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 2.264e-06/0.16, allocations: 0 / 0.5076 GB, free: 6.441 MB / 382.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.009709/0.1697, allocations: 2.433 MB / 0.51 GB, free: 4.254 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.1698, allocations: 59.34 kB / 0.5101 GB, free: 4.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.341e-05/0.1698, allocations: 97.84 kB / 0.5101 GB, free: 4.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1699, allocations: 29.7 kB / 0.5102 GB, free: 4.043 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.813e-05/0.1699, allocations: 80.14 kB / 0.5102 GB, free: 3.961 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.233e-05/0.1699, allocations: 43.64 kB / 0.5103 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.466e-05/0.17, allocations: 33.83 kB / 0.5103 GB, free: 3.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.945e-05/0.1701, allocations: 322.8 kB / 0.5106 GB, free: 3.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003892/0.1705, allocations: 107.8 kB / 0.5107 GB, free: 3.449 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003775/0.1708, allocations: 103.9 kB / 0.5108 GB, free: 3.348 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/0.1716, allocations: 208.7 kB / 0.511 GB, free: 3.141 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1716, allocations: 0 / 0.511 GB, free: 3.141 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008816/0.1725, allocations: 264.1 kB / 0.5113 GB, free: 2.879 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.1725, allocations: 8 kB / 0.5113 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.1725, allocations: 0 / 0.5113 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.1726, allocations: 0 / 0.5113 GB, free: 2.871 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.1729, allocations: 67.88 kB / 0.5114 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.173, allocations: 0 / 0.5114 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.1732, allocations: 39.95 kB / 0.5114 GB, free: 2.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.1732, allocations: 7.984 kB / 0.5114 GB, free: 2.758 MB / 382.1 MB 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 8.451e-05/0.1733, allocations: 121.8 kB / 0.5115 GB, free: 2.629 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.81e-05/0.1734, allocations: 3.953 kB / 0.5115 GB, free: 2.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.1734, allocations: 7.969 kB / 0.5115 GB, free: 2.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.1734, allocations: 7.984 kB / 0.5115 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.1734, allocations: 0 / 0.5115 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1734, allocations: 4 kB / 0.5115 GB, free: 2.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001162/0.1746, allocations: 0.5412 MB / 0.5121 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1746, allocations: 0 / 0.5121 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.175, allocations: 67.94 kB / 0.5121 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.175, allocations: 96 / 0.5121 GB, free: 1.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.132e-05/0.175, allocations: 11.92 kB / 0.5121 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.175, allocations: 0 / 0.5121 GB, free: 1.926 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.175, allocations: 3.938 kB / 0.5121 GB, free: 1.922 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001325/0.1764, allocations: 483.1 kB / 0.5126 GB, free: 1.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.1764, allocations: 97.06 kB / 0.5127 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.323e-05/0.1765, allocations: 3.984 kB / 0.5127 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.1768, allocations: 40.02 kB / 0.5127 GB, free: 1.277 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.1768, allocations: 19.92 kB / 0.5128 GB, free: 1.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.1769, allocations: 8 kB / 0.5128 GB, free: 1.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.297e-05/0.1769, allocations: 75.28 kB / 0.5128 GB, free: 1.176 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1769, allocations: 0 / 0.5128 GB, free: 1.176 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004284/0.1773, allocations: 103.7 kB / 0.5129 GB, free: 1.074 MB / 382.1 MB 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.0003974/0.1777, allocations: 170.9 kB / 0.5131 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008967/0.1786, allocations: 232.1 kB / 0.5133 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.1787, allocations: 4 kB / 0.5133 GB, free: 0.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004032/0.1791, allocations: 127.7 kB / 0.5135 GB, free: 0.543 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000245/0.1793, allocations: 8 kB / 0.5135 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.1813, allocations: 485.5 kB / 0.5139 GB, free: 36 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.1816, allocations: 0.6885 MB / 0.5146 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002459/0.1819, allocations: 55.98 kB / 0.5146 GB, free: 15.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.065e-05/0.182, allocations: 19.42 kB / 0.5147 GB, free: 15.25 MB / 398.1 MB Notification: Performance of SimCode: time 4.4e-07/0.182, allocations: 0 / 0.5147 GB, free: 15.25 MB / 398.1 MB Notification: Performance of Templates: time 0.005139/0.1871, allocations: 2.275 MB / 0.5169 GB, free: 12.98 MB / 398.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)