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.001634/0.001634, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001867/0.001867, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.388/1.388, 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-master/package.mo): time 0.7983/0.7983, allocations: 135.1 MB / 426.2 MB, free: 4.137 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 67.89 kB / 0.506 GB, free: 8.328 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3346, allocations: 80.91 MB / 0.585 GB, free: 25.36 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check): time 0.001948/0.3366, allocations: 0.7857 MB / 0.5858 GB, free: 24.78 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001573/0.3382, allocations: 1.477 MB / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.104e-05/0.3382, allocations: 0 / 0.5872 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.3383, allocations: 11.86 kB / 0.5872 GB, free: 23.58 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.01e-05/0.3383, allocations: 6.219 kB / 0.5872 GB, free: 23.57 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004956/0.3388, allocations: 140.4 kB / 0.5874 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.449e-05/0.3389, allocations: 47.8 kB / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.339, allocations: 3.469 kB / 0.5874 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.339, allocations: 23.7 kB / 0.5874 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.802e-05/0.3391, allocations: 39.48 kB / 0.5875 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.3391, allocations: 4.406 kB / 0.5875 GB, free: 23.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004012/0.3395, allocations: 321.5 kB / 0.5878 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.3396, allocations: 16.12 kB / 0.5878 GB, free: 23.22 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.17e-05/0.3396, allocations: 24.83 kB / 0.5878 GB, free: 23.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002848/0.3399, allocations: 213.1 kB / 0.588 GB, free: 23.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3399, allocations: 0 / 0.588 GB, free: 23.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3399, allocations: 1.5 kB / 0.588 GB, free: 23.08 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.269e-06/0.3399, allocations: 0 / 0.588 GB, free: 23.08 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.0005437/0.3405, allocations: 398.1 kB / 0.5884 GB, free: 22.68 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.3405, allocations: 10.14 kB / 0.5884 GB, free: 22.68 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004618/0.341, allocations: 75.53 kB / 0.5885 GB, free: 22.65 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.022e-05/0.3411, allocations: 169.7 kB / 0.5887 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.773e-05/0.3411, allocations: 8.781 kB / 0.5887 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.3411, allocations: 12.06 kB / 0.5887 GB, free: 22.44 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003608/0.3415, allocations: 115.6 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.3415, allocations: 0.7188 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.3415, allocations: 1.406 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3415, allocations: 1.938 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004855/0.342, allocations: 102.2 kB / 0.5889 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.3425, allocations: 332.6 kB / 0.5892 GB, free: 22 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006659/0.3432, allocations: 158.9 kB / 0.5894 GB, free: 21.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002415/0.3435, allocations: 57.41 kB / 0.5894 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.3435, allocations: 0 / 0.5894 GB, free: 21.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.922e-05/0.3435, allocations: 33.25 kB / 0.5895 GB, free: 21.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.012e-06/0.3435, allocations: 1.625 kB / 0.5895 GB, free: 21.85 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.01783/0.3614, allocations: 2.836 MB / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.588e-05/0.3614, allocations: 63.28 kB / 0.5923 GB, free: 18.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.344e-05/0.3615, allocations: 97.84 kB / 0.5924 GB, free: 18.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.244e-05/0.3615, allocations: 33.7 kB / 0.5924 GB, free: 18.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.612e-05/0.3616, allocations: 88.03 kB / 0.5925 GB, free: 18.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.053e-05/0.3616, allocations: 43.39 kB / 0.5925 GB, free: 18.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001436/0.3618, allocations: 69.58 kB / 0.5926 GB, free: 18.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.3618, allocations: 322.8 kB / 0.5929 GB, free: 18.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006247/0.3625, allocations: 191.8 kB / 0.5931 GB, free: 18.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.3631, allocations: 191.9 kB / 0.5933 GB, free: 17.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001246/0.3644, allocations: 396.5 kB / 0.5937 GB, free: 17.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.3644, allocations: 0 / 0.5937 GB, free: 17.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.001429/0.3658, allocations: 479.4 kB / 0.5941 GB, free: 17.03 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3658, allocations: 7.938 kB / 0.5941 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.3658, allocations: 3.984 kB / 0.5941 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.3659, allocations: 0 / 0.5941 GB, free: 17.02 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000787/0.3666, allocations: 107.8 kB / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3667, allocations: 4.953 kB / 0.5942 GB, free: 16.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005982/0.3673, allocations: 47.94 kB / 0.5943 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.971e-05/0.3673, allocations: 23.94 kB / 0.5943 GB, free: 16.84 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.0001249/0.3675, allocations: 113.8 kB / 0.5944 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.53e-05/0.3675, allocations: 0 / 0.5944 GB, free: 16.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.3676, allocations: 19.95 kB / 0.5944 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3676, allocations: 4 kB / 0.5944 GB, free: 16.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3676, allocations: 7.875 kB / 0.5944 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.3676, allocations: 0 / 0.5944 GB, free: 16.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/0.3696, allocations: 1.039 MB / 0.5955 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.3696, allocations: 4 kB / 0.5955 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000789/0.3704, allocations: 107.8 kB / 0.5956 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.3704, allocations: 3.938 kB / 0.5956 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.722e-05/0.3704, allocations: 31.88 kB / 0.5956 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3705, allocations: 0 / 0.5956 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3705, allocations: 0 / 0.5956 GB, free: 15.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.3726, allocations: 0.7801 MB / 0.5964 GB, free: 14.59 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.3727, allocations: 120.9 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.3728, allocations: 8.062 kB / 0.5965 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/0.3735, allocations: 43.94 kB / 0.5965 GB, free: 14.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.3736, allocations: 31.86 kB / 0.5965 GB, free: 14.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.3737, allocations: 23.92 kB / 0.5966 GB, free: 14.35 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.828e-05/0.3737, allocations: 87.28 kB / 0.5967 GB, free: 14.26 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3737, allocations: 0 / 0.5967 GB, free: 14.26 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000382/0.3741, allocations: 56 kB / 0.5967 GB, free: 14.21 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.0001754/0.3743, allocations: 120.6 kB / 0.5968 GB, free: 14.08 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.3757, allocations: 430.8 kB / 0.5972 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3757, allocations: 0 / 0.5972 GB, free: 13.66 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000681/0.3764, allocations: 223.7 kB / 0.5974 GB, free: 13.45 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.3767, allocations: 8 kB / 0.5975 GB, free: 13.44 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004086/0.3808, allocations: 0.7887 MB / 0.5982 GB, free: 12.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.3809, allocations: 0.6885 MB / 0.5989 GB, free: 11.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003606/0.3813, allocations: 75.23 kB / 0.599 GB, free: 11.82 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.3813, allocations: 0 / 0.599 GB, free: 11.82 MB / 446.1 MB Notification: Performance of Templates: time 0.00521/0.3865, allocations: 3.789 MB / 0.6027 GB, free: 8.023 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXDerivative_2_Check.pipe 2>&1)