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.001051/0.001051, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 196.1 kB / 16.53 MB, free: 6.617 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.424/1.424, allocations: 205.1 MB / 222.4 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.469/0.469, allocations: 54.94 MB / 324.7 MB, free: 136 kB / 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.001451/0.001451, allocations: 71.91 kB / 395.4 MB, free: 11.7 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1298, allocations: 59.59 MB / 455 MB, free: 44 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.2232/0.3531, allocations: 0.5641 MB / 455.6 MB, free: 39.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001837/0.3549, allocations: 1.478 MB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.612e-05/0.355, allocations: 3.828 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.355, allocations: 4 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.18e-05/0.3551, allocations: 0.6562 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005613/0.3556, allocations: 134.5 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 7.045e-05/0.3557, allocations: 26.44 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.894e-05/0.3558, allocations: 6.562 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.281e-05/0.3558, allocations: 11.39 kB / 457.2 MB, free: 38.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.022e-05/0.3559, allocations: 24.28 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.3559, allocations: 2.75 kB / 457.3 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004236/0.3564, allocations: 315.9 kB / 457.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.3564, allocations: 20.27 kB / 457.6 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.3564, allocations: 16.88 kB / 457.6 MB, free: 38.81 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002776/0.3567, allocations: 179.8 kB / 457.8 MB, free: 38.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3567, allocations: 3.188 kB / 457.8 MB, free: 38.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3568, allocations: 0.875 kB / 457.8 MB, free: 38.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3568, allocations: 0.6562 kB / 457.8 MB, free: 38.79 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.0005051/0.3573, allocations: 376.9 kB / 458.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.3573, allocations: 11.06 kB / 458.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004608/0.3578, allocations: 67.78 kB / 458.2 MB, free: 38.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/0.3579, allocations: 164.2 kB / 458.4 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.3579, allocations: 3.188 kB / 458.4 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3579, allocations: 13.38 kB / 458.4 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002591/0.3582, allocations: 81.42 kB / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/0.3582, allocations: 0.5312 kB / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.402e-05/0.3583, allocations: 0 / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3583, allocations: 3.969 kB / 458.5 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002799/0.3585, allocations: 69.02 kB / 458.6 MB, free: 38.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001486/0.3587, allocations: 171.3 kB / 458.7 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004337/0.3591, allocations: 136.2 kB / 458.9 MB, free: 37.97 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.3593, allocations: 57.94 kB / 458.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.3593, allocations: 4.844 kB / 458.9 MB, free: 37.96 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.239e-05/0.3594, allocations: 34.34 kB / 459 MB, free: 37.92 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3594, allocations: 0 / 459 MB, free: 37.92 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.009564/0.3689, allocations: 2.434 MB / 461.4 MB, free: 37.17 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.369, allocations: 54.16 kB / 461.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.222e-05/0.3691, allocations: 92.61 kB / 461.5 MB, free: 37.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.3691, allocations: 30.45 kB / 461.6 MB, free: 36.98 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.136e-05/0.3691, allocations: 80.14 kB / 461.6 MB, free: 36.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.063e-05/0.3692, allocations: 40.23 kB / 461.7 MB, free: 36.87 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.343e-05/0.3693, allocations: 37.25 kB / 461.7 MB, free: 36.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.814e-05/0.3693, allocations: 322.7 kB / 462 MB, free: 36.54 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004122/0.3698, allocations: 105.9 kB / 462.1 MB, free: 36.53 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.3702, allocations: 99.3 kB / 462.2 MB, free: 36.53 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007865/0.371, allocations: 218 kB / 462.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.371, allocations: 0 / 462.4 MB, free: 36.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008636/0.3718, allocations: 260.2 kB / 462.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.035e-05/0.3719, allocations: 9.672 kB / 462.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.3719, allocations: 0 / 462.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.3719, allocations: 0 / 462.7 MB, free: 36.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003596/0.3723, allocations: 69.39 kB / 462.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3723, allocations: 2.5 kB / 462.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.3725, allocations: 42.62 kB / 462.8 MB, free: 36.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.961e-05/0.3726, allocations: 9.312 kB / 462.8 MB, free: 36.46 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.892e-05/0.3726, allocations: 118.8 kB / 462.9 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.3727, allocations: 7.5 kB / 463 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.3727, allocations: 11.84 kB / 463 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3728, allocations: 2.875 kB / 463 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3728, allocations: 0 / 463 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3728, allocations: 3.375 kB / 463 MB, free: 36.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.3739, allocations: 0.5456 MB / 463.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.374, allocations: 0 / 463.5 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003501/0.3743, allocations: 65.64 kB / 463.6 MB, free: 36.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3743, allocations: 3.938 kB / 463.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.3743, allocations: 9.297 kB / 463.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.3744, allocations: 0 / 463.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3744, allocations: 0 / 463.6 MB, free: 36.01 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.3757, allocations: 484.5 kB / 464.1 MB, free: 35.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.17e-05/0.3758, allocations: 95 kB / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.3758, allocations: 0 / 464.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.3761, allocations: 38.58 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3762, allocations: 19.59 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.747e-05/0.3762, allocations: 10.48 kB / 464.2 MB, free: 35.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.298e-05/0.3762, allocations: 78.22 kB / 464.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.3762, allocations: 0 / 464.3 MB, free: 35.68 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000409/0.3767, allocations: 102 kB / 464.4 MB, free: 35.66 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.0003809/0.377, allocations: 173.6 kB / 464.6 MB, free: 35.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009305/0.378, allocations: 235.4 kB / 464.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.378, allocations: 3.531 kB / 464.8 MB, free: 35.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3784, allocations: 120.8 kB / 464.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002501/0.3787, allocations: 6.688 kB / 464.9 MB, free: 35.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002115/0.3808, allocations: 485.9 kB / 465.4 MB, free: 35.39 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.3809, allocations: 0.6862 MB / 466.1 MB, free: 34.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003051/0.3813, allocations: 52.81 kB / 466.1 MB, free: 34.67 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.549e-05/0.3813, allocations: 23.72 kB / 466.2 MB, free: 34.66 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3814, allocations: 4 kB / 466.2 MB, free: 34.66 MB / 382.1 MB Notification: Performance of Templates: time 0.004544/0.3859, allocations: 2.275 MB / 468.4 MB, free: 34.52 MB / 382.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)