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.001166/0.001166, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 195.2 kB / 16.54 MB, free: 6.672 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9963/0.9963, allocations: 135.1 MB / 425.5 MB, free: 12.05 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 68.45 kB / 0.5054 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2213, allocations: 80.92 MB / 0.5844 GB, free: 4.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002735/0.2241, allocations: 0.7721 MB / 0.5851 GB, free: 3.754 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002735/0.2268, allocations: 1.483 MB / 0.5866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.749e-05/0.2269, allocations: 0 / 0.5866 GB, free: 2.254 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.33e-05/0.227, allocations: 7.875 kB / 0.5866 GB, free: 2.246 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.642e-05/0.227, allocations: 3.938 kB / 0.5866 GB, free: 2.242 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007503/0.2278, allocations: 143.5 kB / 0.5867 GB, free: 2.102 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.2279, allocations: 51.89 kB / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.211e-05/0.228, allocations: 0 / 0.5868 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.2281, allocations: 23.92 kB / 0.5868 GB, free: 2.027 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.053e-05/0.2282, allocations: 39.83 kB / 0.5868 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.424e-05/0.2282, allocations: 4 kB / 0.5868 GB, free: 1.984 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007426/0.2289, allocations: 319.4 kB / 0.5871 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.192e-05/0.229, allocations: 15.97 kB / 0.5872 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.921e-05/0.2291, allocations: 27.86 kB / 0.5872 GB, free: 1.629 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004713/0.2295, allocations: 207.6 kB / 0.5874 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.2296, allocations: 0 / 0.5874 GB, free: 1.426 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2296, allocations: 0 / 0.5874 GB, free: 1.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.2296, allocations: 0 / 0.5874 GB, free: 1.426 MB / 494.1 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.0008084/0.2304, allocations: 403.6 kB / 0.5878 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.2304, allocations: 8.031 kB / 0.5878 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006314/0.2311, allocations: 68.77 kB / 0.5878 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001547/0.2313, allocations: 180.2 kB / 0.588 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.379e-05/0.2313, allocations: 8.375 kB / 0.588 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.22e-05/0.2313, allocations: 8.281 kB / 0.588 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.2319, allocations: 109.9 kB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.2319, allocations: 0 / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.2319, allocations: 4 kB / 0.5881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.2319, allocations: 0 / 0.5881 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/0.2326, allocations: 103.9 kB / 0.5882 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007126/0.2334, allocations: 336.6 kB / 0.5886 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.2343, allocations: 154.4 kB / 0.5887 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003554/0.2347, allocations: 48.81 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/0.2347, allocations: 4 kB / 0.5888 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.519e-05/0.2348, allocations: 42.5 kB / 0.5888 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 3.457e-06/0.2348, allocations: 3.984 kB / 0.5888 GB, free: 15.81 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.02768/0.2625, allocations: 2.83 MB / 0.5916 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.2627, allocations: 59.34 kB / 0.5916 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.2629, allocations: 97.86 kB / 0.5917 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.635e-05/0.263, allocations: 29.7 kB / 0.5917 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.2632, allocations: 99.97 kB / 0.5918 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001389/0.2633, allocations: 35.45 kB / 0.5919 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003228/0.2637, allocations: 73.56 kB / 0.5919 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000184/0.2639, allocations: 314.8 kB / 0.5922 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/0.2649, allocations: 187.8 kB / 0.5924 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001024/0.2659, allocations: 202.7 kB / 0.5926 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002112/0.268, allocations: 392.6 kB / 0.593 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2681, allocations: 0 / 0.593 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00242/0.2705, allocations: 481.1 kB / 0.5935 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.2705, allocations: 7.938 kB / 0.5935 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.2706, allocations: 0 / 0.5935 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.301e-05/0.2706, allocations: 4 kB / 0.5935 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0012/0.2718, allocations: 103.8 kB / 0.5936 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.2718, allocations: 3.938 kB / 0.5936 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009/0.2727, allocations: 47.94 kB / 0.5936 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-05/0.2728, allocations: 23.94 kB / 0.5936 GB, free: 10.71 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.0002615/0.2731, allocations: 121.8 kB / 0.5938 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/0.2733, allocations: 7.984 kB / 0.5938 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.888e-05/0.2734, allocations: 11.97 kB / 0.5938 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.2734, allocations: 4 kB / 0.5938 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2734, allocations: 3.938 kB / 0.5938 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2734, allocations: 0 / 0.5938 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003521/0.2769, allocations: 1.047 MB / 0.5948 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-06/0.277, allocations: 3.938 kB / 0.5948 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/0.2782, allocations: 107.8 kB / 0.5949 GB, free: 9.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/0.2782, allocations: 3.938 kB / 0.5949 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-05/0.2783, allocations: 19.94 kB / 0.5949 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/0.2783, allocations: 320 / 0.5949 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2783, allocations: 0 / 0.5949 GB, free: 9.262 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.282, allocations: 0.7929 MB / 0.5957 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002278/0.2823, allocations: 120.9 kB / 0.5958 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001108/0.2824, allocations: 0 / 0.5958 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.2834, allocations: 52 kB / 0.5959 GB, free: 8.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.2836, allocations: 31.8 kB / 0.5959 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.09e-05/0.2837, allocations: 27.92 kB / 0.5959 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.357e-05/0.2837, allocations: 83.28 kB / 0.596 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2838, allocations: 0 / 0.596 GB, free: 8.125 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006616/0.2844, allocations: 48.09 kB / 0.5961 GB, free: 8.078 MB / 0.4981 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.0002824/0.2847, allocations: 124.5 kB / 0.5962 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.287, allocations: 431.5 kB / 0.5966 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.2871, allocations: 0 / 0.5966 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.2882, allocations: 219.7 kB / 0.5968 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006178/0.2889, allocations: 20.56 kB / 0.5968 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006488/0.2954, allocations: 0.7556 MB / 0.5975 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003621/0.2957, allocations: 0.6924 MB / 0.5982 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001211/0.297, allocations: 100.6 kB / 0.5983 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003987/0.2974, allocations: 59.3 kB / 0.5984 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.2974, allocations: 3.938 kB / 0.5984 GB, free: 5.637 MB / 0.4981 GB Notification: Performance of Templates: time 0.009504/0.3069, allocations: 3.463 MB / 0.6018 GB, free: 2.18 MB / 0.4981 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)