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.001109/0.001108, allocations: 103.6 kB / 16.27 MB, free: 5.988 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.001149/0.001149, allocations: 188.9 kB / 17.2 MB, free: 5.613 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.331/1.331, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7952/0.7952, allocations: 132.2 MB / 423.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 63.91 kB / 0.5024 GB, free: 11.69 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3502, allocations: 80.18 MB / 0.5808 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001858/0.3521, allocations: 0.7798 MB / 0.5815 GB, free: 26.93 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001408/0.3536, allocations: 1.48 MB / 0.583 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.3536, allocations: 0 / 0.583 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.085e-05/0.3537, allocations: 3.938 kB / 0.583 GB, free: 25.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.73e-05/0.3537, allocations: 5.672 kB / 0.583 GB, free: 25.72 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000468/0.3542, allocations: 140.5 kB / 0.5831 GB, free: 25.63 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.3543, allocations: 55.98 kB / 0.5832 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.3543, allocations: 3.031 kB / 0.5832 GB, free: 25.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.53e-05/0.3544, allocations: 24.48 kB / 0.5832 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.797e-05/0.3544, allocations: 33.89 kB / 0.5832 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.3545, allocations: 4.938 kB / 0.5832 GB, free: 25.56 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003931/0.3549, allocations: 318.6 kB / 0.5835 GB, free: 25.38 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.966e-05/0.3549, allocations: 14.7 kB / 0.5835 GB, free: 25.37 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.199e-05/0.3549, allocations: 30.94 kB / 0.5836 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002823/0.3552, allocations: 203.3 kB / 0.5838 GB, free: 25.23 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.3552, allocations: 4.516 kB / 0.5838 GB, free: 25.23 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3552, allocations: 5.5 kB / 0.5838 GB, free: 25.23 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.3553, allocations: 1.25 kB / 0.5838 GB, free: 25.23 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005726/0.3558, allocations: 405.3 kB / 0.5842 GB, free: 24.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.3559, allocations: 9.281 kB / 0.5842 GB, free: 24.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.3563, allocations: 69.72 kB / 0.5842 GB, free: 24.79 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.064e-05/0.3564, allocations: 174.9 kB / 0.5844 GB, free: 24.59 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.705e-05/0.3565, allocations: 8.062 kB / 0.5844 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.3565, allocations: 4.656 kB / 0.5844 GB, free: 24.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003434/0.3568, allocations: 112.9 kB / 0.5845 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.3569, allocations: 0.7812 kB / 0.5845 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.3569, allocations: 1.875 kB / 0.5845 GB, free: 24.51 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.3569, allocations: 10.2 kB / 0.5845 GB, free: 24.5 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.3574, allocations: 97.09 kB / 0.5846 GB, free: 24.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004737/0.3579, allocations: 341.2 kB / 0.5849 GB, free: 24.13 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006423/0.3585, allocations: 150.4 kB / 0.5851 GB, free: 24.06 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.3588, allocations: 64.75 kB / 0.5852 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.3588, allocations: 0 / 0.5852 GB, free: 24.02 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.3588, allocations: 37.5 kB / 0.5852 GB, free: 23.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.002e-06/0.3588, allocations: 1.375 kB / 0.5852 GB, free: 23.98 MB / 446.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.01818/0.377, allocations: 2.828 MB / 0.588 GB, free: 22.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.3771, allocations: 56.94 kB / 0.588 GB, free: 22.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.669e-05/0.3771, allocations: 102.8 kB / 0.5881 GB, free: 22.21 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.323e-05/0.3772, allocations: 33.7 kB / 0.5881 GB, free: 22.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.3772, allocations: 86.89 kB / 0.5882 GB, free: 22.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.586e-05/0.3773, allocations: 43.41 kB / 0.5883 GB, free: 22.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001509/0.3775, allocations: 72.83 kB / 0.5883 GB, free: 21.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.3775, allocations: 317.3 kB / 0.5886 GB, free: 21.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006522/0.3782, allocations: 188.3 kB / 0.5888 GB, free: 21.57 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006461/0.3788, allocations: 198.5 kB / 0.589 GB, free: 21.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001352/0.3802, allocations: 399.3 kB / 0.5894 GB, free: 21.28 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-06/0.3802, allocations: 0 / 0.5894 GB, free: 21.28 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001481/0.3817, allocations: 476.9 kB / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3817, allocations: 10.66 kB / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.3817, allocations: 0 / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.3818, allocations: 0 / 0.5898 GB, free: 20.88 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008155/0.3826, allocations: 107.7 kB / 0.59 GB, free: 20.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3826, allocations: 15.88 kB / 0.59 GB, free: 20.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006109/0.3832, allocations: 47.94 kB / 0.59 GB, free: 20.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.69e-05/0.3833, allocations: 27.92 kB / 0.59 GB, free: 20.68 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 (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.0001237/0.3834, allocations: 113.8 kB / 0.5901 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.277e-05/0.3835, allocations: 0 / 0.5901 GB, free: 20.56 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.113e-05/0.3835, allocations: 15.97 kB / 0.5902 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.3835, allocations: 0 / 0.5902 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3836, allocations: 3.938 kB / 0.5902 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3836, allocations: 0 / 0.5902 GB, free: 20.54 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001925/0.3855, allocations: 1.047 MB / 0.5912 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.3855, allocations: 0 / 0.5912 GB, free: 19.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008021/0.3863, allocations: 107.7 kB / 0.5913 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.028e-06/0.3863, allocations: 4.031 kB / 0.5913 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.3864, allocations: 27.86 kB / 0.5913 GB, free: 19.24 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3864, allocations: 4 kB / 0.5913 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3864, allocations: 0 / 0.5913 GB, free: 19.23 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002168/0.3886, allocations: 0.784 MB / 0.5921 GB, free: 18.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.3887, allocations: 120.9 kB / 0.5922 GB, free: 18.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.138e-05/0.3888, allocations: 3.984 kB / 0.5922 GB, free: 18.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006864/0.3895, allocations: 52 kB / 0.5923 GB, free: 18.24 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.215e-05/0.3896, allocations: 27.92 kB / 0.5923 GB, free: 18.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.795e-05/0.3896, allocations: 19.94 kB / 0.5923 GB, free: 18.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.676e-05/0.3897, allocations: 83.28 kB / 0.5924 GB, free: 18.11 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3897, allocations: 3.938 kB / 0.5924 GB, free: 18.11 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.39, allocations: 52 kB / 0.5924 GB, free: 18.06 MB / 446.1 MB 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.0002084/0.3903, allocations: 119.2 kB / 0.5926 GB, free: 17.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.3916, allocations: 427.5 kB / 0.593 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3917, allocations: 0 / 0.593 GB, free: 17.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006929/0.3924, allocations: 227.7 kB / 0.5932 GB, free: 17.29 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003537/0.3927, allocations: 15.17 kB / 0.5932 GB, free: 17.28 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004169/0.3969, allocations: 0.7731 MB / 0.5939 GB, free: 16.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001164/0.397, allocations: 0.7002 MB / 0.5946 GB, free: 15.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003633/0.3974, allocations: 79.23 kB / 0.5947 GB, free: 15.67 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3974, allocations: 0 / 0.5947 GB, free: 15.67 MB / 446.1 MB Notification: Performance of Templates: time 0.004597/0.402, allocations: 3.774 MB / 0.5984 GB, free: 11.88 MB / 446.1 MB 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)