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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 116.2 kB / 16.42 MB, free: 6.492 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.00112/0.00112, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.194/1.194, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7199/0.7199, allocations: 135.1 MB / 426.3 MB, free: 4.078 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 65.09 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/0.1222, allocations: 80.92 MB / 0.6654 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001805/0.1241, allocations: 0.771 MB / 0.6661 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001723/0.1258, allocations: 1.477 MB / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.115e-05/0.1258, allocations: 0 / 0.6676 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.695e-05/0.1259, allocations: 3.938 kB / 0.6676 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.325e-05/0.1259, allocations: 11.94 kB / 0.6676 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005061/0.1265, allocations: 143.4 kB / 0.6677 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.245e-05/0.1265, allocations: 55.69 kB / 0.6678 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.1266, allocations: 8 kB / 0.6678 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.82e-05/0.1267, allocations: 23.92 kB / 0.6678 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.885e-05/0.1267, allocations: 35.78 kB / 0.6678 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.1268, allocations: 4 kB / 0.6678 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.1272, allocations: 323.3 kB / 0.6681 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.1272, allocations: 11.98 kB / 0.6681 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.409e-05/0.1273, allocations: 27.84 kB / 0.6682 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.1276, allocations: 211.5 kB / 0.6684 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1276, allocations: 0 / 0.6684 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1276, allocations: 4 kB / 0.6684 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.1276, allocations: 4 kB / 0.6684 GB, free: 2.602 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.0005923/0.1282, allocations: 393.6 kB / 0.6688 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.1282, allocations: 13.11 kB / 0.6688 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004399/0.1287, allocations: 72.84 kB / 0.6688 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001043/0.1288, allocations: 168.3 kB / 0.669 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1288, allocations: 12.31 kB / 0.669 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.762e-05/0.1289, allocations: 12.31 kB / 0.669 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003561/0.1292, allocations: 117.9 kB / 0.6691 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1292, allocations: 0 / 0.6691 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1293, allocations: 4 kB / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1293, allocations: 0 / 0.6691 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.1298, allocations: 103.9 kB / 0.6692 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.1303, allocations: 340.5 kB / 0.6696 GB, free: 1.254 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006162/0.1309, allocations: 150.4 kB / 0.6697 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002285/0.1312, allocations: 60.81 kB / 0.6698 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/0.1312, allocations: 0 / 0.6698 GB, free: 1.035 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/0.1312, allocations: 30.56 kB / 0.6698 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.1312, allocations: 0 / 0.6698 GB, free: 0.9961 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.01755/0.1488, allocations: 2.837 MB / 0.6726 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.335e-05/0.1488, allocations: 59.41 kB / 0.6726 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.215e-05/0.1489, allocations: 101.8 kB / 0.6727 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.248e-05/0.149, allocations: 33.7 kB / 0.6728 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.251e-05/0.149, allocations: 84.05 kB / 0.6728 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.466e-05/0.1491, allocations: 43.44 kB / 0.6729 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.1492, allocations: 65.58 kB / 0.6729 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.1493, allocations: 322.8 kB / 0.6732 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006498/0.15, allocations: 191.8 kB / 0.6734 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006333/0.1506, allocations: 191.8 kB / 0.6736 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001281/0.1519, allocations: 387.9 kB / 0.674 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.1519, allocations: 4 kB / 0.674 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001472/0.1534, allocations: 481.2 kB / 0.6744 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1534, allocations: 9.875 kB / 0.6745 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.1534, allocations: 3.984 kB / 0.6745 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.1535, allocations: 0 / 0.6745 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008081/0.1543, allocations: 107.8 kB / 0.6746 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.1543, allocations: 3.938 kB / 0.6746 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000603/0.1549, allocations: 47.94 kB / 0.6746 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.182e-05/0.155, allocations: 23.94 kB / 0.6746 GB, free: 11.89 MB / 0.5137 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.0001442/0.1551, allocations: 119.1 kB / 0.6747 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.1552, allocations: 3.906 kB / 0.6748 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.954e-05/0.1552, allocations: 19.95 kB / 0.6748 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.1553, allocations: 0 / 0.6748 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.1553, allocations: 0 / 0.6748 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.1554, allocations: 121 kB / 0.6749 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.752e-05/0.1555, allocations: 3.984 kB / 0.6749 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006636/0.1562, allocations: 47.94 kB / 0.6749 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.1563, allocations: 27.86 kB / 0.675 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00214/0.1584, allocations: 0.5941 MB / 0.6755 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002273/0.1607, allocations: 0.877 MB / 0.6764 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006492/0.1613, allocations: 203.8 kB / 0.6766 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.043e-05/0.1614, allocations: 75.28 kB / 0.6767 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of Backend: time 4.31e-07/0.1614, allocations: 0 / 0.6767 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.1626, allocations: 362 kB / 0.677 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of SimCode: time 0.0006102/0.1632, allocations: 0.6437 MB / 0.6776 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of Templates: time 0.009604/0.1728, allocations: 6.939 MB / 0.6844 GB, free: 1.754 MB / 0.5137 GB 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)