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.007862/0.007862, allocations: 102.8 kB / 15.73 MB, free: 6.035 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.00171/0.00171, allocations: 196.4 kB / 16.68 MB, free: 5.957 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.379/1.379, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4243/0.4243, allocations: 54.95 MB / 324.8 MB, free: 0 / 254.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.001616/0.001617, allocations: 65.78 kB / 456.2 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1358, allocations: 59.59 MB / 0.5037 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002159/0.138, allocations: 0.5753 MB / 0.5043 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002059/0.1401, allocations: 1.486 MB / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.893e-05/0.1402, allocations: 0 / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.808e-05/0.1402, allocations: 0 / 0.5057 GB, free: 8.172 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.093e-05/0.1402, allocations: 3.938 kB / 0.5058 GB, free: 8.168 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005977/0.1408, allocations: 131.3 kB / 0.5059 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.1409, allocations: 31.11 kB / 0.5059 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.526e-05/0.141, allocations: 1.375 kB / 0.5059 GB, free: 8.062 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.391e-05/0.141, allocations: 16.23 kB / 0.5059 GB, free: 8.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.664e-05/0.1411, allocations: 22.78 kB / 0.5059 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.1411, allocations: 2.75 kB / 0.5059 GB, free: 8.039 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004346/0.1416, allocations: 312.3 kB / 0.5062 GB, free: 7.859 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.01e-05/0.1416, allocations: 13.23 kB / 0.5063 GB, free: 7.848 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.1416, allocations: 17.19 kB / 0.5063 GB, free: 7.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003122/0.1419, allocations: 190.6 kB / 0.5065 GB, free: 7.734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1419, allocations: 4 kB / 0.5065 GB, free: 7.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.142, allocations: 0 / 0.5065 GB, free: 7.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.082e-06/0.142, allocations: 5.781 kB / 0.5065 GB, free: 7.727 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.0004216/0.1424, allocations: 361.3 kB / 0.5068 GB, free: 7.344 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1424, allocations: 10.22 kB / 0.5068 GB, free: 7.344 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004614/0.1429, allocations: 72.19 kB / 0.5069 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.044e-05/0.143, allocations: 165.7 kB / 0.507 GB, free: 7.113 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.283e-05/0.143, allocations: 6.125 kB / 0.5071 GB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.909e-05/0.1431, allocations: 7.094 kB / 0.5071 GB, free: 7.105 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.1433, allocations: 83.38 kB / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1433, allocations: 0 / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.448e-05/0.1434, allocations: 4.969 kB / 0.5071 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.1434, allocations: 5.688 kB / 0.5071 GB, free: 7.035 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003103/0.1437, allocations: 73.77 kB / 0.5072 GB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001667/0.1439, allocations: 170.5 kB / 0.5074 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004407/0.1443, allocations: 136.8 kB / 0.5075 GB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001561/0.1445, allocations: 52.3 kB / 0.5076 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.1445, allocations: 1.156 kB / 0.5076 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.1445, allocations: 35.56 kB / 0.5076 GB, free: 6.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.1445, allocations: 0 / 0.5076 GB, free: 6.652 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.009319/0.1539, allocations: 2.444 MB / 0.51 GB, free: 4.301 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.635e-05/0.1539, allocations: 55.41 kB / 0.51 GB, free: 4.234 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.293e-05/0.154, allocations: 93.86 kB / 0.5101 GB, free: 4.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.154, allocations: 29.7 kB / 0.5102 GB, free: 4.098 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.254e-05/0.1541, allocations: 84.12 kB / 0.5102 GB, free: 4.012 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.985e-05/0.1541, allocations: 31.47 kB / 0.5103 GB, free: 3.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.637e-05/0.1542, allocations: 41.69 kB / 0.5103 GB, free: 3.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.239e-05/0.1543, allocations: 314.8 kB / 0.5106 GB, free: 3.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003597/0.1546, allocations: 108 kB / 0.5107 GB, free: 3.512 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003367/0.155, allocations: 104 kB / 0.5108 GB, free: 3.41 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006767/0.1557, allocations: 211.4 kB / 0.511 GB, free: 3.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.1557, allocations: 0 / 0.511 GB, free: 3.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007616/0.1565, allocations: 273.3 kB / 0.5113 GB, free: 2.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1565, allocations: 4 kB / 0.5113 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1565, allocations: 0 / 0.5113 GB, free: 2.926 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.1565, allocations: 7.969 kB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.1569, allocations: 67.88 kB / 0.5113 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.1569, allocations: 4 kB / 0.5114 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002362/0.1571, allocations: 35.95 kB / 0.5114 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.1572, allocations: 4 kB / 0.5114 GB, free: 2.809 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 0.0001089/0.1573, allocations: 125.7 kB / 0.5115 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.1573, allocations: 7.984 kB / 0.5115 GB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.395e-05/0.1574, allocations: 7.969 kB / 0.5115 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.1574, allocations: 0 / 0.5115 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.1574, allocations: 0 / 0.5115 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.1574, allocations: 0 / 0.5115 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001204/0.1586, allocations: 0.5491 MB / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.1587, allocations: 0 / 0.5121 GB, free: 2.051 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.159, allocations: 59.88 kB / 0.5121 GB, free: 1.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.159, allocations: 4 kB / 0.5121 GB, free: 1.988 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.012e-05/0.1591, allocations: 15.92 kB / 0.5121 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1591, allocations: 0 / 0.5121 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1591, allocations: 3.938 kB / 0.5121 GB, free: 1.969 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001278/0.1604, allocations: 471.2 kB / 0.5126 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.376e-05/0.1604, allocations: 97.08 kB / 0.5127 GB, free: 1.379 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.095e-05/0.1605, allocations: 4 kB / 0.5127 GB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002847/0.1608, allocations: 35.95 kB / 0.5127 GB, free: 1.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.846e-05/0.1608, allocations: 23.84 kB / 0.5127 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.1608, allocations: 8 kB / 0.5128 GB, free: 1.309 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.121e-05/0.1609, allocations: 79.28 kB / 0.5128 GB, free: 1.23 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1609, allocations: 0 / 0.5128 GB, free: 1.23 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003991/0.1613, allocations: 99.92 kB / 0.5129 GB, free: 1.133 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.0004059/0.1617, allocations: 171.1 kB / 0.5131 GB, free: 0.957 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007866/0.1625, allocations: 235.8 kB / 0.5133 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.1625, allocations: 0 / 0.5133 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003619/0.1629, allocations: 116.2 kB / 0.5134 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.1631, allocations: 4 kB / 0.5134 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1652, allocations: 494 kB / 0.5139 GB, free: 104 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1655, allocations: 0.6846 MB / 0.5146 GB, free: 15.39 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002357/0.1657, allocations: 63.92 kB / 0.5146 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.335e-05/0.1658, allocations: 19.42 kB / 0.5146 GB, free: 15.31 MB / 398.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1659, allocations: 3.938 kB / 0.5146 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.006068/0.1719, allocations: 2.304 MB / 0.5169 GB, free: 13.02 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)