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.001131/0.001131, allocations: 182.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6922/0.6922, allocations: 132.2 MB / 148.9 MB, free: 12.14 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.457/1.457, allocations: 222.9 MB / 403.4 MB, free: 7.086 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.001049/0.001049, allocations: 107.7 kB / 484.4 MB, free: 8.703 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.92 kB / 0.5619 GB, free: 71.04 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1399, allocations: 80.2 MB / 0.6402 GB, free: 6.773 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002384/0.1423, allocations: 0.84 MB / 0.641 GB, free: 5.926 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002119/0.1444, allocations: 1.498 MB / 0.6425 GB, free: 4.41 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.519e-05/0.1445, allocations: 3.938 kB / 0.6425 GB, free: 4.406 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 4.16e-05/0.1446, allocations: 7.938 kB / 0.6425 GB, free: 4.398 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.99e-05/0.1446, allocations: 4 kB / 0.6425 GB, free: 4.395 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004816/0.1451, allocations: 113.3 kB / 0.6426 GB, free: 4.285 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.143e-05/0.1452, allocations: 51.91 kB / 0.6426 GB, free: 4.234 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.346e-05/0.1453, allocations: 4 kB / 0.6426 GB, free: 4.23 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.867e-05/0.1454, allocations: 27.91 kB / 0.6427 GB, free: 4.203 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.546e-05/0.1454, allocations: 31.84 kB / 0.6427 GB, free: 4.172 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1455, allocations: 4 kB / 0.6427 GB, free: 4.168 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004459/0.1459, allocations: 323.3 kB / 0.643 GB, free: 3.852 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.1459, allocations: 7.984 kB / 0.643 GB, free: 3.844 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.146, allocations: 27.84 kB / 0.643 GB, free: 3.816 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000318/0.1463, allocations: 207.6 kB / 0.6432 GB, free: 3.613 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1463, allocations: 0 / 0.6432 GB, free: 3.613 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1463, allocations: 4 kB / 0.6432 GB, free: 3.609 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1464, allocations: 0 / 0.6432 GB, free: 3.609 MB / 442.7 MB 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.0006708/0.147, allocations: 399.6 kB / 0.6436 GB, free: 3.172 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.1471, allocations: 8.031 kB / 0.6436 GB, free: 3.164 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004429/0.1475, allocations: 68.84 kB / 0.6437 GB, free: 3.098 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.1477, allocations: 180.2 kB / 0.6439 GB, free: 2.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.1477, allocations: 8.375 kB / 0.6439 GB, free: 2.875 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.719e-05/0.1477, allocations: 8.375 kB / 0.6439 GB, free: 2.867 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003667/0.1481, allocations: 113.9 kB / 0.644 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.1481, allocations: 0 / 0.644 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1481, allocations: 0 / 0.644 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.1481, allocations: 0 / 0.644 GB, free: 2.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1486, allocations: 103.9 kB / 0.6441 GB, free: 2.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005661/0.1492, allocations: 336.6 kB / 0.6444 GB, free: 2.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006483/0.1499, allocations: 154.4 kB / 0.6446 GB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.1501, allocations: 56.81 kB / 0.6446 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.1502, allocations: 0 / 0.6446 GB, free: 2.051 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.1502, allocations: 38.5 kB / 0.6447 GB, free: 2.004 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.1502, allocations: 3.938 kB / 0.6447 GB, free: 2 MB / 442.7 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.01788/0.1681, allocations: 2.831 MB / 0.6474 GB, free: 15.07 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.1682, allocations: 59.34 kB / 0.6475 GB, free: 15 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.279e-05/0.1682, allocations: 97.84 kB / 0.6476 GB, free: 14.89 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1683, allocations: 29.7 kB / 0.6476 GB, free: 14.86 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.1683, allocations: 91.98 kB / 0.6477 GB, free: 14.76 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.252e-05/0.1684, allocations: 39.45 kB / 0.6477 GB, free: 14.72 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.1686, allocations: 65.58 kB / 0.6478 GB, free: 14.65 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.1687, allocations: 322.8 kB / 0.6481 GB, free: 14.33 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006628/0.1694, allocations: 191.8 kB / 0.6483 GB, free: 14.14 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.17, allocations: 196.8 kB / 0.6485 GB, free: 13.95 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.1714, allocations: 390 kB / 0.6488 GB, free: 13.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1714, allocations: 3.938 kB / 0.6488 GB, free: 13.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001535/0.1729, allocations: 481.4 kB / 0.6493 GB, free: 13.09 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.173, allocations: 4 kB / 0.6493 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.173, allocations: 0 / 0.6493 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.173, allocations: 3.984 kB / 0.6493 GB, free: 13.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008185/0.1738, allocations: 111.8 kB / 0.6494 GB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.1739, allocations: 3.938 kB / 0.6494 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006147/0.1745, allocations: 51.94 kB / 0.6495 GB, free: 12.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.662e-05/0.1746, allocations: 19.94 kB / 0.6495 GB, free: 12.89 MB / 458.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 () * 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 0.0001457/0.1747, allocations: 119.1 kB / 0.6496 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.803e-05/0.1748, allocations: 4 kB / 0.6496 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.224e-05/0.1749, allocations: 19.95 kB / 0.6496 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.1749, allocations: 0 / 0.6496 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.1749, allocations: 3.938 kB / 0.6496 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.1749, allocations: 4 kB / 0.6496 GB, free: 12.74 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.1772, allocations: 1.039 MB / 0.6507 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.1772, allocations: 0 / 0.6507 GB, free: 11.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007988/0.178, allocations: 111.7 kB / 0.6508 GB, free: 11.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.178, allocations: 7.938 kB / 0.6508 GB, free: 11.47 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.698e-05/0.1781, allocations: 23.94 kB / 0.6508 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.1781, allocations: 0 / 0.6508 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1781, allocations: 4 kB / 0.6508 GB, free: 11.45 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02389/0.202, allocations: 3.69 MB / 0.6544 GB, free: 7.617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001577/0.2022, allocations: 121 kB / 0.6545 GB, free: 7.48 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.2023, allocations: 8 kB / 0.6545 GB, free: 7.473 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007403/0.203, allocations: 40.03 kB / 0.6546 GB, free: 7.434 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001058/0.2031, allocations: 31.86 kB / 0.6546 GB, free: 7.402 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.2032, allocations: 31.94 kB / 0.6546 GB, free: 7.371 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.669e-05/0.2032, allocations: 79.28 kB / 0.6547 GB, free: 7.293 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2033, allocations: 0 / 0.6547 GB, free: 7.293 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004596/0.2037, allocations: 59.98 kB / 0.6547 GB, free: 7.234 MB / 458.7 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.0002159/0.2039, allocations: 115.1 kB / 0.6549 GB, free: 7.109 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.2054, allocations: 424 kB / 0.6553 GB, free: 6.695 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.2054, allocations: 0 / 0.6553 GB, free: 6.695 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007214/0.2061, allocations: 223.7 kB / 0.6555 GB, free: 6.477 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.2065, allocations: 8 kB / 0.6555 GB, free: 6.469 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/0.2109, allocations: 0.92 MB / 0.6564 GB, free: 5.504 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.2111, allocations: 0.6926 MB / 0.6571 GB, free: 4.785 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006553/0.2118, allocations: 100.8 kB / 0.6572 GB, free: 4.688 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000263/0.212, allocations: 55.3 kB / 0.6572 GB, free: 4.633 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.212, allocations: 4 kB / 0.6572 GB, free: 4.629 MB / 458.7 MB Notification: Performance of Templates: time 0.005752/0.2178, allocations: 3.473 MB / 0.6606 GB, free: 1.152 MB / 458.7 MB 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)