Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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/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_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_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.001027/0.001027, 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/package.mo): time 0.8318/0.8318, allocations: 130.6 MB / 143.8 MB, free: 13.57 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.571/1.571, allocations: 221.3 MB / 396.8 MB, free: 9.152 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.0008046/0.0008046, allocations: 97.97 kB / 479 MB, free: 10.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.454e-05, allocations: 5.391 kB / 0.5551 GB, free: 86.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1546, allocations: 81.59 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5269/0.6815, allocations: 112.5 MB / 0.7447 GB, free: 12.33 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.6818, allocations: 84.2 kB / 0.7447 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.6971, allocations: 5.508 MB / 0.7501 GB, free: 27.71 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6972, allocations: 4 kB / 0.7501 GB, free: 27.7 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.6972, allocations: 0 / 0.7501 GB, free: 27.7 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.0004453/0.6976, allocations: 405.4 kB / 0.7505 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.6977, allocations: 11.53 kB / 0.7505 GB, free: 27.31 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/0.6981, allocations: 63.69 kB / 0.7506 GB, free: 27.3 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.6982, allocations: 166.9 kB / 0.7507 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.018e-05/0.6982, allocations: 11.12 kB / 0.7508 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.6983, allocations: 3.969 kB / 0.7508 GB, free: 27.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001644/0.6984, allocations: 76.77 kB / 0.7508 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.6985, allocations: 3.781 kB / 0.7508 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.6985, allocations: 7.5 kB / 0.7508 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-06/0.6985, allocations: 0 / 0.7508 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.703e-05/0.6986, allocations: 44.14 kB / 0.7509 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000563/0.6992, allocations: 343.7 kB / 0.7512 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001247/0.6993, allocations: 72.17 kB / 0.7513 GB, free: 26.75 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.853e-05/0.6994, allocations: 26.73 kB / 0.7513 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.6994, allocations: 0 / 0.7513 GB, free: 26.74 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/0.6994, allocations: 34.56 kB / 0.7513 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.6994, allocations: 0 / 0.7513 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=11): time 0.01248/0.7119, allocations: 2.11 MB / 0.7534 GB, free: 26.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.505e-05/0.712, allocations: 51.41 kB / 0.7534 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.605e-05/0.7121, allocations: 92.06 kB / 0.7535 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.7121, allocations: 33.58 kB / 0.7536 GB, free: 26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/0.7122, allocations: 90.41 kB / 0.7537 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.722e-05/0.7123, allocations: 37.31 kB / 0.7537 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-05/0.7123, allocations: 7.375 kB / 0.7537 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.7124, allocations: 313.8 kB / 0.754 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002177/0.7126, allocations: 114 kB / 0.7541 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.7129, allocations: 114.6 kB / 0.7542 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.7131, allocations: 113.1 kB / 0.7543 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.7131, allocations: 3.938 kB / 0.7543 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006737/0.7138, allocations: 326.8 kB / 0.7546 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.7138, allocations: 7.922 kB / 0.7546 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.7138, allocations: 0 / 0.7546 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.7139, allocations: 3.906 kB / 0.7546 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.7147, allocations: 118.1 kB / 0.7548 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.445e-06/0.7147, allocations: 3.906 kB / 0.7548 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.7153, allocations: 56.42 kB / 0.7548 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.7154, allocations: 28.12 kB / 0.7548 GB, free: 25.52 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.0001314/0.7155, allocations: 111.8 kB / 0.755 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.7156, allocations: 3.844 kB / 0.755 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.7156, allocations: 21.72 kB / 0.755 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.7156, allocations: 3.844 kB / 0.755 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.7156, allocations: 0 / 0.755 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7156, allocations: 6.938 kB / 0.755 GB, free: 25.39 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001227/0.7169, allocations: 0.901 MB / 0.7559 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7169, allocations: 0 / 0.7559 GB, free: 24.83 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007672/0.7177, allocations: 128 kB / 0.756 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7177, allocations: 96 / 0.756 GB, free: 24.82 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.495e-05/0.7177, allocations: 32.06 kB / 0.756 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7178, allocations: 0 / 0.756 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/0.7178, allocations: 4 kB / 0.756 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.7188, allocations: 0.5619 MB / 0.7566 GB, free: 24.58 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.7189, allocations: 116.2 kB / 0.7567 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.654e-05/0.719, allocations: 3.688 kB / 0.7567 GB, free: 24.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.7196, allocations: 62.73 kB / 0.7567 GB, free: 24.44 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.7197, allocations: 27.59 kB / 0.7568 GB, free: 24.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.244e-05/0.7198, allocations: 27.42 kB / 0.7568 GB, free: 24.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.645e-05/0.7198, allocations: 79.12 kB / 0.7569 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7198, allocations: 4 kB / 0.7569 GB, free: 24.32 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003956/0.7202, allocations: 61.53 kB / 0.7569 GB, free: 24.31 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.0002747/0.7205, allocations: 114.1 kB / 0.757 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005706/0.7211, allocations: 269.1 kB / 0.7573 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.7211, allocations: 3.875 kB / 0.7573 GB, free: 24.16 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002798/0.7214, allocations: 145.6 kB / 0.7574 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002369/0.7216, allocations: 4.391 kB / 0.7574 GB, free: 24.12 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003489/0.7251, allocations: 0.6969 MB / 0.7581 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003549/0.7255, allocations: 0.6996 MB / 0.7588 GB, free: 23.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0006778/0.7262, allocations: 92.06 kB / 0.7589 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002427/0.7265, allocations: 54.16 kB / 0.759 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of SimCode: time 7.92e-07/0.7265, allocations: 0 / 0.759 GB, free: 22.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.004999/0.7315, allocations: 3.223 MB / 0.7621 GB, free: 21.23 MB / 0.5105 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)