Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3064/0.3064, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.00112/0.00112, allocations: 183.4 kB / 80.71 MB, free: 15.4 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.409/1.409, allocations: 194.2 MB / 288.6 MB, free: 15 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001672/0.001672, allocations: 119.9 kB / 346.9 MB, free: 4.715 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.201e-05, allocations: 7.984 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 57.64 MB / 470 MB, free: 11.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3678/0.4782, allocations: 86.09 MB / 0.5431 GB, free: 4.355 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/0.4785, allocations: 83.94 kB / 0.5432 GB, free: 4.273 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01175/0.4903, allocations: 3.997 MB / 0.5471 GB, free: 296 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4904, allocations: 0 / 0.5471 GB, free: 296 kB / 378.7 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.4904, allocations: 0 / 0.5471 GB, free: 296 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000387/0.4908, allocations: 366.9 kB / 0.5474 GB, free: 15.89 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/0.4908, allocations: 15.95 kB / 0.5474 GB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003733/0.4912, allocations: 63.84 kB / 0.5475 GB, free: 15.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001088/0.4913, allocations: 163.1 kB / 0.5477 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.4914, allocations: 4 kB / 0.5477 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.4914, allocations: 0 / 0.5477 GB, free: 15.61 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.4915, allocations: 57.61 kB / 0.5477 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.181e-06/0.4915, allocations: 0 / 0.5477 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.4916, allocations: 3.984 kB / 0.5477 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.4916, allocations: 0 / 0.5477 GB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.911e-05/0.4916, allocations: 27.92 kB / 0.5477 GB, free: 15.51 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001858/0.4918, allocations: 169.6 kB / 0.5479 GB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002285/0.4921, allocations: 58.61 kB / 0.548 GB, free: 15.23 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.701e-05/0.4921, allocations: 20.95 kB / 0.548 GB, free: 15.21 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.4922, allocations: 7.984 kB / 0.548 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.4922, allocations: 30.56 kB / 0.548 GB, free: 15.16 MB / 394.7 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.4922, allocations: 7.938 kB / 0.548 GB, free: 15.15 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005432/0.4928, allocations: 294.2 kB / 0.5483 GB, free: 14.81 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.226e-05/0.4928, allocations: 51.41 kB / 0.5484 GB, free: 14.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.41e-05/0.4929, allocations: 85 kB / 0.5484 GB, free: 14.66 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.838e-05/0.4929, allocations: 29.7 kB / 0.5485 GB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.909e-05/0.4929, allocations: 84.14 kB / 0.5485 GB, free: 14.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.493, allocations: 11.8 kB / 0.5486 GB, free: 14.53 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.002e-06/0.493, allocations: 0 / 0.5486 GB, free: 14.53 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.4931, allocations: 323 kB / 0.5489 GB, free: 14.2 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.75e-05/0.4932, allocations: 15.94 kB / 0.5489 GB, free: 14.19 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.104e-05/0.4932, allocations: 12 kB / 0.5489 GB, free: 14.18 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.4932, allocations: 8 kB / 0.5489 GB, free: 14.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4932, allocations: 3.984 kB / 0.5489 GB, free: 14.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001431/0.4934, allocations: 73.59 kB / 0.549 GB, free: 14.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.4934, allocations: 6.031 kB / 0.549 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.4934, allocations: 0 / 0.549 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.4934, allocations: 3.953 kB / 0.549 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001543/0.4936, allocations: 27.98 kB / 0.549 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.4936, allocations: 0 / 0.549 GB, free: 14.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001142/0.4937, allocations: 15.98 kB / 0.549 GB, free: 14.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.4938, allocations: 3.984 kB / 0.549 GB, free: 14.03 MB / 394.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 6.898e-05/0.4938, allocations: 112.9 kB / 0.5491 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.152e-05/0.4939, allocations: 4 kB / 0.5491 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/0.4941, allocations: 81.22 kB / 0.5492 GB, free: 13.83 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.4941, allocations: 7.953 kB / 0.5492 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.4941, allocations: 0 / 0.5492 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.4941, allocations: 0 / 0.5492 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001442/0.4943, allocations: 177.6 kB / 0.5494 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4943, allocations: 0 / 0.5494 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.4944, allocations: 23.98 kB / 0.5494 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.4945, allocations: 3.984 kB / 0.5494 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.4945, allocations: 0 / 0.5494 GB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.4945, allocations: 12.19 kB / 0.5494 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.4945, allocations: 3.953 kB / 0.5494 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.4947, allocations: 121.1 kB / 0.5496 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.467e-05/0.4948, allocations: 89 kB / 0.5496 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.4948, allocations: 3.984 kB / 0.5496 GB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.495, allocations: 20.08 kB / 0.5497 GB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.741e-05/0.495, allocations: 7.953 kB / 0.5497 GB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.495, allocations: 0 / 0.5497 GB, free: 13.28 MB / 394.7 MB Notification: Performance of sorting global known variables: time 4.203e-05/0.4951, allocations: 83.28 kB / 0.5498 GB, free: 13.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.4951, allocations: 0 / 0.5498 GB, free: 13.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002254/0.4953, allocations: 39.92 kB / 0.5498 GB, free: 13.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0002095/0.4955, allocations: 143.1 kB / 0.5499 GB, free: 13.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.4957, allocations: 48.08 kB / 0.55 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4957, allocations: 0 / 0.55 GB, free: 12.96 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.343e-05/0.4957, allocations: 20 kB / 0.55 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.98e-05/0.4958, allocations: 0 / 0.55 GB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004659/0.4963, allocations: 127.3 kB / 0.5501 GB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.4966, allocations: 0.6848 MB / 0.5508 GB, free: 12.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.4967, allocations: 16.44 kB / 0.5508 GB, free: 12.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.849e-05/0.4968, allocations: 11.44 kB / 0.5508 GB, free: 12.06 MB / 394.7 MB Notification: Performance of SimCode: time 3.61e-07/0.4968, allocations: 0 / 0.5508 GB, free: 12.06 MB / 394.7 MB Notification: Performance of Templates: time 0.003593/0.5004, allocations: 1.095 MB / 0.5519 GB, free: 10.97 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)