Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7167/0.7167, allocations: 133.4 MB / 146.7 MB, free: 10.77 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.586/1.586, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008756/0.0008756, allocations: 99.25 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.332e-05, allocations: 5.188 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1878, allocations: 82.29 MB / 0.6404 GB, free: 7.805 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6883/0.8761, allocations: 112.8 MB / 0.7506 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/0.8764, allocations: 79.05 kB / 0.7506 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01496/0.8914, allocations: 5.516 MB / 0.756 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8914, allocations: 4 kB / 0.756 GB, free: 27.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.846e-05/0.8915, allocations: 3.938 kB / 0.756 GB, free: 27.33 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005275/0.892, allocations: 400.1 kB / 0.7564 GB, free: 26.94 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/0.8921, allocations: 11.56 kB / 0.7564 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003653/0.8924, allocations: 63.59 kB / 0.7565 GB, free: 26.93 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001206/0.8926, allocations: 173.9 kB / 0.7566 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.8926, allocations: 7.094 kB / 0.7566 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.766e-05/0.8926, allocations: 7.875 kB / 0.7567 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001722/0.8928, allocations: 75 kB / 0.7567 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.8928, allocations: 0 / 0.7567 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.8929, allocations: 1.375 kB / 0.7567 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/0.8929, allocations: 3.812 kB / 0.7567 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.893, allocations: 40.52 kB / 0.7568 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/0.8936, allocations: 345.9 kB / 0.7571 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.8937, allocations: 76.31 kB / 0.7572 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.309e-05/0.8938, allocations: 31.62 kB / 0.7572 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.46e-05/0.8938, allocations: 0 / 0.7572 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.8938, allocations: 37.94 kB / 0.7572 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.8938, allocations: 0 / 0.7572 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01272/0.9065, allocations: 2.108 MB / 0.7593 GB, free: 25.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.416e-05/0.9066, allocations: 55.25 kB / 0.7594 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.9067, allocations: 92.59 kB / 0.7594 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.786e-05/0.9068, allocations: 29.7 kB / 0.7595 GB, free: 25.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.646e-05/0.9069, allocations: 95.19 kB / 0.7596 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.789e-05/0.9069, allocations: 34.73 kB / 0.7596 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.355e-05/0.907, allocations: 3.938 kB / 0.7596 GB, free: 24.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9071, allocations: 310.8 kB / 0.7599 GB, free: 24.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002103/0.9073, allocations: 116.5 kB / 0.76 GB, free: 24.59 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.9075, allocations: 117.5 kB / 0.7601 GB, free: 24.57 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002412/0.9078, allocations: 111 kB / 0.7602 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.9078, allocations: 0 / 0.7602 GB, free: 24.55 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006535/0.9085, allocations: 332.6 kB / 0.7605 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.9085, allocations: 3.938 kB / 0.7605 GB, free: 24.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.9085, allocations: 7.969 kB / 0.7605 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.9085, allocations: 0 / 0.7605 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007996/0.9093, allocations: 120.5 kB / 0.7607 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.9093, allocations: 3.984 kB / 0.7607 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005746/0.9099, allocations: 58.31 kB / 0.7607 GB, free: 24.34 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.216e-05/0.91, allocations: 26.97 kB / 0.7607 GB, free: 24.32 MB / 0.5105 GB 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 (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 0.0001535/0.9101, allocations: 112.5 kB / 0.7609 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.9102, allocations: 3.812 kB / 0.7609 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.9103, allocations: 11.47 kB / 0.7609 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9103, allocations: 7.672 kB / 0.7609 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.9103, allocations: 4 kB / 0.7609 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.9103, allocations: 0 / 0.7609 GB, free: 24.19 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.9115, allocations: 0.9033 MB / 0.7618 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.9115, allocations: 0 / 0.7618 GB, free: 23.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.9123, allocations: 120.7 kB / 0.7619 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.9123, allocations: 0 / 0.7619 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.9124, allocations: 31.39 kB / 0.7619 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.9124, allocations: 0 / 0.7619 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9124, allocations: 0 / 0.7619 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.9135, allocations: 0.5631 MB / 0.7625 GB, free: 23.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001912/0.9137, allocations: 123.9 kB / 0.7626 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.412e-05/0.9138, allocations: 3.125 kB / 0.7626 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007054/0.9145, allocations: 58.62 kB / 0.7626 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.9146, allocations: 31.11 kB / 0.7627 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.9147, allocations: 23.47 kB / 0.7627 GB, free: 22.98 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.408e-05/0.9147, allocations: 79.22 kB / 0.7628 GB, free: 22.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9148, allocations: 7.844 kB / 0.7628 GB, free: 22.89 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0004073/0.9152, allocations: 60.14 kB / 0.7628 GB, free: 22.88 MB / 0.5105 GB 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 () * 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.0003141/0.9155, allocations: 113.1 kB / 0.7629 GB, free: 22.79 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0006139/0.9161, allocations: 269.7 kB / 0.7632 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9161, allocations: 3.938 kB / 0.7632 GB, free: 22.73 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002704/0.9164, allocations: 146 kB / 0.7633 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.9167, allocations: 7.125 kB / 0.7633 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.9203, allocations: 0.6937 MB / 0.764 GB, free: 22.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.9206, allocations: 0.6961 MB / 0.7647 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006242/0.9213, allocations: 91.45 kB / 0.7648 GB, free: 21.55 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000242/0.9215, allocations: 54.8 kB / 0.7648 GB, free: 21.51 MB / 0.5105 GB Notification: Performance of SimCode: time 4.81e-07/0.9215, allocations: 3.938 kB / 0.7648 GB, free: 21.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.00515/0.9267, allocations: 3.226 MB / 0.768 GB, free: 19.8 MB / 0.5105 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)