Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009834/0.0009835, allocations: 104.5 kB / 15.98 MB, free: 6.355 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.001034/0.001034, allocations: 196.7 kB / 16.91 MB, free: 6.199 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.269/1.269, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7415/0.7415, allocations: 132.2 MB / 422.9 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 67.91 kB / 0.5019 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3438, allocations: 80.19 MB / 0.5802 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck): time 0.001757/0.3456, allocations: 0.6671 MB / 0.5809 GB, free: 27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3471, allocations: 1.447 MB / 0.5823 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.199e-05/0.3471, allocations: 0 / 0.5823 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.3471, allocations: 1.25 kB / 0.5823 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.853e-05/0.3472, allocations: 1.5 kB / 0.5823 GB, free: 25.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004443/0.3476, allocations: 120.3 kB / 0.5824 GB, free: 25.77 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.882e-05/0.3477, allocations: 31.92 kB / 0.5824 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.542e-05/0.3477, allocations: 1.375 kB / 0.5824 GB, free: 25.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.123e-05/0.3478, allocations: 23.11 kB / 0.5825 GB, free: 25.74 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.3479, allocations: 22 kB / 0.5825 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.559e-05/0.3479, allocations: 2.719 kB / 0.5825 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003576/0.3483, allocations: 315.9 kB / 0.5828 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.54e-05/0.3483, allocations: 6.578 kB / 0.5828 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.392e-05/0.3483, allocations: 14.61 kB / 0.5828 GB, free: 25.53 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.3485, allocations: 128.8 kB / 0.5829 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3485, allocations: 1.5 kB / 0.5829 GB, free: 25.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3485, allocations: 0.625 kB / 0.5829 GB, free: 25.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.3485, allocations: 0 / 0.5829 GB, free: 25.48 MB / 446.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.0004715/0.349, allocations: 368.1 kB / 0.5833 GB, free: 25.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.3491, allocations: 13.41 kB / 0.5833 GB, free: 25.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004465/0.3495, allocations: 68 kB / 0.5834 GB, free: 25.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.803e-05/0.3496, allocations: 167.5 kB / 0.5835 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.3496, allocations: 5.438 kB / 0.5835 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.3496, allocations: 1.5 kB / 0.5835 GB, free: 24.86 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.3499, allocations: 81.12 kB / 0.5836 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.3499, allocations: 0 / 0.5836 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.32e-05/0.3499, allocations: 0 / 0.5836 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.35, allocations: 1.562 kB / 0.5836 GB, free: 24.8 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000276/0.3502, allocations: 61.81 kB / 0.5837 GB, free: 24.78 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001468/0.3504, allocations: 174 kB / 0.5838 GB, free: 24.57 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005432/0.3509, allocations: 128.3 kB / 0.584 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3511, allocations: 42.52 kB / 0.584 GB, free: 24.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004119/0.3515, allocations: 159.5 kB / 0.5841 GB, free: 24.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.3515, allocations: 37.16 kB / 0.5842 GB, free: 24.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.172e-06/0.3515, allocations: 0 / 0.5842 GB, free: 24.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=5): time 0.001067/0.3526, allocations: 403 kB / 0.5846 GB, free: 24 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.3527, allocations: 51.91 kB / 0.5846 GB, free: 23.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.178e-05/0.3527, allocations: 99.58 kB / 0.5847 GB, free: 23.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.3527, allocations: 26.83 kB / 0.5847 GB, free: 23.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.326e-05/0.3527, allocations: 80.14 kB / 0.5848 GB, free: 23.72 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.3528, allocations: 22.27 kB / 0.5848 GB, free: 23.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.454e-05/0.3528, allocations: 20.03 kB / 0.5849 GB, free: 23.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.461e-05/0.3529, allocations: 314.8 kB / 0.5852 GB, free: 23.37 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000149/0.353, allocations: 41.27 kB / 0.5852 GB, free: 23.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001403/0.3532, allocations: 35.25 kB / 0.5852 GB, free: 23.34 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002793/0.3535, allocations: 74.92 kB / 0.5853 GB, free: 23.3 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3535, allocations: 1.562 kB / 0.5853 GB, free: 23.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003329/0.3538, allocations: 116.1 kB / 0.5854 GB, free: 23.24 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.3538, allocations: 7.344 kB / 0.5854 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3539, allocations: 0.9375 kB / 0.5854 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3539, allocations: 2.5 kB / 0.5854 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001427/0.354, allocations: 24.33 kB / 0.5854 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.354, allocations: 0 / 0.5854 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.337e-05/0.3541, allocations: 13.77 kB / 0.5855 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/0.3542, allocations: 6.797 kB / 0.5855 GB, free: 23.22 MB / 446.1 MB 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 5.104e-05/0.3542, allocations: 115.1 kB / 0.5856 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.686e-05/0.3542, allocations: 7.125 kB / 0.5856 GB, free: 23.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004222/0.3547, allocations: 131.3 kB / 0.5857 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3547, allocations: 1.094 kB / 0.5857 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.3547, allocations: 1.312 kB / 0.5857 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.3547, allocations: 0.7188 kB / 0.5857 GB, free: 23.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.149e-05/0.3548, allocations: 180.3 kB / 0.5859 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.3548, allocations: 320 / 0.5859 GB, free: 22.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001468/0.3549, allocations: 33.55 kB / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.355, allocations: 0 / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.172e-05/0.355, allocations: 2.406 kB / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.355, allocations: 5.266 kB / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.355, allocations: 0 / 0.5859 GB, free: 22.79 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004997/0.3555, allocations: 187.1 kB / 0.5861 GB, free: 22.67 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.3555, allocations: 88.28 kB / 0.5862 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.3556, allocations: 1.344 kB / 0.5862 GB, free: 22.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3557, allocations: 12.02 kB / 0.5862 GB, free: 22.56 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/0.3557, allocations: 12.52 kB / 0.5862 GB, free: 22.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.618e-06/0.3557, allocations: 1.531 kB / 0.5862 GB, free: 22.55 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.854e-05/0.3558, allocations: 78 kB / 0.5863 GB, free: 22.48 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3558, allocations: 0 / 0.5863 GB, free: 22.48 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002359/0.356, allocations: 33.64 kB / 0.5863 GB, free: 22.47 MB / 446.1 MB 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.0001873/0.3562, allocations: 135.4 kB / 0.5864 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003574/0.3566, allocations: 83.52 kB / 0.5865 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.3566, allocations: 1.281 kB / 0.5865 GB, free: 22.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3567, allocations: 45.34 kB / 0.5866 GB, free: 22.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000157/0.3569, allocations: 6.281 kB / 0.5866 GB, free: 22.31 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000572/0.3575, allocations: 209.8 kB / 0.5868 GB, free: 22.13 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.3576, allocations: 0.6799 MB / 0.5874 GB, free: 21.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.343e-05/0.3577, allocations: 12.69 kB / 0.5875 GB, free: 21.43 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.3577, allocations: 0 / 0.5875 GB, free: 21.43 MB / 446.1 MB Notification: Performance of Templates: time 0.002521/0.3602, allocations: 1.13 MB / 0.5886 GB, free: 20.86 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivativeCheck.pipe 2>&1)