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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 111.4 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 189.5 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.782/0.782, allocations: 132.2 MB / 423.4 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 72.14 kB / 0.5821 GB, free: 23.84 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1311, allocations: 80.21 MB / 0.6604 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.00188/0.133, allocations: 0.7809 MB / 0.6612 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.1348, allocations: 1.481 MB / 0.6626 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.838e-05/0.1349, allocations: 4 kB / 0.6626 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.757e-05/0.1349, allocations: 3.938 kB / 0.6626 GB, free: 8.059 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.051e-05/0.135, allocations: 3.938 kB / 0.6626 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005115/0.1355, allocations: 143.4 kB / 0.6628 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.603e-05/0.1356, allocations: 43.97 kB / 0.6628 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.559e-05/0.1357, allocations: 4 kB / 0.6628 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.463e-05/0.1357, allocations: 35.89 kB / 0.6628 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.065e-05/0.1358, allocations: 35.84 kB / 0.6629 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.1358, allocations: 4 kB / 0.6629 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.1363, allocations: 323.3 kB / 0.6632 GB, free: 7.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.1363, allocations: 7.984 kB / 0.6632 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.561e-05/0.1363, allocations: 27.86 kB / 0.6632 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003241/0.1367, allocations: 215.3 kB / 0.6634 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1367, allocations: 0 / 0.6634 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.333e-06/0.1367, allocations: 4 kB / 0.6634 GB, free: 7.227 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.1367, allocations: 0 / 0.6634 GB, free: 7.227 MB / 0.4981 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.0006068/0.1373, allocations: 402.9 kB / 0.6638 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1374, allocations: 8.031 kB / 0.6638 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004558/0.1378, allocations: 72.8 kB / 0.6639 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.1379, allocations: 168.3 kB / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.138, allocations: 384 / 0.664 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.138, allocations: 12.38 kB / 0.6641 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003666/0.1384, allocations: 117.9 kB / 0.6642 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1384, allocations: 3.953 kB / 0.6642 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.1384, allocations: 11.88 kB / 0.6642 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1384, allocations: 0 / 0.6642 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.1389, allocations: 99.89 kB / 0.6643 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005491/0.1395, allocations: 332.7 kB / 0.6646 GB, free: 5.883 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006309/0.1401, allocations: 158.4 kB / 0.6647 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.1404, allocations: 56.81 kB / 0.6648 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.316e-05/0.1404, allocations: 0 / 0.6648 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.706e-05/0.1404, allocations: 38.56 kB / 0.6648 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.435e-06/0.1404, allocations: 3.984 kB / 0.6648 GB, free: 5.609 MB / 0.4981 GB 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.01855/0.159, allocations: 2.827 MB / 0.6676 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.159, allocations: 63.44 kB / 0.6677 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.068e-05/0.1591, allocations: 109.7 kB / 0.6678 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.913e-05/0.1592, allocations: 25.7 kB / 0.6678 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.656e-05/0.1592, allocations: 99.97 kB / 0.6679 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.092e-05/0.1593, allocations: 39.64 kB / 0.6679 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001672/0.1595, allocations: 69.58 kB / 0.668 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.1596, allocations: 314.8 kB / 0.6683 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.1603, allocations: 191.8 kB / 0.6685 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006436/0.1609, allocations: 191.8 kB / 0.6687 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.1622, allocations: 399.9 kB / 0.669 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1622, allocations: 0 / 0.669 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00154/0.1638, allocations: 473.3 kB / 0.6695 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1638, allocations: 4 kB / 0.6695 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1638, allocations: 0 / 0.6695 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.1638, allocations: 4 kB / 0.6695 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008464/0.1647, allocations: 111.7 kB / 0.6696 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.1647, allocations: 3.938 kB / 0.6696 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.1653, allocations: 51.92 kB / 0.6697 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.08e-05/0.1654, allocations: 19.94 kB / 0.6697 GB, free: 0.5117 MB / 0.4981 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 () * 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.0001458/0.1656, allocations: 118.7 kB / 0.6698 GB, free: 396 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.736e-05/0.1656, allocations: 4 kB / 0.6698 GB, free: 392 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.569e-05/0.1657, allocations: 7.969 kB / 0.6698 GB, free: 376 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.1657, allocations: 3.984 kB / 0.6698 GB, free: 372 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1657, allocations: 4 kB / 0.6698 GB, free: 368 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001422/0.1659, allocations: 120.9 kB / 0.6699 GB, free: 228 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.427e-05/0.1659, allocations: 4 kB / 0.6699 GB, free: 224 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007113/0.1667, allocations: 43.94 kB / 0.67 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001075/0.1668, allocations: 31.92 kB / 0.67 GB, free: 148 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002267/0.169, allocations: 0.6118 MB / 0.6706 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002334/0.1714, allocations: 0.8652 MB / 0.6714 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006652/0.1721, allocations: 195.9 kB / 0.6716 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.138e-05/0.1721, allocations: 87.2 kB / 0.6717 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of Backend: time 4.21e-07/0.1721, allocations: 0 / 0.6717 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001265/0.1734, allocations: 353.9 kB / 0.672 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006514/0.1741, allocations: 0.6355 MB / 0.6727 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of Templates: time 0.01063/0.1847, allocations: 6.945 MB / 0.6795 GB, free: 6.379 MB / 0.5137 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)