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.004336/0.004336, allocations: 102.1 kB / 15.73 MB, free: 6.438 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.00105/0.00105, allocations: 194.3 kB / 16.67 MB, free: 6.355 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.324/1.324, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4093/0.4093, allocations: 54.94 MB / 324.8 MB, free: 15.98 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.001462/0.001462, allocations: 67.19 kB / 456.2 MB, free: 38.14 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.166, allocations: 59.59 MB / 0.5037 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001911/0.168, allocations: 0.5661 MB / 0.5043 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0021/0.1701, allocations: 1.494 MB / 0.5058 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.851e-05/0.1702, allocations: 0 / 0.5058 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.1702, allocations: 0 / 0.5058 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.371e-05/0.1702, allocations: 3.938 kB / 0.5058 GB, free: 8.105 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005314/0.1708, allocations: 136.2 kB / 0.5059 GB, free: 8.012 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.291e-05/0.1709, allocations: 30.7 kB / 0.5059 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.1709, allocations: 1.375 kB / 0.5059 GB, free: 7.996 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.171, allocations: 20.36 kB / 0.5059 GB, free: 7.984 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.191e-05/0.1711, allocations: 18.89 kB / 0.506 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1711, allocations: 1.625 kB / 0.506 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004708/0.1716, allocations: 320.8 kB / 0.5063 GB, free: 7.785 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.1716, allocations: 10.73 kB / 0.5063 GB, free: 7.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1716, allocations: 14.67 kB / 0.5063 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.1719, allocations: 191.6 kB / 0.5065 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.172, allocations: 0 / 0.5065 GB, free: 7.664 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.172, allocations: 1.375 kB / 0.5065 GB, free: 7.664 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.172, allocations: 0 / 0.5065 GB, free: 7.664 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.0005123/0.1725, allocations: 366.7 kB / 0.5068 GB, free: 7.277 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.1726, allocations: 9.625 kB / 0.5068 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004893/0.173, allocations: 71.25 kB / 0.5069 GB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.1732, allocations: 169.7 kB / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.754e-05/0.1732, allocations: 3.125 kB / 0.5071 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.515e-05/0.1732, allocations: 6.688 kB / 0.5071 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000254/0.1735, allocations: 79.77 kB / 0.5071 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1735, allocations: 1.375 kB / 0.5071 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.1735, allocations: 0 / 0.5071 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1735, allocations: 1.375 kB / 0.5071 GB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002901/0.1738, allocations: 73.17 kB / 0.5072 GB, free: 6.949 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001944/0.174, allocations: 171.2 kB / 0.5074 GB, free: 6.742 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000468/0.1745, allocations: 140.5 kB / 0.5075 GB, free: 6.664 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1747, allocations: 60.34 kB / 0.5076 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1747, allocations: 1.406 kB / 0.5076 GB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.338e-05/0.1748, allocations: 39.69 kB / 0.5076 GB, free: 6.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.333e-06/0.1748, allocations: 0 / 0.5076 GB, free: 6.582 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.009374/0.1841, allocations: 2.438 MB / 0.51 GB, free: 4.293 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.1842, allocations: 55.41 kB / 0.51 GB, free: 4.227 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.737e-05/0.1842, allocations: 89.86 kB / 0.5101 GB, free: 4.129 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.1843, allocations: 33.7 kB / 0.5102 GB, free: 4.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.442e-05/0.1843, allocations: 80.14 kB / 0.5102 GB, free: 4.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.189e-05/0.1843, allocations: 35.45 kB / 0.5103 GB, free: 3.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.067e-05/0.1844, allocations: 33.83 kB / 0.5103 GB, free: 3.934 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.005e-05/0.1845, allocations: 334.7 kB / 0.5106 GB, free: 3.598 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003916/0.1849, allocations: 95.91 kB / 0.5107 GB, free: 3.504 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.1853, allocations: 110.9 kB / 0.5108 GB, free: 3.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000748/0.186, allocations: 204.7 kB / 0.511 GB, free: 3.195 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.186, allocations: 7.984 kB / 0.511 GB, free: 3.188 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008305/0.1869, allocations: 261.3 kB / 0.5113 GB, free: 2.926 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.1869, allocations: 8 kB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.902e-06/0.1869, allocations: 0 / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1869, allocations: 0 / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003623/0.1873, allocations: 67.92 kB / 0.5113 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1873, allocations: 0 / 0.5113 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002384/0.1876, allocations: 39.95 kB / 0.5114 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.1876, allocations: 8 kB / 0.5114 GB, free: 2.805 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 7.872e-05/0.1877, allocations: 117.7 kB / 0.5115 GB, free: 2.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.1877, allocations: 4 kB / 0.5115 GB, free: 2.676 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.1878, allocations: 11.97 kB / 0.5115 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1878, allocations: 4.094 kB / 0.5115 GB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.1878, allocations: 7.922 kB / 0.5115 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.1878, allocations: 0 / 0.5115 GB, free: 2.648 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1889, allocations: 0.5373 MB / 0.5121 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1889, allocations: 0 / 0.5121 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003515/0.1893, allocations: 71.86 kB / 0.5121 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1893, allocations: 0 / 0.5121 GB, free: 1.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/0.1893, allocations: 12 kB / 0.5121 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1893, allocations: 0 / 0.5121 GB, free: 1.973 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1893, allocations: 7.922 kB / 0.5121 GB, free: 1.965 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.1906, allocations: 483.1 kB / 0.5126 GB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.1907, allocations: 92.98 kB / 0.5127 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.244e-05/0.1907, allocations: 4 kB / 0.5127 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002933/0.191, allocations: 40.02 kB / 0.5127 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.1911, allocations: 11.92 kB / 0.5127 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.1911, allocations: 11.98 kB / 0.5128 GB, free: 1.301 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.413e-05/0.1911, allocations: 79.28 kB / 0.5128 GB, free: 1.223 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1911, allocations: 3.938 kB / 0.5128 GB, free: 1.219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.1915, allocations: 99.92 kB / 0.5129 GB, free: 1.121 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.0003715/0.1919, allocations: 167.2 kB / 0.5131 GB, free: 0.9492 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008415/0.1928, allocations: 235.6 kB / 0.5133 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1928, allocations: 0 / 0.5133 GB, free: 0.7227 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004173/0.1932, allocations: 127.8 kB / 0.5134 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.1934, allocations: 0 / 0.5134 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001984/0.1954, allocations: 489.8 kB / 0.5139 GB, free: 96 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1957, allocations: 0.6885 MB / 0.5146 GB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002401/0.1959, allocations: 52 kB / 0.5146 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.268e-05/0.196, allocations: 23.42 kB / 0.5146 GB, free: 15.3 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.196, allocations: 0 / 0.5146 GB, free: 15.3 MB / 398.1 MB Notification: Performance of Templates: time 0.005003/0.2011, allocations: 2.278 MB / 0.5169 GB, free: 13.04 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)