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.005962/0.005962, allocations: 101.2 kB / 15.73 MB, free: 6.496 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.001323/0.001323, allocations: 199.1 kB / 16.68 MB, free: 6.375 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.476/1.476, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.045/1.045, allocations: 135.6 MB / 426.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 67.91 kB / 0.5863 GB, free: 2.676 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4724/0.4745, allocations: 81.02 MB / 0.6654 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002051/0.4766, allocations: 0.7737 MB / 0.6662 GB, free: 6.785 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002088/0.4787, allocations: 1.476 MB / 0.6676 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.122e-05/0.4787, allocations: 0 / 0.6676 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 3.629e-05/0.4788, allocations: 3.938 kB / 0.6676 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.194e-05/0.4789, allocations: 1.281 kB / 0.6676 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.4794, allocations: 149 kB / 0.6677 GB, free: 5.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.4795, allocations: 59.36 kB / 0.6678 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.111e-05/0.4796, allocations: 7 kB / 0.6678 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.656e-05/0.4797, allocations: 23.27 kB / 0.6678 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.4798, allocations: 34.3 kB / 0.6679 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.4798, allocations: 4.25 kB / 0.6679 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.4803, allocations: 322.4 kB / 0.6682 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.602e-05/0.4803, allocations: 18.19 kB / 0.6682 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.948e-05/0.4804, allocations: 26.52 kB / 0.6682 GB, free: 5.184 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003726/0.4807, allocations: 205.2 kB / 0.6684 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4807, allocations: 0 / 0.6684 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4808, allocations: 0 / 0.6684 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.815e-06/0.4808, allocations: 1.125 kB / 0.6684 GB, free: 5.078 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.0006393/0.4814, allocations: 405.1 kB / 0.6688 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.4815, allocations: 9.875 kB / 0.6688 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/0.4819, allocations: 81.7 kB / 0.6689 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.18e-05/0.482, allocations: 169.8 kB / 0.6691 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.482, allocations: 3.188 kB / 0.6691 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.4821, allocations: 9.562 kB / 0.6691 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.4824, allocations: 105.6 kB / 0.6692 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.4824, allocations: 1.125 kB / 0.6692 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.679e-05/0.4825, allocations: 9.406 kB / 0.6692 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4825, allocations: 5.469 kB / 0.6692 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000462/0.4829, allocations: 106.5 kB / 0.6693 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.4835, allocations: 332.7 kB / 0.6696 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000636/0.4841, allocations: 165 kB / 0.6698 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002286/0.4844, allocations: 53.69 kB / 0.6698 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.4844, allocations: 1.188 kB / 0.6698 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.4844, allocations: 31.94 kB / 0.6698 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 2.014e-06/0.4844, allocations: 7.984 kB / 0.6698 GB, free: 3.793 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.0177/0.5021, allocations: 2.836 MB / 0.6726 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.904e-05/0.5022, allocations: 56.75 kB / 0.6727 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.768e-05/0.5023, allocations: 102.8 kB / 0.6728 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.723e-05/0.5023, allocations: 27.05 kB / 0.6728 GB, free: 1.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.853e-05/0.5023, allocations: 89.5 kB / 0.6729 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.625e-05/0.5024, allocations: 45.02 kB / 0.6729 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/0.5026, allocations: 68.83 kB / 0.673 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.686e-05/0.5026, allocations: 320 kB / 0.6733 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006417/0.5033, allocations: 188.5 kB / 0.6735 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.5039, allocations: 196.7 kB / 0.6737 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.5052, allocations: 393 kB / 0.674 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.5052, allocations: 0 / 0.674 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001488/0.5067, allocations: 480.6 kB / 0.6745 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5067, allocations: 3.875 kB / 0.6745 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.5067, allocations: 1.312 kB / 0.6745 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.5067, allocations: 3.984 kB / 0.6745 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008038/0.5076, allocations: 106.4 kB / 0.6746 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5076, allocations: 8.328 kB / 0.6746 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005937/0.5082, allocations: 42.75 kB / 0.6747 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.436e-05/0.5082, allocations: 26.22 kB / 0.6747 GB, free: 0.6562 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.0001265/0.5084, allocations: 120.1 kB / 0.6748 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.437e-05/0.5084, allocations: 7.578 kB / 0.6748 GB, free: 0.5273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.828e-05/0.5085, allocations: 12.95 kB / 0.6748 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.788e-06/0.5085, allocations: 1.375 kB / 0.6748 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.483e-06/0.5085, allocations: 9.125 kB / 0.6748 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.5085, allocations: 0 / 0.6748 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002122/0.5106, allocations: 1.051 MB / 0.6759 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.5107, allocations: 1.312 kB / 0.6759 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008086/0.5115, allocations: 108.3 kB / 0.676 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.5115, allocations: 9.156 kB / 0.676 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.5116, allocations: 20.5 kB / 0.676 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.5116, allocations: 1.375 kB / 0.676 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.5116, allocations: 96 / 0.676 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002421/0.514, allocations: 0.801 MB / 0.6768 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001707/0.5142, allocations: 119.8 kB / 0.6769 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.475e-05/0.5143, allocations: 1.125 kB / 0.6769 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006648/0.5149, allocations: 51.53 kB / 0.6769 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.5151, allocations: 30.52 kB / 0.677 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.332e-05/0.5151, allocations: 26.36 kB / 0.677 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.201e-05/0.5152, allocations: 78.47 kB / 0.6771 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5152, allocations: 0 / 0.6771 GB, free: 14.76 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003879/0.5156, allocations: 51 kB / 0.6771 GB, free: 14.75 MB / 0.5137 GB 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.0002477/0.5158, allocations: 115.5 kB / 0.6772 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.5174, allocations: 427.7 kB / 0.6776 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.5174, allocations: 0 / 0.6776 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007587/0.5182, allocations: 221.9 kB / 0.6778 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.5186, allocations: 12.14 kB / 0.6779 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004216/0.5228, allocations: 0.7545 MB / 0.6786 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.5232, allocations: 0.6926 MB / 0.6793 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0005321/0.5237, allocations: 95.08 kB / 0.6794 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003143/0.5241, allocations: 51.25 kB / 0.6794 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of SimCode: time 7.92e-07/0.5241, allocations: 4 kB / 0.6794 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.008194/0.5323, allocations: 3.471 MB / 0.6828 GB, free: 11.18 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)