Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008029/0.000803, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.00578/0.00578, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.373/1.373, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9362/0.9362, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005788/0.0005791, allocations: 8.938 kB / 0.5076 GB, free: 4.746 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1897/0.1903, allocations: 82.32 MB / 0.588 GB, free: 2.594 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.0008843/0.1913, allocations: 327 kB / 0.5883 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002203/0.1935, allocations: 1.444 MB / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.546e-05/0.1935, allocations: 0 / 0.5897 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.458e-05/0.1936, allocations: 3.938 kB / 0.5897 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.683e-05/0.1936, allocations: 0 / 0.5897 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005266/0.1941, allocations: 115.7 kB / 0.5898 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.1942, allocations: 27.97 kB / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.491e-05/0.1943, allocations: 0 / 0.5899 GB, free: 0.6641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.1943, allocations: 23.92 kB / 0.5899 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.544e-05/0.1944, allocations: 19.95 kB / 0.5899 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.598e-05/0.1944, allocations: 8 kB / 0.5899 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.1949, allocations: 315.4 kB / 0.5902 GB, free: 312 kB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.715e-05/0.1949, allocations: 4 kB / 0.5902 GB, free: 308 kB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.195, allocations: 41.61 kB / 0.5903 GB, free: 260 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002911/0.1953, allocations: 187.6 kB / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1953, allocations: 0 / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1953, allocations: 0 / 0.5904 GB, free: 72 kB / 494.1 MB Notification: Performance of Transformations before backend: time 3.758e-06/0.1953, allocations: 3.938 kB / 0.5904 GB, free: 68 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005293/0.1958, allocations: 363.7 kB / 0.5908 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.1959, allocations: 16.03 kB / 0.5908 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004913/0.1964, allocations: 76.84 kB / 0.5909 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.1965, allocations: 164.4 kB / 0.591 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.1966, allocations: 8.312 kB / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.1966, allocations: 384 / 0.591 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002751/0.1969, allocations: 89.94 kB / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1969, allocations: 0 / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.1969, allocations: 0 / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.1969, allocations: 0 / 0.5911 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003174/0.1972, allocations: 75.94 kB / 0.5912 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/0.1975, allocations: 169.7 kB / 0.5914 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00061/0.1981, allocations: 142.5 kB / 0.5915 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000171/0.1983, allocations: 48.98 kB / 0.5915 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004607/0.1987, allocations: 173 kB / 0.5917 GB, free: 14.6 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/0.1988, allocations: 38.48 kB / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1988, allocations: 0 / 0.5917 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5): time 0.001148/0.1999, allocations: 438.2 kB / 0.5922 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/0.2, allocations: 55.41 kB / 0.5922 GB, free: 14 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.499e-05/0.2001, allocations: 93.86 kB / 0.5923 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.834e-05/0.2001, allocations: 29.64 kB / 0.5923 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.6e-05/0.2001, allocations: 84.14 kB / 0.5924 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.359e-05/0.2002, allocations: 19.73 kB / 0.5924 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.383e-05/0.2002, allocations: 13.72 kB / 0.5924 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.2003, allocations: 315 kB / 0.5927 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001619/0.2005, allocations: 43.97 kB / 0.5928 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.2007, allocations: 47.95 kB / 0.5928 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.201, allocations: 88.94 kB / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.201, allocations: 0 / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003706/0.2014, allocations: 133.5 kB / 0.593 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.2014, allocations: 12 kB / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2014, allocations: 0 / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.2014, allocations: 0 / 0.5931 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001503/0.2016, allocations: 27.97 kB / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.2016, allocations: 0 / 0.5931 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.2017, allocations: 15.98 kB / 0.5931 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.2017, allocations: 4.328 kB / 0.5931 GB, free: 13.05 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 (6): * Single equations (assignments): 6 * 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 8.032e-05/0.2018, allocations: 113.8 kB / 0.5932 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.2018, allocations: 7.938 kB / 0.5932 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/0.2023, allocations: 149.1 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.2023, allocations: 3.984 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.2024, allocations: 0 / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.2024, allocations: 0 / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.2025, allocations: 165.7 kB / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2025, allocations: 0 / 0.5935 GB, free: 12.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.2027, allocations: 39.91 kB / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.2027, allocations: 0 / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.115e-05/0.2027, allocations: 0 / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.2027, allocations: 0 / 0.5936 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2027, allocations: 3.938 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006088/0.2033, allocations: 209 kB / 0.5938 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.226e-05/0.2034, allocations: 89.09 kB / 0.5938 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.109e-05/0.2035, allocations: 8.031 kB / 0.5939 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.2036, allocations: 16.05 kB / 0.5939 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.579e-05/0.2036, allocations: 7.938 kB / 0.5939 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-05/0.2036, allocations: 7.984 kB / 0.5939 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.146e-05/0.2037, allocations: 75.28 kB / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2037, allocations: 0 / 0.594 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002378/0.2039, allocations: 28 kB / 0.594 GB, free: 12.04 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (6): * Single equations (assignments): 6 * 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.0002323/0.2042, allocations: 131.3 kB / 0.5941 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.2046, allocations: 99.86 kB / 0.5942 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2046, allocations: 0 / 0.5942 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001834/0.2048, allocations: 55.97 kB / 0.5943 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.2049, allocations: 7.922 kB / 0.5943 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006156/0.2055, allocations: 196.9 kB / 0.5944 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2058, allocations: 0.6809 MB / 0.5951 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001125/0.2059, allocations: 24 kB / 0.5951 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.649e-05/0.206, allocations: 11.44 kB / 0.5951 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.206, allocations: 0 / 0.5951 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of Templates: time 0.003365/0.2094, allocations: 1.115 MB / 0.5962 GB, free: 9.676 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)