Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.001056/0.001055, allocations: 108 kB / 15.61 MB, free: 152 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.001252/0.001252, allocations: 195.7 kB / 16.53 MB, free: 6.664 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.283/1.283, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7332/0.7332, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 68.84 kB / 0.5018 GB, free: 8.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1573/0.1586, allocations: 80.2 MB / 0.5801 GB, free: 8.719 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.002551/0.1612, allocations: 0.77 MB / 0.5809 GB, free: 7.941 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1633, allocations: 1.479 MB / 0.5823 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.669e-05/0.1634, allocations: 0 / 0.5823 GB, free: 6.445 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.1634, allocations: 7.875 kB / 0.5823 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.325e-05/0.1635, allocations: 3.938 kB / 0.5823 GB, free: 6.434 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005224/0.164, allocations: 147.4 kB / 0.5825 GB, free: 6.289 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.698e-05/0.1641, allocations: 47.72 kB / 0.5825 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.825e-05/0.1641, allocations: 4 kB / 0.5825 GB, free: 6.238 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.533e-05/0.1642, allocations: 27.91 kB / 0.5825 GB, free: 6.211 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.42e-05/0.1643, allocations: 31.84 kB / 0.5826 GB, free: 6.18 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.1643, allocations: 4 kB / 0.5826 GB, free: 6.176 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004366/0.1648, allocations: 327.3 kB / 0.5829 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.789e-05/0.1648, allocations: 15.98 kB / 0.5829 GB, free: 5.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.875e-05/0.1648, allocations: 23.86 kB / 0.5829 GB, free: 5.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.1652, allocations: 211.5 kB / 0.5831 GB, free: 5.609 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.1652, allocations: 0 / 0.5831 GB, free: 5.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1652, allocations: 0 / 0.5831 GB, free: 5.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.1652, allocations: 0 / 0.5831 GB, free: 5.609 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.0007093/0.1659, allocations: 403.6 kB / 0.5835 GB, free: 5.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.166, allocations: 8.031 kB / 0.5835 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004551/0.1664, allocations: 72.77 kB / 0.5836 GB, free: 5.09 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001248/0.1665, allocations: 172.3 kB / 0.5837 GB, free: 4.883 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.359e-05/0.1666, allocations: 8.375 kB / 0.5838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.1666, allocations: 12.28 kB / 0.5838 GB, free: 4.863 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003726/0.167, allocations: 113.8 kB / 0.5839 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.167, allocations: 0 / 0.5839 GB, free: 4.746 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.1671, allocations: 4 kB / 0.5839 GB, free: 4.742 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.045e-05/0.1671, allocations: 4 kB / 0.5839 GB, free: 4.738 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004731/0.1675, allocations: 105.1 kB / 0.584 GB, free: 4.637 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006177/0.1682, allocations: 324.7 kB / 0.5843 GB, free: 4.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006473/0.1688, allocations: 158.4 kB / 0.5844 GB, free: 4.105 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.1691, allocations: 56.81 kB / 0.5845 GB, free: 4.047 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.079e-05/0.1691, allocations: 8.125 kB / 0.5845 GB, free: 4.039 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.1691, allocations: 38.55 kB / 0.5845 GB, free: 3.992 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.1691, allocations: 0 / 0.5845 GB, free: 3.992 MB / 494.1 MB 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.01761/0.1868, allocations: 2.826 MB / 0.5873 GB, free: 1.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.562e-05/0.1869, allocations: 63.28 kB / 0.5874 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.888e-05/0.1869, allocations: 93.86 kB / 0.5875 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.187, allocations: 33.7 kB / 0.5875 GB, free: 0.8555 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1871, allocations: 95.97 kB / 0.5876 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.561e-05/0.1871, allocations: 39.45 kB / 0.5876 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001663/0.1873, allocations: 65.58 kB / 0.5877 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1875, allocations: 314.8 kB / 0.588 GB, free: 340 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006506/0.1881, allocations: 191.8 kB / 0.5882 GB, free: 148 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006831/0.1888, allocations: 195.8 kB / 0.5883 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/0.1902, allocations: 395.3 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.1902, allocations: 0 / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001556/0.1917, allocations: 485 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.1918, allocations: 11.94 kB / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1918, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.1918, allocations: 0 / 0.5892 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007943/0.1926, allocations: 103.8 kB / 0.5893 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.1926, allocations: 7.938 kB / 0.5893 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005904/0.1932, allocations: 43.94 kB / 0.5893 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.1933, allocations: 27.94 kB / 0.5894 GB, free: 14.89 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.0001515/0.1934, allocations: 114.5 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.3e-05/0.1935, allocations: 4 kB / 0.5895 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.525e-05/0.1936, allocations: 11.97 kB / 0.5895 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.1936, allocations: 4 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1936, allocations: 7.875 kB / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1936, allocations: 0 / 0.5895 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/0.1958, allocations: 1.054 MB / 0.5905 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.1958, allocations: 7.938 kB / 0.5905 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.1966, allocations: 103.8 kB / 0.5906 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.1966, allocations: 3.938 kB / 0.5906 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.144e-05/0.1967, allocations: 27.88 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.1967, allocations: 0 / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.1967, allocations: 4 kB / 0.5907 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002288/0.199, allocations: 0.7801 MB / 0.5914 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001386/0.1991, allocations: 120.9 kB / 0.5916 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.129e-05/0.1992, allocations: 4 kB / 0.5916 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000672/0.1999, allocations: 51.98 kB / 0.5916 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.754e-05/0.2, allocations: 23.88 kB / 0.5916 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.618e-05/0.2001, allocations: 27.92 kB / 0.5917 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.446e-05/0.2001, allocations: 83.28 kB / 0.5917 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2001, allocations: 0 / 0.5917 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003986/0.2005, allocations: 56 kB / 0.5918 GB, free: 12.26 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.0002535/0.2008, allocations: 115.2 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00146/0.2023, allocations: 423.5 kB / 0.5923 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.2023, allocations: 0 / 0.5923 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007058/0.203, allocations: 219.7 kB / 0.5925 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.2034, allocations: 18.17 kB / 0.5925 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.2076, allocations: 0.756 MB / 0.5933 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.2078, allocations: 0.6924 MB / 0.5939 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0006277/0.2084, allocations: 92.66 kB / 0.594 GB, free: 9.902 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/0.2087, allocations: 59.3 kB / 0.5941 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of SimCode: time 1.873e-06/0.2087, allocations: 3.938 kB / 0.5941 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.006321/0.215, allocations: 3.467 MB / 0.5975 GB, free: 6.379 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)