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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.3525/0.3525, allocations: 55.01 MB / 69.96 MB, free: 8.676 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001101/0.0011, allocations: 188.5 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.45/1.45, allocations: 194.4 MB / 292.3 MB, free: 3.488 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001738/0.001738, allocations: 123 kB / 350.7 MB, free: 9.012 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 12 kB / 418.9 MB, free: 36.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1177, allocations: 57.65 MB / 476.5 MB, free: 11.28 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4851, allocations: 86.27 MB / 0.5496 GB, free: 3.082 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4853, allocations: 76.42 kB / 0.5497 GB, free: 3.039 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01227/0.4976, allocations: 4.48 MB / 0.5541 GB, free: 15.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.108e-06/0.4977, allocations: 8 kB / 0.5541 GB, free: 15.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4977, allocations: 3.938 kB / 0.5541 GB, free: 15.22 MB / 378.7 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.0004946/0.4982, allocations: 379.1 kB / 0.5544 GB, free: 14.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.4983, allocations: 11.97 kB / 0.5544 GB, free: 14.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003963/0.4987, allocations: 63.94 kB / 0.5545 GB, free: 14.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.4988, allocations: 167 kB / 0.5547 GB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.4989, allocations: 4 kB / 0.5547 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.694e-05/0.4989, allocations: 3.938 kB / 0.5547 GB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.4992, allocations: 89.22 kB / 0.5548 GB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4992, allocations: 3.984 kB / 0.5548 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.4992, allocations: 4 kB / 0.5548 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.4993, allocations: 0 / 0.5548 GB, free: 14.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002992/0.4996, allocations: 90.73 kB / 0.5548 GB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002073/0.4998, allocations: 176.5 kB / 0.555 GB, free: 14.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004641/0.5002, allocations: 152.3 kB / 0.5552 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.5003, allocations: 4 kB / 0.5552 GB, free: 13.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.5003, allocations: 30.56 kB / 0.5552 GB, free: 13.95 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.5003, allocations: 0 / 0.5552 GB, free: 13.95 MB / 378.7 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.01031/0.5106, allocations: 2.737 MB / 0.5579 GB, free: 11.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/0.5107, allocations: 51.41 kB / 0.5579 GB, free: 11.12 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.801e-05/0.5108, allocations: 89 kB / 0.558 GB, free: 11.03 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.811e-05/0.5108, allocations: 29.02 kB / 0.558 GB, free: 11 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.812e-05/0.5109, allocations: 80.27 kB / 0.5581 GB, free: 10.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.791e-05/0.5109, allocations: 38.92 kB / 0.5581 GB, free: 10.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.468e-05/0.5109, allocations: 7.188 kB / 0.5581 GB, free: 10.88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.5111, allocations: 318.6 kB / 0.5585 GB, free: 10.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004057/0.5115, allocations: 121.8 kB / 0.5586 GB, free: 10.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000376/0.5119, allocations: 121 kB / 0.5587 GB, free: 10.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.5123, allocations: 134 kB / 0.5588 GB, free: 10.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.5123, allocations: 0 / 0.5588 GB, free: 10.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008946/0.5132, allocations: 308.1 kB / 0.5591 GB, free: 9.945 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.5132, allocations: 11.95 kB / 0.5591 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.5132, allocations: 0 / 0.5591 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.5133, allocations: 0 / 0.5591 GB, free: 9.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003878/0.5137, allocations: 79.86 kB / 0.5592 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.5137, allocations: 0 / 0.5592 GB, free: 9.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.5139, allocations: 51.33 kB / 0.5592 GB, free: 9.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.514, allocations: 4 kB / 0.5592 GB, free: 9.805 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.5141, allocations: 113.3 kB / 0.5594 GB, free: 9.688 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/0.5141, allocations: 11.92 kB / 0.5594 GB, free: 9.676 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.5142, allocations: 18.61 kB / 0.5594 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.5142, allocations: 0 / 0.5594 GB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.5142, allocations: 4 kB / 0.5594 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.5142, allocations: 0 / 0.5594 GB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001307/0.5155, allocations: 0.5873 MB / 0.56 GB, free: 9.059 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.5155, allocations: 4 kB / 0.56 GB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003933/0.5159, allocations: 71.88 kB / 0.56 GB, free: 8.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5159, allocations: 7.938 kB / 0.56 GB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.516, allocations: 7.984 kB / 0.56 GB, free: 8.969 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.516, allocations: 4 kB / 0.5601 GB, free: 8.965 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.516, allocations: 4 kB / 0.5601 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001344/0.5173, allocations: 0.5173 MB / 0.5606 GB, free: 8.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/0.5175, allocations: 101 kB / 0.5607 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.945e-05/0.5175, allocations: 3.5 kB / 0.5607 GB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003192/0.5178, allocations: 52 kB / 0.5607 GB, free: 8.309 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.641e-05/0.5179, allocations: 11.98 kB / 0.5607 GB, free: 8.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.5179, allocations: 11.69 kB / 0.5607 GB, free: 8.289 MB / 378.7 MB Notification: Performance of sorting global known variables: time 2.993e-05/0.5179, allocations: 75.28 kB / 0.5608 GB, free: 8.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.363e-06/0.5179, allocations: 0 / 0.5608 GB, free: 8.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004327/0.5184, allocations: 135.3 kB / 0.5609 GB, free: 8.086 MB / 378.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004178/0.5188, allocations: 198.6 kB / 0.5611 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008924/0.5197, allocations: 269.2 kB / 0.5614 GB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.5197, allocations: 0 / 0.5614 GB, free: 7.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004234/0.5201, allocations: 142.6 kB / 0.5615 GB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.5203, allocations: 7.375 kB / 0.5615 GB, free: 7.512 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00217/0.5225, allocations: 0.5795 MB / 0.5621 GB, free: 6.914 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.5227, allocations: 0.6887 MB / 0.5628 GB, free: 6.199 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000343/0.5231, allocations: 60.66 kB / 0.5628 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.497e-05/0.5232, allocations: 23.42 kB / 0.5628 GB, free: 6.117 MB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.5232, allocations: 0 / 0.5628 GB, free: 6.117 MB / 378.7 MB Notification: Performance of Templates: time 0.004379/0.5276, allocations: 2.193 MB / 0.565 GB, free: 3.961 MB / 378.7 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)