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.0009987/0.0009987, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001186/0.001186, allocations: 196.2 kB / 16.14 MB, free: 6.703 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.51/1.51, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4059/0.4059, allocations: 54.92 MB / 324.3 MB, free: 176 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.001421/0.001421, allocations: 72.41 kB / 394.7 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1477, allocations: 59.59 MB / 454.3 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.2428/0.3906, allocations: 0.6256 MB / 454.9 MB, free: 39.02 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001968/0.3926, allocations: 1.504 MB / 456.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.945e-05/0.3927, allocations: 3.391 kB / 456.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.084e-05/0.3927, allocations: 0 / 456.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.745e-05/0.3927, allocations: 1.5 kB / 456.4 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.3932, allocations: 105.9 kB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 5.399e-05/0.3932, allocations: 22.16 kB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.504e-05/0.3933, allocations: 4.75 kB / 456.5 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.905e-05/0.3933, allocations: 18.88 kB / 456.5 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.51e-05/0.3934, allocations: 21.11 kB / 456.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3934, allocations: 2.594 kB / 456.6 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.3938, allocations: 319.6 kB / 456.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.596e-05/0.3938, allocations: 6.016 kB / 456.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.027e-05/0.3939, allocations: 17.95 kB / 456.9 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.3941, allocations: 188.2 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3942, allocations: 0 / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3942, allocations: 3.719 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.867e-06/0.3942, allocations: 0.9688 kB / 457.1 MB, free: 38.68 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.0004295/0.3946, allocations: 371.6 kB / 457.4 MB, free: 38.31 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.3947, allocations: 13.09 kB / 457.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004635/0.3951, allocations: 69.36 kB / 457.5 MB, free: 38.3 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.95e-05/0.3952, allocations: 169.1 kB / 457.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.057e-05/0.3952, allocations: 3.312 kB / 457.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.3953, allocations: 3.781 kB / 457.7 MB, free: 38.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002408/0.3955, allocations: 88.22 kB / 457.8 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.3955, allocations: 0 / 457.8 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.3956, allocations: 5.844 kB / 457.8 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.3956, allocations: 1.656 kB / 457.8 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002771/0.3959, allocations: 71.55 kB / 457.9 MB, free: 38.07 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001447/0.396, allocations: 169.1 kB / 458 MB, free: 37.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004445/0.3965, allocations: 132.8 kB / 458.2 MB, free: 37.86 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.3966, allocations: 56.58 kB / 458.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.3966, allocations: 7.219 kB / 458.2 MB, free: 37.85 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.997e-05/0.3967, allocations: 33.91 kB / 458.3 MB, free: 37.81 MB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.3967, allocations: 3.938 kB / 458.3 MB, free: 37.8 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.009365/0.4061, allocations: 2.428 MB / 460.7 MB, free: 37.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.662e-05/0.4061, allocations: 54.31 kB / 460.7 MB, free: 37.01 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.24e-05/0.4062, allocations: 100.2 kB / 460.8 MB, free: 36.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.4062, allocations: 30.23 kB / 460.9 MB, free: 36.88 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.728e-05/0.4062, allocations: 80.14 kB / 460.9 MB, free: 36.8 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-05/0.4063, allocations: 40.41 kB / 461 MB, free: 36.77 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.4064, allocations: 34.58 kB / 461 MB, free: 36.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.97e-05/0.4065, allocations: 318 kB / 461.3 MB, free: 36.44 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003789/0.4068, allocations: 102.6 kB / 461.4 MB, free: 36.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003622/0.4072, allocations: 109.3 kB / 461.5 MB, free: 36.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007005/0.4079, allocations: 217.8 kB / 461.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.4079, allocations: 3 kB / 461.7 MB, free: 36.4 MB / 382.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008254/0.4088, allocations: 262.1 kB / 462 MB, free: 36.36 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.4088, allocations: 2.938 kB / 462 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.4088, allocations: 2.844 kB / 462 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.4088, allocations: 0 / 462 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.4092, allocations: 61.47 kB / 462.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.4092, allocations: 6.844 kB / 462.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002307/0.4094, allocations: 37.52 kB / 462.1 MB, free: 36.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.4095, allocations: 9.922 kB / 462.1 MB, free: 36.36 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.73e-05/0.4096, allocations: 120.9 kB / 462.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.4096, allocations: 6.875 kB / 462.2 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.229e-05/0.4096, allocations: 11.84 kB / 462.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.4097, allocations: 4.219 kB / 462.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.4097, allocations: 0 / 462.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.4097, allocations: 0 / 462.3 MB, free: 36.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.4108, allocations: 0.5518 MB / 462.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4108, allocations: 0.75 kB / 462.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.4111, allocations: 60.06 kB / 462.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4112, allocations: 0 / 462.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.4112, allocations: 12.64 kB / 462.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4112, allocations: 6.625 kB / 462.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.4112, allocations: 2.562 kB / 462.9 MB, free: 35.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.4124, allocations: 479 kB / 463.4 MB, free: 35.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.4125, allocations: 93.36 kB / 463.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.126e-05/0.4125, allocations: 4.062 kB / 463.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.4128, allocations: 41.44 kB / 463.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.405e-05/0.4129, allocations: 9.812 kB / 463.5 MB, free: 35.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.063e-05/0.4129, allocations: 16.75 kB / 463.5 MB, free: 35.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.08e-05/0.4129, allocations: 82.88 kB / 463.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4129, allocations: 0 / 463.6 MB, free: 35.57 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004108/0.4133, allocations: 99.84 kB / 463.7 MB, free: 35.56 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.0004013/0.4138, allocations: 167 kB / 463.9 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008508/0.4146, allocations: 227.3 kB / 464.1 MB, free: 35.44 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4146, allocations: 4 kB / 464.1 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000397/0.415, allocations: 120.4 kB / 464.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.4153, allocations: 11.11 kB / 464.2 MB, free: 35.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002106/0.4174, allocations: 498.7 kB / 464.7 MB, free: 35.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002134/0.4176, allocations: 0.6841 MB / 465.4 MB, free: 34.58 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003185/0.418, allocations: 66.23 kB / 465.5 MB, free: 34.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.256e-05/0.4181, allocations: 21.89 kB / 465.5 MB, free: 34.54 MB / 382.1 MB Notification: Performance of SimCode: time 4.7e-07/0.4181, allocations: 0.8438 kB / 465.5 MB, free: 34.54 MB / 382.1 MB Notification: Performance of Templates: time 0.004596/0.4227, allocations: 2.221 MB / 467.7 MB, free: 34.41 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)