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.0009352/0.0009352, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.0009243/0.0009244, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.4 MB / 222.1 MB, free: 5.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3823/0.3823, allocations: 54.98 MB / 325.4 MB, free: 0.7109 MB / 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.0005476/0.0005478, allocations: 19.98 kB / 396.6 MB, free: 11.71 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.2999, allocations: 60.72 MB / 457.3 MB, free: 38.1 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.0006473/0.3005, allocations: 292.5 kB / 457.6 MB, free: 38.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.3021, allocations: 1.425 MB / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.3021, allocations: 0 / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.3022, allocations: 0 / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.301e-05/0.3022, allocations: 0 / 459 MB, free: 38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004423/0.3026, allocations: 104.5 kB / 459.1 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.493e-05/0.3027, allocations: 24.05 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.3028, allocations: 5.062 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.718e-05/0.3028, allocations: 9.516 kB / 459.2 MB, free: 37.99 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.776e-05/0.3029, allocations: 26.8 kB / 459.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.3029, allocations: 3.688 kB / 459.2 MB, free: 37.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004107/0.3033, allocations: 312.2 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.591e-05/0.3033, allocations: 10.94 kB / 459.5 MB, free: 37.97 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.031e-05/0.3034, allocations: 28.83 kB / 459.5 MB, free: 37.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002181/0.3036, allocations: 134.3 kB / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.405e-06/0.3036, allocations: 0 / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3036, allocations: 0 / 459.7 MB, free: 37.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.157e-06/0.3036, allocations: 2.844 kB / 459.7 MB, free: 37.94 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.0004144/0.304, allocations: 362.8 kB / 460 MB, free: 37.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/0.3041, allocations: 10.38 kB / 460 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004742/0.3046, allocations: 85.95 kB / 460.1 MB, free: 37.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.938e-05/0.3047, allocations: 169.8 kB / 460.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.3047, allocations: 3.719 kB / 460.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.3047, allocations: 7.156 kB / 460.3 MB, free: 37.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.305, allocations: 84.17 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.305, allocations: 3.906 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.492e-05/0.305, allocations: 3.375 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.305, allocations: 3.891 kB / 460.4 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002986/0.3053, allocations: 83.52 kB / 460.5 MB, free: 37.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001677/0.3055, allocations: 168.9 kB / 460.6 MB, free: 37.15 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.306, allocations: 158.4 kB / 460.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3061, allocations: 7.594 kB / 460.8 MB, free: 37.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3061, allocations: 30.56 kB / 460.8 MB, free: 37.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.3061, allocations: 4.156 kB / 460.8 MB, free: 37.08 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.009962/0.3161, allocations: 2.746 MB / 463.6 MB, free: 36.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.3161, allocations: 51.41 kB / 463.6 MB, free: 36.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.231e-05/0.3162, allocations: 96.83 kB / 463.7 MB, free: 36.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.3162, allocations: 29.14 kB / 463.8 MB, free: 36.1 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.206e-05/0.3162, allocations: 81.83 kB / 463.8 MB, free: 36.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.892e-05/0.3163, allocations: 38.78 kB / 463.9 MB, free: 35.99 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.456e-05/0.3163, allocations: 0 / 463.9 MB, free: 35.99 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.3164, allocations: 320.6 kB / 464.2 MB, free: 35.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004052/0.3168, allocations: 128.1 kB / 464.3 MB, free: 35.67 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.3172, allocations: 126 kB / 464.4 MB, free: 35.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.3176, allocations: 123.2 kB / 464.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3176, allocations: 0 / 464.6 MB, free: 35.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008629/0.3185, allocations: 307.6 kB / 464.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.3185, allocations: 2.969 kB / 464.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.3185, allocations: 2.969 kB / 464.9 MB, free: 35.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.3185, allocations: 7.891 kB / 464.9 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003789/0.3189, allocations: 79.14 kB / 465 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.3189, allocations: 4 kB / 465 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.3192, allocations: 39.55 kB / 465 MB, free: 35.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.141e-05/0.3192, allocations: 16.3 kB / 465 MB, free: 35.58 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.3193, allocations: 112.2 kB / 465.1 MB, free: 35.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.3194, allocations: 6.844 kB / 465.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.3194, allocations: 14.78 kB / 465.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.3194, allocations: 6.766 kB / 465.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.3194, allocations: 0.8906 kB / 465.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.3194, allocations: 0 / 465.1 MB, free: 35.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/0.3206, allocations: 0.5884 MB / 465.7 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.3207, allocations: 7.766 kB / 465.7 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/0.321, allocations: 72.19 kB / 465.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.321, allocations: 3.328 kB / 465.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3211, allocations: 9.156 kB / 465.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3211, allocations: 0 / 465.8 MB, free: 35.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3211, allocations: 4.797 kB / 465.8 MB, free: 35.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001308/0.3224, allocations: 0.5291 MB / 466.4 MB, free: 34.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.3225, allocations: 97.55 kB / 466.5 MB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.3225, allocations: 7.438 kB / 466.5 MB, free: 34.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003127/0.3228, allocations: 47.41 kB / 466.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.034e-05/0.3229, allocations: 9.891 kB / 466.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.072e-05/0.3229, allocations: 12.38 kB / 466.5 MB, free: 34.87 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.188e-05/0.323, allocations: 78.31 kB / 466.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.323, allocations: 0 / 466.6 MB, free: 34.8 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004125/0.3234, allocations: 98.8 kB / 466.7 MB, free: 34.78 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 (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.0003649/0.3238, allocations: 179.4 kB / 466.9 MB, free: 34.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000875/0.3246, allocations: 268.8 kB / 467.1 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.3247, allocations: 0 / 467.1 MB, free: 34.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004067/0.3251, allocations: 147.6 kB / 467.3 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/0.3252, allocations: 2.656 kB / 467.3 MB, free: 34.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002057/0.3273, allocations: 0.5671 MB / 467.9 MB, free: 34.48 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/0.3274, allocations: 0.6924 MB / 468.5 MB, free: 33.79 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003106/0.3278, allocations: 52.47 kB / 468.6 MB, free: 33.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.567e-05/0.3279, allocations: 25.23 kB / 468.6 MB, free: 33.75 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.3279, allocations: 4 kB / 468.6 MB, free: 33.75 MB / 382.1 MB Notification: Performance of Templates: time 0.004884/0.3328, allocations: 2.186 MB / 470.8 MB, free: 33.62 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: