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.001358/0.001358, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001468/0.001468, allocations: 191.2 kB / 17.31 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.321/1.321, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7678/0.7678, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 63.91 kB / 0.5068 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3475, allocations: 80.91 MB / 0.5858 GB, free: 25.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001808/0.3494, allocations: 0.7795 MB / 0.5865 GB, free: 24.94 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001388/0.3508, allocations: 1.474 MB / 0.588 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.015e-05/0.3508, allocations: 1.094 kB / 0.588 GB, free: 23.75 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.3509, allocations: 8.453 kB / 0.588 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.304e-05/0.3509, allocations: 0.6875 kB / 0.588 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.3513, allocations: 144.5 kB / 0.5881 GB, free: 23.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.438e-05/0.3514, allocations: 46.94 kB / 0.5882 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.596e-05/0.3514, allocations: 8.422 kB / 0.5882 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.74e-05/0.3515, allocations: 27.83 kB / 0.5882 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.034e-05/0.3515, allocations: 37.11 kB / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.3516, allocations: 5.438 kB / 0.5882 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003567/0.3519, allocations: 316.3 kB / 0.5885 GB, free: 23.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.691e-05/0.352, allocations: 14.8 kB / 0.5886 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.352, allocations: 25.53 kB / 0.5886 GB, free: 23.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.3522, allocations: 207.6 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.3523, allocations: 1.406 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3523, allocations: 0.5938 kB / 0.5888 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.637e-06/0.3523, allocations: 1.469 kB / 0.5888 GB, free: 23.25 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.0004495/0.3527, allocations: 407.6 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.913e-05/0.3528, allocations: 13.36 kB / 0.5892 GB, free: 22.84 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004034/0.3532, allocations: 69.55 kB / 0.5893 GB, free: 22.82 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.755e-05/0.3532, allocations: 175.5 kB / 0.5894 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.3533, allocations: 7.719 kB / 0.5894 GB, free: 22.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.206e-05/0.3533, allocations: 13.44 kB / 0.5894 GB, free: 22.6 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.3536, allocations: 113.7 kB / 0.5895 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.3536, allocations: 0 / 0.5895 GB, free: 22.53 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.3537, allocations: 13.3 kB / 0.5896 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.3537, allocations: 1.5 kB / 0.5896 GB, free: 22.52 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004177/0.3541, allocations: 105.9 kB / 0.5897 GB, free: 22.46 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.3545, allocations: 337.7 kB / 0.59 GB, free: 22.08 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.3551, allocations: 152.6 kB / 0.5901 GB, free: 21.93 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000193/0.3553, allocations: 58.69 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.377e-05/0.3553, allocations: 5.547 kB / 0.5902 GB, free: 21.87 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.439e-05/0.3553, allocations: 30.56 kB / 0.5902 GB, free: 21.83 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.072e-06/0.3553, allocations: 0 / 0.5902 GB, free: 21.83 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.0165/0.3718, allocations: 2.828 MB / 0.593 GB, free: 18.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.784e-05/0.3719, allocations: 63.28 kB / 0.593 GB, free: 18.9 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.002e-05/0.3719, allocations: 93.86 kB / 0.5931 GB, free: 18.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.148e-05/0.372, allocations: 29.7 kB / 0.5932 GB, free: 18.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.372, allocations: 92.03 kB / 0.5933 GB, free: 18.67 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.165e-05/0.3721, allocations: 43.39 kB / 0.5933 GB, free: 18.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/0.3722, allocations: 69.58 kB / 0.5934 GB, free: 18.55 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.988e-05/0.3723, allocations: 310.8 kB / 0.5937 GB, free: 18.24 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.3728, allocations: 203.7 kB / 0.5938 GB, free: 18.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/0.3734, allocations: 187.8 kB / 0.594 GB, free: 17.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.3745, allocations: 388.5 kB / 0.5944 GB, free: 17.47 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3745, allocations: 4 kB / 0.5944 GB, free: 17.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001345/0.3759, allocations: 477.2 kB / 0.5949 GB, free: 17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.418e-05/0.3759, allocations: 8 kB / 0.5949 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.3759, allocations: 0 / 0.5949 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.376, allocations: 0 / 0.5949 GB, free: 16.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.3767, allocations: 111.7 kB / 0.595 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.3768, allocations: 3.938 kB / 0.595 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.3773, allocations: 47.94 kB / 0.595 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.537e-05/0.3774, allocations: 23.94 kB / 0.595 GB, free: 16.8 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.0001499/0.3775, allocations: 113.8 kB / 0.5952 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.725e-05/0.3776, allocations: 4.094 kB / 0.5952 GB, free: 16.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.02e-05/0.3777, allocations: 15.91 kB / 0.5952 GB, free: 16.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.3777, allocations: 4 kB / 0.5952 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.3777, allocations: 7.938 kB / 0.5952 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3777, allocations: 0 / 0.5952 GB, free: 16.66 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001845/0.3796, allocations: 1.054 MB / 0.5962 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3796, allocations: 0 / 0.5962 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007497/0.3803, allocations: 107.8 kB / 0.5963 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3804, allocations: 3.938 kB / 0.5963 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.3804, allocations: 23.94 kB / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.3804, allocations: 1.016 kB / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3804, allocations: 0 / 0.5963 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001969/0.3824, allocations: 0.7956 MB / 0.5971 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.3826, allocations: 120.9 kB / 0.5972 GB, free: 14.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.286e-05/0.3826, allocations: 4 kB / 0.5972 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006252/0.3833, allocations: 51.98 kB / 0.5973 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.142e-05/0.3834, allocations: 24.12 kB / 0.5973 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.432e-05/0.3834, allocations: 31.92 kB / 0.5973 GB, free: 14.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.175e-05/0.3834, allocations: 83.27 kB / 0.5974 GB, free: 14.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3835, allocations: 4 kB / 0.5974 GB, free: 14.21 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003652/0.3838, allocations: 56 kB / 0.5975 GB, free: 14.16 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.0002245/0.3841, allocations: 111.2 kB / 0.5976 GB, free: 14.04 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3853, allocations: 423.5 kB / 0.598 GB, free: 13.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3853, allocations: 4 kB / 0.598 GB, free: 13.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006068/0.3859, allocations: 223.6 kB / 0.5982 GB, free: 13.41 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003739/0.3863, allocations: 11.98 kB / 0.5982 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/0.3902, allocations: 0.7597 MB / 0.599 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.3903, allocations: 0.6924 MB / 0.5996 GB, free: 11.89 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004613/0.3908, allocations: 88.66 kB / 0.5997 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.391, allocations: 59.3 kB / 0.5998 GB, free: 11.74 MB / 446.1 MB Notification: Performance of SimCode: time 1.293e-06/0.391, allocations: 0 / 0.5998 GB, free: 11.74 MB / 446.1 MB Notification: Performance of Templates: time 0.005302/0.3964, allocations: 3.469 MB / 0.6032 GB, free: 8.277 MB / 446.1 MB 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)