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.001085/0.001085, allocations: 110.9 kB / 16.42 MB, free: 5.973 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.001027/0.001027, allocations: 186.7 kB / 17.35 MB, free: 5.586 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8337/0.8337, allocations: 132.2 MB / 423.4 MB, free: 6.586 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 61.09 kB / 0.5821 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1274, allocations: 80.21 MB / 0.6604 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001856/0.1293, allocations: 0.7811 MB / 0.6612 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.131, allocations: 1.47 MB / 0.6626 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.257e-05/0.1311, allocations: 4 kB / 0.6626 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.824e-05/0.1311, allocations: 3.938 kB / 0.6626 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.571e-05/0.1311, allocations: 7.938 kB / 0.6626 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/0.1316, allocations: 139.4 kB / 0.6627 GB, free: 7.809 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.843e-05/0.1317, allocations: 55.88 kB / 0.6628 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4e-05/0.1318, allocations: 12 kB / 0.6628 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.957e-05/0.1318, allocations: 23.92 kB / 0.6628 GB, free: 7.719 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.023e-05/0.1319, allocations: 39.77 kB / 0.6629 GB, free: 7.68 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.1319, allocations: 4 kB / 0.6629 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.1324, allocations: 319.4 kB / 0.6632 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.28e-05/0.1324, allocations: 15.97 kB / 0.6632 GB, free: 7.348 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.615e-05/0.1324, allocations: 23.86 kB / 0.6632 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003232/0.1328, allocations: 211.4 kB / 0.6634 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1328, allocations: 0 / 0.6634 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.1328, allocations: 0 / 0.6634 GB, free: 7.117 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.1328, allocations: 0 / 0.6634 GB, free: 7.117 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.0006722/0.1335, allocations: 406.9 kB / 0.6638 GB, free: 6.672 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.1335, allocations: 12.02 kB / 0.6638 GB, free: 6.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.134, allocations: 68.81 kB / 0.6639 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1342, allocations: 176.2 kB / 0.6641 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.1342, allocations: 4.375 kB / 0.6641 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.406e-05/0.1342, allocations: 8.375 kB / 0.6641 GB, free: 6.371 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003823/0.1346, allocations: 117.9 kB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1346, allocations: 7.953 kB / 0.6642 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.1347, allocations: 4 kB / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.1347, allocations: 0 / 0.6642 GB, free: 6.238 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005007/0.1352, allocations: 103.9 kB / 0.6643 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.1358, allocations: 324.7 kB / 0.6646 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006649/0.1365, allocations: 158.4 kB / 0.6647 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.1367, allocations: 56.81 kB / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.1367, allocations: 0 / 0.6648 GB, free: 5.547 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.142e-05/0.1368, allocations: 34.5 kB / 0.6648 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.233e-06/0.1368, allocations: 4 kB / 0.6648 GB, free: 5.5 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.01854/0.1553, allocations: 2.837 MB / 0.6676 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.67e-05/0.1554, allocations: 55.39 kB / 0.6677 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.1554, allocations: 109.8 kB / 0.6678 GB, free: 2.387 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.649e-05/0.1555, allocations: 25.7 kB / 0.6678 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.1555, allocations: 96.02 kB / 0.6679 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.1556, allocations: 35.66 kB / 0.6679 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001695/0.1558, allocations: 69.58 kB / 0.668 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.1559, allocations: 322.8 kB / 0.6683 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007/0.1566, allocations: 191.8 kB / 0.6685 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/0.1573, allocations: 191 kB / 0.6687 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/0.1587, allocations: 396.6 kB / 0.669 GB, free: 1.062 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1587, allocations: 3.938 kB / 0.669 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001615/0.1603, allocations: 481.3 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.1604, allocations: 7.984 kB / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1604, allocations: 0 / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1604, allocations: 0 / 0.6695 GB, free: 0.5742 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008393/0.1612, allocations: 107.8 kB / 0.6696 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.1613, allocations: 3.938 kB / 0.6696 GB, free: 476 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006348/0.1619, allocations: 43.94 kB / 0.6697 GB, free: 432 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.235e-05/0.162, allocations: 31.94 kB / 0.6697 GB, free: 400 kB / 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.0001397/0.1621, allocations: 118.7 kB / 0.6698 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.1622, allocations: 7.984 kB / 0.6698 GB, free: 264 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.181e-05/0.1623, allocations: 8.156 kB / 0.6698 GB, free: 248 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1623, allocations: 3.984 kB / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1623, allocations: 0 / 0.6698 GB, free: 244 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001416/0.1624, allocations: 120.9 kB / 0.6699 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.1625, allocations: 11.98 kB / 0.6699 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007002/0.1632, allocations: 43.94 kB / 0.67 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.1633, allocations: 23.92 kB / 0.67 GB, free: 24 kB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002325/0.1657, allocations: 0.6057 MB / 0.6706 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002412/0.1681, allocations: 0.869 MB / 0.6714 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007061/0.1688, allocations: 199.9 kB / 0.6716 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.1688, allocations: 79.28 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of Backend: time 4.61e-07/0.1689, allocations: 4 kB / 0.6717 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0013/0.1702, allocations: 366.5 kB / 0.6721 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006207/0.1708, allocations: 0.6277 MB / 0.6727 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of Templates: time 0.01148/0.1823, allocations: 6.93 MB / 0.6794 GB, free: 6.266 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)