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.001096/0.001096, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001734/0.001734, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9855/0.9855, allocations: 135.3 MB / 426.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003234, allocations: 12 kB / 0.507 GB, free: 5.141 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2032, allocations: 82.31 MB / 0.5874 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001283/0.2046, allocations: 496 kB / 0.5879 GB, free: 2.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002431/0.207, allocations: 1.41 MB / 0.5892 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.835e-05/0.2071, allocations: 4 kB / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.722e-05/0.2071, allocations: 0 / 0.5892 GB, free: 1.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.869e-05/0.2072, allocations: 3.938 kB / 0.5892 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005818/0.2078, allocations: 111.7 kB / 0.5893 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.473e-05/0.2079, allocations: 43.91 kB / 0.5894 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.808e-05/0.2079, allocations: 0 / 0.5894 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.777e-05/0.208, allocations: 27.91 kB / 0.5894 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.2081, allocations: 31.91 kB / 0.5894 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.107e-05/0.2082, allocations: 8 kB / 0.5895 GB, free: 0.8633 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006102/0.2088, allocations: 307.3 kB / 0.5897 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.343e-05/0.2088, allocations: 11.98 kB / 0.5898 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.792e-05/0.2089, allocations: 29.7 kB / 0.5898 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003127/0.2092, allocations: 147.8 kB / 0.5899 GB, free: 380 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.2092, allocations: 3.938 kB / 0.5899 GB, free: 376 kB / 494.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.2092, allocations: 4 kB / 0.5899 GB, free: 372 kB / 494.1 MB Notification: Performance of Transformations before backend: time 7.323e-06/0.2092, allocations: 0 / 0.5899 GB, free: 372 kB / 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.0008196/0.2101, allocations: 391.5 kB / 0.5903 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.2101, allocations: 16.02 kB / 0.5903 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005865/0.2107, allocations: 83.77 kB / 0.5904 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.2109, allocations: 171 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.757e-05/0.211, allocations: 11.98 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/0.211, allocations: 12 kB / 0.5906 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000483/0.2115, allocations: 113.6 kB / 0.5907 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.2115, allocations: 4 kB / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.981e-05/0.2115, allocations: 0 / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2116, allocations: 0 / 0.5907 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006358/0.2122, allocations: 127.8 kB / 0.5908 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007475/0.213, allocations: 336.7 kB / 0.5911 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008523/0.2138, allocations: 186.4 kB / 0.5913 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003246/0.2142, allocations: 68.81 kB / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.2142, allocations: 0 / 0.5914 GB, free: 14.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.213e-05/0.2142, allocations: 34.56 kB / 0.5914 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.2143, allocations: 0 / 0.5914 GB, free: 14.68 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.02302/0.2373, allocations: 3.186 MB / 0.5945 GB, free: 11.39 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.107e-05/0.2374, allocations: 55.41 kB / 0.5946 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001162/0.2375, allocations: 101.8 kB / 0.5947 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.065e-05/0.2376, allocations: 29.7 kB / 0.5947 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.216e-05/0.2377, allocations: 84.08 kB / 0.5948 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.399e-05/0.2378, allocations: 47.34 kB / 0.5948 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.813e-05/0.2379, allocations: 4 kB / 0.5948 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.238, allocations: 314.8 kB / 0.5951 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008975/0.2389, allocations: 219.7 kB / 0.5954 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009047/0.2398, allocations: 215.9 kB / 0.5956 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009946/0.2409, allocations: 227 kB / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.2409, allocations: 0 / 0.5958 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001685/0.2426, allocations: 0.5129 MB / 0.5963 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.627e-05/0.2426, allocations: 7.953 kB / 0.5963 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.2426, allocations: 0 / 0.5963 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2426, allocations: 4 kB / 0.5963 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007912/0.2434, allocations: 123.7 kB / 0.5964 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.775e-06/0.2435, allocations: 0 / 0.5964 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/0.244, allocations: 59.94 kB / 0.5965 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.2441, allocations: 27.92 kB / 0.5965 GB, free: 9.348 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.2442, allocations: 113.8 kB / 0.5966 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-05/0.2443, allocations: 7.906 kB / 0.5966 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.929e-05/0.2444, allocations: 20.02 kB / 0.5966 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.848e-06/0.2444, allocations: 7.938 kB / 0.5966 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2444, allocations: 0 / 0.5966 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.2444, allocations: 7.984 kB / 0.5966 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002211/0.2466, allocations: 1.097 MB / 0.5977 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.2467, allocations: 8 kB / 0.5977 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007681/0.2474, allocations: 115.8 kB / 0.5978 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.2474, allocations: 0 / 0.5978 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.095e-05/0.2475, allocations: 28.11 kB / 0.5979 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.2475, allocations: 3.938 kB / 0.5979 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.2475, allocations: 0 / 0.5979 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002257/0.2498, allocations: 0.8698 MB / 0.5987 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.2499, allocations: 117 kB / 0.5988 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.25, allocations: 4 kB / 0.5988 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00061/0.2506, allocations: 60 kB / 0.5989 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.579e-05/0.2507, allocations: 23.92 kB / 0.5989 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-05/0.2508, allocations: 27.94 kB / 0.5989 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.63e-05/0.2508, allocations: 87.27 kB / 0.599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2508, allocations: 0 / 0.599 GB, free: 6.602 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004218/0.2513, allocations: 56 kB / 0.5991 GB, free: 6.547 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002501/0.2515, allocations: 115.2 kB / 0.5992 GB, free: 6.426 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001409/0.2529, allocations: 471.5 kB / 0.5996 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.253, allocations: 4 kB / 0.5996 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006885/0.2537, allocations: 247.7 kB / 0.5999 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003502/0.254, allocations: 14.47 kB / 0.5999 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/0.2579, allocations: 0.8695 MB / 0.6007 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.2582, allocations: 0.6926 MB / 0.6014 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006794/0.2589, allocations: 88.73 kB / 0.6015 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002597/0.2591, allocations: 63.3 kB / 0.6016 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of SimCode: time 7.41e-07/0.2591, allocations: 0 / 0.6016 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of Templates: time 0.007007/0.2661, allocations: 3.241 MB / 0.6047 GB, free: 0.707 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)