Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized") translateModel(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001342/0.001342, allocations: 103.3 kB / 16.27 MB, free: 5.98 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.001328/0.001328, allocations: 189.8 kB / 17.19 MB, free: 5.605 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.365/1.365, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8046/0.8046, allocations: 135.1 MB / 426.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002621/0.002621, allocations: 67.89 kB / 0.506 GB, free: 8.422 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3769, allocations: 80.91 MB / 0.585 GB, free: 25.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized): time 0.001629/0.3785, allocations: 0.6299 MB / 0.5856 GB, free: 24.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3799, allocations: 1.456 MB / 0.587 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.194e-05/0.3799, allocations: 0 / 0.587 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.38, allocations: 0.5625 kB / 0.587 GB, free: 23.56 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.067e-05/0.38, allocations: 10.42 kB / 0.5871 GB, free: 23.55 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.3804, allocations: 119.5 kB / 0.5872 GB, free: 23.48 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.129e-05/0.3805, allocations: 32.33 kB / 0.5872 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.225e-05/0.3805, allocations: 3.656 kB / 0.5872 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.073e-05/0.3806, allocations: 14.86 kB / 0.5872 GB, free: 23.45 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.678e-05/0.3806, allocations: 20.81 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.3806, allocations: 2.719 kB / 0.5872 GB, free: 23.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.381, allocations: 317 kB / 0.5875 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.253e-05/0.3811, allocations: 5.359 kB / 0.5876 GB, free: 23.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.3811, allocations: 23.7 kB / 0.5876 GB, free: 23.23 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002489/0.3814, allocations: 184.1 kB / 0.5877 GB, free: 23.13 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3814, allocations: 0.7812 kB / 0.5878 GB, free: 23.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3814, allocations: 1.094 kB / 0.5878 GB, free: 23.13 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.3814, allocations: 0.6875 kB / 0.5878 GB, free: 23.13 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004187/0.3818, allocations: 376.1 kB / 0.5881 GB, free: 22.74 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3818, allocations: 11.8 kB / 0.5881 GB, free: 22.74 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003793/0.3822, allocations: 58.36 kB / 0.5882 GB, free: 22.72 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.486e-05/0.3823, allocations: 181.1 kB / 0.5884 GB, free: 22.51 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.3824, allocations: 6.594 kB / 0.5884 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.3824, allocations: 1.969 kB / 0.5884 GB, free: 22.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002518/0.3826, allocations: 75.36 kB / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.3827, allocations: 2.156 kB / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.949e-06/0.3827, allocations: 0 / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.3827, allocations: 1.594 kB / 0.5884 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.3831, allocations: 80.72 kB / 0.5885 GB, free: 22.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001293/0.3832, allocations: 163.2 kB / 0.5887 GB, free: 22.21 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005333/0.3837, allocations: 129 kB / 0.5888 GB, free: 22.15 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001797/0.3839, allocations: 41.05 kB / 0.5888 GB, free: 22.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.565e-05/0.384, allocations: 5.688 kB / 0.5888 GB, free: 22.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.483e-05/0.384, allocations: 35.75 kB / 0.5889 GB, free: 22.08 MB / 446.1 MB Notification: Performance of pre-optimization done (n=5): time 1.202e-06/0.384, allocations: 0 / 0.5889 GB, free: 22.08 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=9): time 0.004051/0.388, allocations: 0.787 MB / 0.5896 GB, free: 21.72 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.3881, allocations: 51.97 kB / 0.5897 GB, free: 21.66 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.421e-05/0.3882, allocations: 116 kB / 0.5898 GB, free: 21.54 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.3882, allocations: 29.7 kB / 0.5898 GB, free: 21.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.859e-05/0.3882, allocations: 88.12 kB / 0.5899 GB, free: 21.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.3882, allocations: 31.55 kB / 0.5899 GB, free: 21.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.985e-05/0.3883, allocations: 25.7 kB / 0.59 GB, free: 21.35 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.596e-05/0.3883, allocations: 316 kB / 0.5903 GB, free: 21.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.3888, allocations: 100.5 kB / 0.5904 GB, free: 20.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003976/0.3892, allocations: 100.7 kB / 0.5905 GB, free: 20.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007763/0.3899, allocations: 195.1 kB / 0.5906 GB, free: 20.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.39, allocations: 0 / 0.5906 GB, free: 20.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0008658/0.3908, allocations: 247.5 kB / 0.5909 GB, free: 20.43 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.3909, allocations: 4 kB / 0.5909 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3909, allocations: 3.812 kB / 0.5909 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3909, allocations: 0 / 0.5909 GB, free: 20.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003001/0.3912, allocations: 51.94 kB / 0.5909 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.3912, allocations: 0 / 0.5909 GB, free: 20.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002236/0.3914, allocations: 38.86 kB / 0.591 GB, free: 20.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.276e-05/0.3915, allocations: 7.984 kB / 0.591 GB, free: 20.33 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 (9): * Single equations (assignments): 9 * 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 7.136e-05/0.3915, allocations: 125.7 kB / 0.5911 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.371e-05/0.3916, allocations: 7.906 kB / 0.5911 GB, free: 20.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.887e-05/0.3916, allocations: 8.375 kB / 0.5911 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.3916, allocations: 0 / 0.5911 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3916, allocations: 0 / 0.5911 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.474e-06/0.3916, allocations: 0 / 0.5911 GB, free: 20.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001533/0.3932, allocations: 0.5939 MB / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.3932, allocations: 0 / 0.5917 GB, free: 19.52 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002518/0.3934, allocations: 59.94 kB / 0.5918 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3935, allocations: 0 / 0.5918 GB, free: 19.46 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.3935, allocations: 15.92 kB / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.3935, allocations: 0.8281 kB / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.3935, allocations: 3.984 kB / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000866/0.3944, allocations: 344.8 kB / 0.5921 GB, free: 19.09 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.026e-05/0.3944, allocations: 85.02 kB / 0.5922 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.41e-05/0.3944, allocations: 4 kB / 0.5922 GB, free: 18.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002478/0.3947, allocations: 39.95 kB / 0.5922 GB, free: 18.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.456e-05/0.3947, allocations: 11.92 kB / 0.5922 GB, free: 18.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.3947, allocations: 4 kB / 0.5922 GB, free: 18.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.176e-05/0.3948, allocations: 95.45 kB / 0.5923 GB, free: 18.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3948, allocations: 0 / 0.5923 GB, free: 18.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002954/0.3951, allocations: 47.86 kB / 0.5924 GB, free: 18.79 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 (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.0001733/0.3953, allocations: 132.5 kB / 0.5925 GB, free: 18.65 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0008994/0.3962, allocations: 207.7 kB / 0.5927 GB, free: 18.45 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3962, allocations: 4 kB / 0.5927 GB, free: 18.44 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004319/0.3966, allocations: 112 kB / 0.5928 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3969, allocations: 6.031 kB / 0.5928 GB, free: 18.33 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.3984, allocations: 420.1 kB / 0.5932 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.846e-05/0.3985, allocations: 0.6893 MB / 0.5939 GB, free: 17.16 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.466e-05/0.3985, allocations: 27.41 kB / 0.5939 GB, free: 17.14 MB / 446.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3986, allocations: 0 / 0.5939 GB, free: 17.14 MB / 446.1 MB Notification: Performance of Templates: time 0.002656/0.4012, allocations: 1.432 MB / 0.5953 GB, free: 15.71 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.makefile (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.InverseXRegularized.pipe 2>&1)