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.001028/0.001028, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001097/0.001097, allocations: 190.5 kB / 16.25 MB, free: 6.145 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.47/1.47, allocations: 205.1 MB / 222.1 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4206/0.4206, allocations: 54.93 MB / 324.4 MB, free: 92 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.002809/0.002809, allocations: 63.91 kB / 394.9 MB, free: 12.06 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1834, allocations: 59.6 MB / 454.5 MB, free: 408 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.2294/0.4129, allocations: 0.6414 MB / 455.1 MB, free: 38.98 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001942/0.4149, allocations: 1.478 MB / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.668e-05/0.4151, allocations: 0 / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.683e-05/0.4151, allocations: 2.531 kB / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.119e-05/0.4151, allocations: 0 / 456.6 MB, free: 38.56 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004809/0.4156, allocations: 115.9 kB / 456.7 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.943e-05/0.4157, allocations: 23.69 kB / 456.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.565e-05/0.4157, allocations: 3.281 kB / 456.8 MB, free: 38.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.4158, allocations: 17.59 kB / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.233e-05/0.4159, allocations: 25.84 kB / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.587e-05/0.4159, allocations: 3.719 kB / 456.8 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.4163, allocations: 315.7 kB / 457.1 MB, free: 38.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.904e-05/0.4163, allocations: 17.38 kB / 457.1 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.755e-05/0.4164, allocations: 15.2 kB / 457.1 MB, free: 38.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000246/0.4166, allocations: 182.8 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4166, allocations: 5.25 kB / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4166, allocations: 0 / 457.3 MB, free: 38.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.4166, allocations: 0 / 457.3 MB, free: 38.51 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.0004481/0.4171, allocations: 367.9 kB / 457.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.042e-05/0.4171, allocations: 9.25 kB / 457.7 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000462/0.4176, allocations: 74.08 kB / 457.8 MB, free: 38.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.467e-05/0.4177, allocations: 161.6 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.4177, allocations: 7.875 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.4178, allocations: 7 kB / 457.9 MB, free: 37.94 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.418, allocations: 83.12 kB / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.4181, allocations: 0 / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.803e-05/0.4181, allocations: 3.5 kB / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.4181, allocations: 0 / 458 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002938/0.4184, allocations: 69.97 kB / 458.1 MB, free: 37.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.4186, allocations: 168.7 kB / 458.3 MB, free: 37.72 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004285/0.419, allocations: 139.4 kB / 458.4 MB, free: 37.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001519/0.4192, allocations: 61.98 kB / 458.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4192, allocations: 0.8438 kB / 458.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.4192, allocations: 33.38 kB / 458.5 MB, free: 37.64 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.4192, allocations: 0 / 458.5 MB, free: 37.64 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.009542/0.4288, allocations: 2.431 MB / 460.9 MB, free: 36.9 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/0.4288, allocations: 54.12 kB / 461 MB, free: 36.84 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.4289, allocations: 95.94 kB / 461.1 MB, free: 36.74 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.4289, allocations: 28.45 kB / 461.1 MB, free: 36.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.657e-05/0.429, allocations: 80.14 kB / 461.2 MB, free: 36.63 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.429, allocations: 40.42 kB / 461.2 MB, free: 36.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.515e-05/0.4291, allocations: 35 kB / 461.2 MB, free: 36.59 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.995e-05/0.4291, allocations: 326 kB / 461.6 MB, free: 36.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.4295, allocations: 106.1 kB / 461.7 MB, free: 36.26 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003639/0.4299, allocations: 97.22 kB / 461.8 MB, free: 36.26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007185/0.4306, allocations: 216.4 kB / 462 MB, free: 36.24 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-06/0.4306, allocations: 4 kB / 462 MB, free: 36.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000823/0.4315, allocations: 257 kB / 462.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.4315, allocations: 8.688 kB / 462.2 MB, free: 36.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4315, allocations: 3.938 kB / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4315, allocations: 0 / 462.2 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003729/0.4319, allocations: 67.95 kB / 462.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.4319, allocations: 0 / 462.3 MB, free: 36.19 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002455/0.4322, allocations: 44.91 kB / 462.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.4322, allocations: 5.125 kB / 462.4 MB, free: 36.18 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.845e-05/0.4323, allocations: 116.2 kB / 462.5 MB, free: 36.07 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.4323, allocations: 8.172 kB / 462.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.004e-05/0.4324, allocations: 11.09 kB / 462.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4324, allocations: 2.5 kB / 462.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4324, allocations: 4.344 kB / 462.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4324, allocations: 0.6562 kB / 462.5 MB, free: 36.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.4335, allocations: 0.544 MB / 463 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4336, allocations: 3.938 kB / 463 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003621/0.4339, allocations: 69.88 kB / 463.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.4339, allocations: 0 / 463.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.434, allocations: 6.906 kB / 463.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.434, allocations: 1.125 kB / 463.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.434, allocations: 1.766 kB / 463.1 MB, free: 35.74 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001266/0.4353, allocations: 486.7 kB / 463.6 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.4353, allocations: 93.97 kB / 463.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.4354, allocations: 0 / 463.7 MB, free: 35.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003056/0.4357, allocations: 40.69 kB / 463.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.404e-05/0.4357, allocations: 16.84 kB / 463.7 MB, free: 35.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.4358, allocations: 9.047 kB / 463.8 MB, free: 35.49 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.386e-05/0.4358, allocations: 82.09 kB / 463.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4358, allocations: 0 / 463.8 MB, free: 35.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003978/0.4362, allocations: 95.41 kB / 463.9 MB, free: 35.39 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.0003777/0.4366, allocations: 180.1 kB / 464.1 MB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008487/0.4374, allocations: 236.9 kB / 464.3 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4375, allocations: 0 / 464.3 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.4379, allocations: 118.1 kB / 464.5 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002458/0.4381, allocations: 8.438 kB / 464.5 MB, free: 35.26 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002035/0.4401, allocations: 0.4993 MB / 465 MB, free: 35.1 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.4403, allocations: 0.6825 MB / 465.6 MB, free: 34.4 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003213/0.4406, allocations: 59.06 kB / 465.7 MB, free: 34.38 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.4407, allocations: 20.62 kB / 465.7 MB, free: 34.37 MB / 382.1 MB Notification: Performance of SimCode: time 7.32e-07/0.4407, allocations: 4 kB / 465.7 MB, free: 34.36 MB / 382.1 MB Notification: Performance of Templates: time 0.004378/0.4451, allocations: 2.273 MB / 468 MB, free: 34.23 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)