Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008901/0.0008898, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0009792/0.0009792, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.171/1.171, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6599/0.6599, allocations: 132.4 MB / 423.4 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002852/0.0002853, allocations: 12.78 kB / 0.5034 GB, free: 4.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3273, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.0005684/0.3279, allocations: 358 kB / 0.5834 GB, free: 3.723 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001228/0.3292, allocations: 1.39 MB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.3292, allocations: 1.312 kB / 0.5848 GB, free: 2.707 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.506e-06/0.3292, allocations: 4 kB / 0.5848 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.104e-05/0.3293, allocations: 1.312 kB / 0.5848 GB, free: 2.703 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002743/0.3296, allocations: 87.69 kB / 0.5849 GB, free: 2.668 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.831e-05/0.3296, allocations: 26.2 kB / 0.5849 GB, free: 2.656 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.295e-05/0.3297, allocations: 6.656 kB / 0.5849 GB, free: 2.652 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.149e-05/0.3297, allocations: 15.72 kB / 0.5849 GB, free: 2.645 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.647e-05/0.3298, allocations: 20.08 kB / 0.5849 GB, free: 2.637 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.3298, allocations: 5.25 kB / 0.5849 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004093/0.3302, allocations: 310.9 kB / 0.5852 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.047e-05/0.3302, allocations: 3.094 kB / 0.5852 GB, free: 2.547 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.515e-05/0.3302, allocations: 27.98 kB / 0.5853 GB, free: 2.516 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001847/0.3304, allocations: 130.1 kB / 0.5854 GB, free: 2.492 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.3304, allocations: 5.375 kB / 0.5854 GB, free: 2.488 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3304, allocations: 0 / 0.5854 GB, free: 2.488 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.3304, allocations: 0 / 0.5854 GB, free: 2.488 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003216/0.3308, allocations: 371.5 kB / 0.5858 GB, free: 2.105 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.972e-05/0.3308, allocations: 13.72 kB / 0.5858 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000332/0.3311, allocations: 77.05 kB / 0.5858 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.298e-05/0.3313, allocations: 179.1 kB / 0.586 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.3313, allocations: 0 / 0.586 GB, free: 1.883 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.538e-05/0.3313, allocations: 6.641 kB / 0.586 GB, free: 1.879 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.3315, allocations: 82.34 kB / 0.5861 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3315, allocations: 0.8906 kB / 0.5861 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.845e-06/0.3316, allocations: 1.156 kB / 0.5861 GB, free: 1.836 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.3316, allocations: 4.781 kB / 0.5861 GB, free: 1.832 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003053/0.3319, allocations: 82.84 kB / 0.5862 GB, free: 1.824 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.332, allocations: 174.3 kB / 0.5864 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.3324, allocations: 146 kB / 0.5865 GB, free: 1.578 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.3326, allocations: 54.58 kB / 0.5865 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.3326, allocations: 0.6875 kB / 0.5865 GB, free: 1.559 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3327, allocations: 36.02 kB / 0.5866 GB, free: 1.516 MB / 430.1 MB Notification: Performance of pre-optimization done (n=5): time 1.603e-06/0.3327, allocations: 1 kB / 0.5866 GB, free: 1.516 MB / 430.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=9): time 0.00353/0.3362, allocations: 0.9576 MB / 0.5875 GB, free: 1.355 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.905e-05/0.3362, allocations: 52.62 kB / 0.5876 GB, free: 1.293 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.577e-05/0.3363, allocations: 114.5 kB / 0.5877 GB, free: 1.188 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.202e-05/0.3363, allocations: 31.08 kB / 0.5877 GB, free: 1.152 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.587e-05/0.3363, allocations: 85.44 kB / 0.5878 GB, free: 1.066 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.051e-05/0.3364, allocations: 33.52 kB / 0.5878 GB, free: 1.039 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.817e-06/0.3364, allocations: 0.9688 kB / 0.5878 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.3364, allocations: 319.2 kB / 0.5881 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003684/0.3368, allocations: 117.7 kB / 0.5882 GB, free: 0.707 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000346/0.3372, allocations: 117.3 kB / 0.5883 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000344/0.3375, allocations: 116 kB / 0.5885 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3375, allocations: 4.875 kB / 0.5885 GB, free: 0.668 MB / 430.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0007634/0.3383, allocations: 274.6 kB / 0.5887 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.3383, allocations: 5.375 kB / 0.5887 GB, free: 0.6055 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3383, allocations: 4.547 kB / 0.5887 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/0.3383, allocations: 1.25 kB / 0.5887 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002807/0.3386, allocations: 65.3 kB / 0.5888 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.3386, allocations: 0 / 0.5888 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.3388, allocations: 49.94 kB / 0.5888 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.3389, allocations: 5.531 kB / 0.5888 GB, free: 0.5898 MB / 430.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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.26e-05/0.3389, allocations: 119.1 kB / 0.589 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.3389, allocations: 6.344 kB / 0.589 GB, free: 476 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.339, allocations: 15.28 kB / 0.589 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.339, allocations: 1.281 kB / 0.589 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.339, allocations: 1.031 kB / 0.589 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.339, allocations: 2.078 kB / 0.589 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.3404, allocations: 0.6602 MB / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3404, allocations: 2.031 kB / 0.5896 GB, free: 68 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002364/0.3406, allocations: 68.2 kB / 0.5897 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.818e-06/0.3407, allocations: 1.406 kB / 0.5897 GB, free: 60 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.3407, allocations: 7.781 kB / 0.5897 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3407, allocations: 3.031 kB / 0.5897 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3407, allocations: 0 / 0.5897 GB, free: 56 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000828/0.3415, allocations: 387.8 kB / 0.5901 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.3416, allocations: 81.64 kB / 0.5902 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.3416, allocations: 1.438 kB / 0.5902 GB, free: 15.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002315/0.3418, allocations: 54.64 kB / 0.5902 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.3419, allocations: 8.484 kB / 0.5902 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.379e-05/0.3419, allocations: 13.53 kB / 0.5902 GB, free: 15.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.529e-05/0.3419, allocations: 89.34 kB / 0.5903 GB, free: 15.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 2e-07/0.342, allocations: 0.875 kB / 0.5903 GB, free: 15.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002839/0.3422, allocations: 44.8 kB / 0.5904 GB, free: 15.66 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001842/0.3424, allocations: 125.7 kB / 0.5905 GB, free: 15.56 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008127/0.3433, allocations: 250 kB / 0.5907 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3433, allocations: 1 kB / 0.5907 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.3437, allocations: 131.7 kB / 0.5908 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000212/0.3439, allocations: 7.875 kB / 0.5909 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001316/0.3452, allocations: 477.2 kB / 0.5913 GB, free: 15.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002146/0.3454, allocations: 0.6845 MB / 0.592 GB, free: 14.63 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000111/0.3455, allocations: 25.17 kB / 0.592 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.347e-05/0.3456, allocations: 19.36 kB / 0.592 GB, free: 14.61 MB / 446.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3456, allocations: 288 / 0.592 GB, free: 14.61 MB / 446.1 MB Notification: Performance of Templates: time 0.003868/0.3495, allocations: 1.552 MB / 0.5935 GB, free: 14.44 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)