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.001222/0.001222, allocations: 183.2 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-master/package.mo): time 0.7203/0.7203, allocations: 133.3 MB / 150.1 MB, free: 11.17 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.46/1.46, allocations: 222.9 MB / 404.7 MB, free: 6.039 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.001167/0.001167, allocations: 107.2 kB / 485.9 MB, free: 7.164 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 55.91 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1507/0.1519, allocations: 80.42 MB / 0.6422 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00223/0.1542, allocations: 0.8426 MB / 0.643 GB, free: 4.551 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002193/0.1564, allocations: 1.491 MB / 0.6444 GB, free: 3.043 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.195e-05/0.1565, allocations: 4 kB / 0.6444 GB, free: 3.039 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 5.095e-05/0.1566, allocations: 0 / 0.6444 GB, free: 3.039 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.486e-05/0.1567, allocations: 7.875 kB / 0.6444 GB, free: 3.031 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005367/0.1572, allocations: 111.7 kB / 0.6446 GB, free: 2.922 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.1573, allocations: 51.91 kB / 0.6446 GB, free: 2.871 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.701e-05/0.1574, allocations: 7.984 kB / 0.6446 GB, free: 2.863 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.218e-05/0.1575, allocations: 27.92 kB / 0.6446 GB, free: 2.836 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.041e-05/0.1575, allocations: 27.89 kB / 0.6447 GB, free: 2.809 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.969e-05/0.1576, allocations: 7.938 kB / 0.6447 GB, free: 2.801 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004737/0.158, allocations: 315.4 kB / 0.645 GB, free: 2.492 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.1581, allocations: 11.98 kB / 0.645 GB, free: 2.48 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.1581, allocations: 31.84 kB / 0.645 GB, free: 2.449 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003569/0.1585, allocations: 199.6 kB / 0.6452 GB, free: 2.254 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.1585, allocations: 3.984 kB / 0.6452 GB, free: 2.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1585, allocations: 8 kB / 0.6452 GB, free: 2.242 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.1585, allocations: 0 / 0.6452 GB, free: 2.242 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.0006977/0.1592, allocations: 399.6 kB / 0.6456 GB, free: 1.805 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.1593, allocations: 12.03 kB / 0.6456 GB, free: 1.793 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004473/0.1597, allocations: 72.78 kB / 0.6457 GB, free: 1.723 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001288/0.1599, allocations: 168.2 kB / 0.6458 GB, free: 1.52 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.684e-05/0.1599, allocations: 8.375 kB / 0.6458 GB, free: 1.512 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.173e-05/0.16, allocations: 8.375 kB / 0.6459 GB, free: 1.504 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003656/0.1603, allocations: 114.7 kB / 0.646 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1603, allocations: 0 / 0.646 GB, free: 1.387 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.1604, allocations: 8 kB / 0.646 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.1604, allocations: 0 / 0.646 GB, free: 1.379 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.1609, allocations: 103.8 kB / 0.6461 GB, free: 1.277 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005906/0.1615, allocations: 336.7 kB / 0.6464 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006509/0.1621, allocations: 154.4 kB / 0.6465 GB, free: 0.7383 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002433/0.1624, allocations: 60.8 kB / 0.6466 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1624, allocations: 0 / 0.6466 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.486e-05/0.1625, allocations: 34.56 kB / 0.6466 GB, free: 0.6328 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.1625, allocations: 0 / 0.6466 GB, free: 0.6328 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.01802/0.1805, allocations: 2.835 MB / 0.6494 GB, free: 13.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.157e-05/0.1806, allocations: 55.34 kB / 0.6494 GB, free: 13.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.542e-05/0.1807, allocations: 101.9 kB / 0.6495 GB, free: 13.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.1807, allocations: 29.69 kB / 0.6496 GB, free: 13.49 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.1808, allocations: 91.98 kB / 0.6497 GB, free: 13.4 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.559e-05/0.1809, allocations: 35.45 kB / 0.6497 GB, free: 13.36 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.181, allocations: 69.58 kB / 0.6498 GB, free: 13.29 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1811, allocations: 318.8 kB / 0.6501 GB, free: 12.97 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006675/0.1818, allocations: 191.8 kB / 0.6502 GB, free: 12.78 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006532/0.1825, allocations: 191.7 kB / 0.6504 GB, free: 12.59 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.1839, allocations: 397.8 kB / 0.6508 GB, free: 12.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.1839, allocations: 0 / 0.6508 GB, free: 12.2 MB / 458.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001552/0.1854, allocations: 477.2 kB / 0.6513 GB, free: 11.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1855, allocations: 5.719 kB / 0.6513 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.1855, allocations: 3.938 kB / 0.6513 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.1855, allocations: 4 kB / 0.6513 GB, free: 11.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008153/0.1863, allocations: 111.7 kB / 0.6514 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.1863, allocations: 3.938 kB / 0.6514 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006172/0.187, allocations: 43.94 kB / 0.6514 GB, free: 11.56 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.187, allocations: 27.92 kB / 0.6515 GB, free: 11.54 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.0001534/0.1872, allocations: 117.8 kB / 0.6516 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.638e-05/0.1873, allocations: 0 / 0.6516 GB, free: 11.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.431e-05/0.1874, allocations: 15.97 kB / 0.6516 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1874, allocations: 0 / 0.6516 GB, free: 11.4 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1874, allocations: 3.938 kB / 0.6516 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1874, allocations: 0 / 0.6516 GB, free: 11.39 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.1896, allocations: 1.059 MB / 0.6526 GB, free: 10.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1896, allocations: 7.938 kB / 0.6526 GB, free: 10.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007875/0.1904, allocations: 99.8 kB / 0.6527 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.181e-06/0.1904, allocations: 3.938 kB / 0.6527 GB, free: 10.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.746e-05/0.1905, allocations: 27.94 kB / 0.6528 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.1905, allocations: 3.984 kB / 0.6528 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.1905, allocations: 4 kB / 0.6528 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/0.2134, allocations: 3.682 MB / 0.6564 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/0.2136, allocations: 120.9 kB / 0.6565 GB, free: 6.121 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.359e-05/0.2137, allocations: 4.188 kB / 0.6565 GB, free: 6.117 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006489/0.2143, allocations: 43.94 kB / 0.6565 GB, free: 6.074 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.2145, allocations: 35.84 kB / 0.6566 GB, free: 6.039 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.824e-05/0.2145, allocations: 31.92 kB / 0.6566 GB, free: 6.008 MB / 458.7 MB Notification: Performance of sorting global known variables: time 4.156e-05/0.2146, allocations: 75.28 kB / 0.6567 GB, free: 5.934 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2146, allocations: 0 / 0.6567 GB, free: 5.934 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004856/0.2151, allocations: 56 kB / 0.6567 GB, free: 5.879 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.0002056/0.2153, allocations: 123.2 kB / 0.6568 GB, free: 5.746 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.2168, allocations: 425.3 kB / 0.6572 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2168, allocations: 0 / 0.6572 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007105/0.2175, allocations: 219.7 kB / 0.6574 GB, free: 5.117 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.2179, allocations: 8 kB / 0.6575 GB, free: 5.109 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/0.2221, allocations: 0.92 MB / 0.6583 GB, free: 4.145 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002448/0.2223, allocations: 0.6965 MB / 0.659 GB, free: 3.422 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0006748/0.223, allocations: 88.67 kB / 0.6591 GB, free: 3.336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.2233, allocations: 63.3 kB / 0.6592 GB, free: 3.273 MB / 458.7 MB Notification: Performance of SimCode: time 5.81e-07/0.2233, allocations: 0 / 0.6592 GB, free: 3.273 MB / 458.7 MB Notification: Performance of Templates: time 0.006926/0.2302, allocations: 3.473 MB / 0.6626 GB, free: 15.79 MB / 474.7 MB 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)